Check for a powershell version >= 3
This commit is contained in:
parent
bc310ff216
commit
d562398bff
7
make.ps1
7
make.ps1
@ -233,6 +233,13 @@ function ParseConfigFile($fileName)
|
||||
###############################################################
|
||||
############################ Main #############################
|
||||
###############################################################
|
||||
if ($PSVersionTable.PSVersion.Major -clt 3)
|
||||
{
|
||||
echo "The makefile requires Powershell version 3 or higher."
|
||||
echo "Please download and install the latest Windows Management Framework version from Microsoft."
|
||||
WaitForInput
|
||||
}
|
||||
|
||||
if ($args.Length -eq 0)
|
||||
{
|
||||
echo "Command list:"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user