Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Scope specified more than once (powershell) #149

Open
mflux opened this issue Sep 15, 2019 · 0 comments
Open

Scope specified more than once (powershell) #149

mflux opened this issue Sep 15, 2019 · 0 comments

Comments

@mflux
Copy link

mflux commented Sep 15, 2019

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant