Skip to content

Execution Policy for running BurntToast: best practice #108

Closed Locked Answered by Windos
Kallahan23 asked this question in General
Discussion options

You must be logged in to vote

Welcome to PowerShell (and by extension Execution Policies). They are the first hurdle many, many, people run into with PowerShell.

By default on Windows 10 (at least Windows PowerShell, I need to double check with the open source variants on Windows) the execution policy is set to Restricted and the first time you go to run almost anything (that didn't ship with Windows) you'll hit the same error message you got.

On Windows server the default is RemoteSigned and on non-Windows platforms it's Unrestricted.

One thing that's important to know: Execution Policies aren't a Security Feature (Also see this tweet)

Personally, the first thing I do on all new Windows 10 machines I touch is set the…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Windos
Comment options

Comment options

You must be logged in to vote
1 reply
@Kallahan23
Comment options

Answer selected by Kallahan23
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants