You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2021. It is now read-only.
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I only installed PowerShell-7.1.3-win-x64.msi.
Unrestricted current user failed
I have set both local machine and current user to unrestricted but it keeps returning the error message Scripts cannot be executed on this system. It’s been fixed when I ran the Set-ExecutionPolicy Unrestricted -Force -scope Process command.
Working Policy on my system
Then I tried to run the npm-windows-upgrade command with this policy only :