docs(win): update elevated privileges error message

This commit is contained in:
AJ ONeal
2022-01-26 07:59:58 +00:00
parent 180758d50b
commit bd0867f478

View File

@@ -11,7 +11,7 @@ function Confirm-IsElevated {
}
if (Confirm-IsElevated)
{ throw "Please run script NOT as administrator" }
{ throw "Webi MUST NOT be run with elevated privileges. Please run again as a normal user, NOT as administrator." }
# this allows us to call ps1 files, which allows us to have spaces in filenames
# ('powershell "$Env:USERPROFILE\test.ps1" foo' will fail if it has a space in