diff --git a/Scripts/Install-Service.ps1 b/Scripts/Install-Service.ps1 index e79b91b0812ead2296a1406071e06e011a69bfff..d7e5d856c429321f3f37563acab56424732ee1a3 100644 --- a/Scripts/Install-Service.ps1 +++ b/Scripts/Install-Service.ps1 @@ -1,4 +1,8 @@ +# helper script to install the AutoTx service on a computer +# set our requirements: +#Requires -version 5.1 +#Requires -RunAsAdministrator function Start-MyService { diff --git a/Scripts/Make-Package.ps1 b/Scripts/Make-Package.ps1 index a561ab0b312233484a2e4e58cbde11e6b371b33a..f6bda7da8a1c1af0aa6e5c475c3918db079150ab 100644 --- a/Scripts/Make-Package.ps1 +++ b/Scripts/Make-Package.ps1 @@ -1,3 +1,9 @@ +# helper script to create a package from an AutoTx build that can be used from +# the included "Install-Service.ps1" script as well as with the AutoTx-Updater + +# set our requirements: +#Requires -version 5.1 + $ResourceDir = "..\Resources" diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1 index 044f52239d2a700d2b49f791760205feb359ae28..7a6ec29792c93ca691eaaa811c9b2ca7c2a7ab90 100644 --- a/Updater/Update-Service.ps1 +++ b/Updater/Update-Service.ps1 @@ -1,8 +1,9 @@ # Script to be run by the task scheduler for automatic updates of the AutoTx # service binaries and / or configuration file. -# Testing has been done on PowerShell 5.1 only, so we set this as a requirement: -#requires -version 5.1 +# set our requirements: +#Requires -version 5.1 +#Requires -RunAsAdministrator [CmdletBinding()]