Pluralsight blog Where devs, IT admins & creative pros go for news, tips, videos and more.
Pluralsight + Digital-Tutors - 3,000 tech & creative courses - starting at $29/month Get it now →
June 14, 2013

PowerShell crash course: Introduction to scripting security

By

Check out this quick scripting overview from our PowerShell 3.0 Essentials training because when it comes to script security, you’ll need to know how and to use and set up execution policy.

Execution policy

Execution policy focuses on unintended or accidental script execution. However, it does not prevent bad commands from being entered interactively by multiple users; if you have permissions, priveleges and a prompt, PowerShell will do what you tell it to do. So really, PowerShell security settings are like covers on a launch switch for scripts.

  • Script execution policy is disabled by default.
  • Execution policies can be set by scope.
  • Get-ExecutionPolicy displays current policy, and Set-ExecutionPolicy configures policy.
  • You can also use group policy.

Interested in learning more about PowerShell? See our PowerShell v3 New Features course, and get access to over 200 courses when you sign up for a free 3-day trial.

About the Author

is a web editor for TrainSignal curating breaking IT news and serving up the latest free videos and tutorials on the blog. He’s an unashamed music junkie and if a coffee I.V. is ever invented, it’s probably safer that you don’t let him find out. Follow @thechriscore for cool news and stories, and happenings at TrainSignal HQ.

Author's Website: https://twitter.com/thechriscore


Discussion