Set-ExecutionPolicy RemoteSigned PowerShell

In this post, I describe how to use PowerShell to set the PowerShell execution policy to RemoteSigned.

Screenshot of PowerShell showing Get-ExecutionPolicy RemoteSigned

Microsoft defines RemoteSigned as "Requires that all scripts and configuration files downloaded from the Internet are signed by a trusted publisher. The default execution policy for Windows server computers."


Resolution

To set the remote execution policy to RemoteSigned:

1. Open Windows PowerShell with Run as Administrator

Screenshot of Windows PowerShell Run as Administrator

2. Run the Set-ExecutionPolicy cmdlet:

Set-ExecutionPolicy RemoteSigned

Screenshot of PowerShell showing Set-ExecutionPolicy RemoteSigned

3. Press A for Yes to All

4. Verify the execution policy is RemoteSigned by running the Get-ExecutionPolicy cmdlet:

Get-ExecutionPolicy

Screenshot of PowerShell showing Get-ExecutionPolicy RemoteSigned


Related Posts

- Microsoft Set-ExecutionPolicy reference page

Test WMI Query Connection PowerShell

Comments

Popular posts from this blog

LG TV This app will now restart to free up more memory

LG TV Clear All Browsing History Data

LG TV turn off Quick Start in settings