Update Functions Scripts/Functions.ps1
This commit is contained in:
@@ -24,24 +24,14 @@ Param(
|
||||
[Parameter(Mandatory = $false)]
|
||||
$EPCache_File_Location = $ENV:EPCacheSite + '\' + $EPCache_Folder + '\' + $File_Name,
|
||||
[Parameter(Mandatory = $false)]
|
||||
$EPCacheLocal = "$Env:windir\NCentral\Cache",
|
||||
$EPCacheLocal = "C:\Temp\Script Cache",
|
||||
[Parameter(Mandatory = $false)]
|
||||
$Global:EPCacheLocalLocation = $ENV:EPCacheLocal + '\' + $File_Name
|
||||
)
|
||||
|
||||
# Variables #
|
||||
|
||||
#things that go in other scripts
|
||||
|
||||
#Variables for downloading from MoveIT
|
||||
#$App_Name = ""
|
||||
#$Install_Parameters = ""
|
||||
#$File_Hash = ""
|
||||
#$File_Name = "CitrixWorkspaceFullInstaller2405.exe"
|
||||
#$EPCache_Folder = "either software or 3rd party patches"
|
||||
#$MoveIT_File = ""
|
||||
|
||||
#Variables for downloading from Online
|
||||
|
||||
#$App_Name = ""
|
||||
#$File_Name_Prefix = ""
|
||||
#$File_Name_Extension = ""
|
||||
@@ -53,16 +43,10 @@ Param(
|
||||
#$DownloadURL = "$Version_URL" + "$Program"
|
||||
#$File_Name = "$File_Name_Prefix-$Online_Version.$File_Name_Extension"
|
||||
|
||||
#Remove folder variables
|
||||
#$User_Folder = "C:\Users\$($User)\AppData\Local\Mozilla"
|
||||
#$User_Folder2 = "C:\Users\$($User)\AppData\Roaming\Mozilla"
|
||||
#$Program_Folder = "C:\Program Files\Mozilla Firefox"
|
||||
#$Program_Folder2 = "C:\Program Files (x86)\Mozilla Firefox"
|
||||
|
||||
#If ((Test-Path "$Env:windir\NCentral\Cache") -eq $False) { New-Item -ItemType directory -Path "$Env:windir\NCentral\Cache" }
|
||||
#Invoke-WebRequest -UseBasicParsing "https://scripts.gabesville.com/Gabesville/Powershell-Scripts/raw/branch/main/Functions%20Scripts/Functions.ps1" -outfile "$Env:windir\NCentral\Cache\Functions.ps1"
|
||||
#. "C:\Windows\NCentral\Cache\Functions.ps1"
|
||||
|
||||
#If ((Test-Path "C:\Temp\Script Cache") -eq $False) { New-Item -ItemType directory -Path "C:\Temp\Script Cache" }
|
||||
#Invoke-WebRequest -UseBasicParsing "https://scripts.gabesville.com/Gabesville/Powershell-Scripts/raw/branch/main/Functions%20Scripts/Functions.ps1" -outfile "C:\Temp\Script Cache\Functions.ps1"
|
||||
#. "C:\Temp\Script Cache\Functions.ps1"
|
||||
|
||||
#Region Functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user