i am the funny
 

 I AM THE FUNNY!!!

Well, first things first. Lets talk about enabling PowerShell... actually lets make sure everyone knows what PowerShell is.

A shell can be command-line based or it can include a graphical user interface (GUI). Windows PowerShell is a shell developed by Microsoft for purposes of task automation and configuration management. This powerful shell is based on the .NET framework and it includes a command-line shell and a scripting language.

Makes total sense right? In short, you can use PowerShell scripts to perform functions in Windows for you. But do do that, it needs to be enabled on your system. Firstly, lets check if it is enabled, and to do that we need to open powersehll.

  1. Go to the start menu and type in 'PowerShell'
  2. Right click and choose 'Run as Administrator' (If you need to change this setting you need to have admin privs)
  3. Type 'Get-ExecutionPolicy'
    If it comes back as 'RemoteSigned' then you don't need to do anything. If it comes back as anything else, proceed to the next step.
  4. Type 'Set-ExecutionPolicy RemoteSigned' and press enter

You should now be able to run PowerShell scripts on your computer.


Some additional information about the types of execution policy, they determine which Windows PowerShell scripts (if any) will be allowed to run on your computer. Windows PowerShell has four different execution policies:

  • Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.
  • AllSigned - Only scripts signed by a trusted publisher can be run.
  • RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.
  • Unrestricted - No restrictions; all Windows PowerShell scripts can be run.