This DSC Resources can change the user preference for the Windows PowerShell execution policy.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name xPowerShellExecutionPolicy -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


OneScript Team


(c) 2014 Microsoft Corporation. All rights reserved.

Version History

Version Downloads Last updated 2,638,322 7/25/2018 18,880,172 6/13/2018 790,295 12/20/2017 (current version) 672,272 2/3/2016
1.0.0 1,605 12/18/2014