3 ms·
Yikes! - you shouldn't have to do Set-ExecutionPolicy every time you start a shell. Something is definitely wrong there. Try doing a: Get-ExecutionPolicy -Lis
by JeffreySnover 10y ago
Yikes! - you shouldn't have to do Set-ExecutionPolicy every time you start a shell. Something is definitely wrong there.
Try doing a: Get-ExecutionPolicy -List
to see what is setting it.
Then use -SCOPE on Set-ExecutionPolicy.
BTW - I hear you on the "only chmod the scripts you want" - that is a nice benefit of the Unix model.
Jeffrey Snover [MSFT]