From bc4277d5d9e679cd385dbcf87217a198d3966b62 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 8 Dec 2017 12:22:13 +0100 Subject: [PATCH] Require minimal PowerShell version to run. Refers to #13 --- AutoTx/Resources/Update-AutoTxService.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AutoTx/Resources/Update-AutoTxService.ps1 b/AutoTx/Resources/Update-AutoTxService.ps1 index d574649..2c11a24 100644 --- a/AutoTx/Resources/Update-AutoTxService.ps1 +++ b/AutoTx/Resources/Update-AutoTxService.ps1 @@ -1,6 +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 + [CmdletBinding()] Param( -- GitLab