Open dm18 opened 1 year ago
After using Set-ExecutionPolicy Unrestricted -Force how do you reset Set-ExecutionPolicy to defaults?
Get-ExecutionPolicy -List
Scope ExecutionPolicy ----- ---------------
MachinePolicy Undefined UserPolicy Undefined Process Undefined CurrentUser Undefined LocalMachine Undefined
but what should these be set back to?
LocalMachine
See here.
The Set-ExecutionPolicy cmdlet's default scope is LocalMachine, which affects everyone who uses the computer
After using Set-ExecutionPolicy Unrestricted -Force how do you reset Set-ExecutionPolicy to defaults?
Get-ExecutionPolicy -List
MachinePolicy Undefined UserPolicy Undefined Process Undefined CurrentUser Undefined LocalMachine Undefined
but what should these be set back to?