Enable execution of PowerShell scripts in Windows

When you write a powershell script on your own, or download scripts from the Internet you will not be able to execute them on your computer. This is by design and implementation of PowerShell in Windows. To overcome this, you can run PowerShell as an Administrator, or

  1. Start PowerShell as an Administrator
  2. Execute the following command:
    1. Answer “Y” and you should get a following output

After executing above command, you will be able to run unsigned scripts written on you local computer. In addition you will be able to run signed scripts from the Internet.
More info about running PowerShell scripts here

By |2017-03-12T19:46:33+00:00April 14th, 2016|Errors and fixes, Powershell|1 Comment

About the Author:

I am passionate about Systems Administration. I like to face new challenges and test new environments.Windows and Linux Debian boxes (both physical and virtual) are my favourites. I like solving problems related to Windows Server roles and services as well as Linux but some distributions in particular. I'm not considering myself as Linux master but surely, I always do my best to fit the needs. On the other hand I consider myself as a Windows Server Professional and in terms of WS and Windows Desktops I always follow best practices, good advices and opinions from other admins.

One Comment

  1. Ty January 13, 2019 at 01:16 - Reply

    My computer is hacked and I ran across this in admin windows powershell can you assit me in getting my computer back

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.