Get the current execution policy for the shell.
Syntax
Get-ExecutionPolicy [CommonParameters]
Key
CommonParameters:
-Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable.
Example
Get the current execution policy for the shell:
PS C:\>get-executionpolicy
#Run baby run baby run baby run, Baby run# - Sheryl Crow
Related Powershell Commands:
Set-ExecutionPolicy - Change the execution policy (user preference)
Set-AuthenticodeSignature - Place a signature in a powershell script or other file
about_signing