Update 8x8_Work_Updater.ps1
This commit is contained in:
@@ -11,6 +11,11 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Load required .NET assemblies for Windows PowerShell 5.1
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
Add-Type -AssemblyName System.Drawing
|
||||
Add-Type -AssemblyName System.Net.Http
|
||||
|
||||
# Use C:\ProgramData\ so standard users have full read/execute access
|
||||
$workDir = "C:\ProgramData\JCT600_8x8Update"
|
||||
$flagFile = Join-Path $workDir "8x8_Update_Proceed.flag"
|
||||
|
||||
Reference in New Issue
Block a user