Powershell Execution Policies
Microsoft's documentation for Powershell execution policies can be found here: about Execution Policies - PowerShell | Microsoft Learn The most common scenario where you are forced to learn about execution policies is when you have a really cool Powershell script that you want to run. Perhaps that script was downloaded from somewhere (dodgy) on the Internet. You excitedly fire off the script and run into this screenshot: Zoinks! What are these pesky execution policies and why won't they let you run your script? Execution policies are designed to prevent users from unexpectedly running malicious Powershell scripts from the Internet or other shady sources. There are different setting with varying levels of restriction. However, the default execution policy for a Windows workstation is set to "Restricted'. That setting will actually prevent all Powershell scripts from running. That includes scripts you write yourself! If you want complete freedom to run all scripts, th...