[Script Of Jan. 30] How to configure PowerShell execution policy using PowerShell DSC

image

Jan.

30

image

image

Script Download:   
The script is available for download from https://gallery.technet.microsoft.com//How-to-configure-492a9aff.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

This script shows how to configure PowerShell execution policy using PowerShell DSC feature.

PowerShell has a number of execution modes that define what type of code it is permitted to run. IT admins want to set an appropriate specified execution policy to each machine. This script can help admins to leverage PowerShell DSC feature to achieve this.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery