Scope specified more than once (powershell)
mflux opened this issue · 0 comments
mflux commented
Following the command on the readme gives me this error:
PS C:\WINDOWS\system32> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -ForceSet-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
Set-ExecutionPolicy : Cannot bind parameter because parameter 'Scope' is specified more than once. To provide multiple
values to parameters that can accept multiple values, use the array syntax. For example, "-parameter
value1,value2,value3".
At line:1 char:92
+ ... ope CurrentUser -ForceSet-ExecutionPolicy Unrestricted -Scope Current ...
+ ~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-ExecutionPolicy], ParameterBindingException
+ FullyQualifiedErrorId : ParameterAlreadyBound,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand