PowerShell Security Features

PowerShell offers you three basic security features :

  • .Ps1 extension can not be run by double-clicking.And this extension is not registered with Microsoft Windows as an executable file type
  • Prevent you from command hijacking.I mean if you call a script as “Script.ps1” it will not executed even it is located in the current directory.


  • There is a policy called Execution Policy.İt determines which scripts are permitted to run.And by default it’s set to Restricted.If you want to execute scripts for your environment you must set it to unrestricted or remotesigned.

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 6 =