Skip to main content
Barracuda MSP Partner Toolkit

How to Enable PowerShell Scripting on Manged Devices

If you plan to use PowerShell scripts with Managed Workplace automation, you must ensure that the managed devices are able to execute them. This article outlines how to configure this execution through group policy or locally on each device. 

Configuration Using Group Policy

To configure the execution using group policy follow the steps below:

  1. Launch the Group Policy Management Editor for the Doman
  2. Browse to Computer Configuration > Administrative Templates > Windows Components Windows PowerShell
  3. Double click Turn on Script Execution
  4. Choose Enabled
  5. Under Options, choose Allow all scripts as the Execution Policy


  6. Select OK

Local Configuration

To Configure locally, please follow the steps below:

  1. From a command prompt, enter PowerShell by issuing the command powershell
  2. Determine the execution policy by issuing the command get-executionpolicy 
  3. The system will respond advising whether the policy is Restricted (Default) or Unrestricted
  4. To change Unrestricted, issue the command set-executionpolicy unrestricted


  • Was this article helpful?