Ensure scripts are elevated

This commit is contained in:
2024-08-06 18:39:36 +01:00
parent 4e6bad8ebe
commit 62bbdb728e
2 changed files with 32 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#Requires -RunAsAdministrator
$RemoteURL = $args[0]
$StagingDir = $PSScriptRoot
Write-Host $RemoteURL
#Disable progress bars to make Invoke-WebRequest actually fast
$ProgressPreference = 'SilentlyContinue'