top of page
  • Writer's pictureGareth Oxendine

Set the PowerShell Execution Policy using an Intune Configuration Profile

Updated: Jul 21

You can use an Intune configuration profile to set the PowerShell execution policy on your enrolled Windows devices. Having the ability to set the PowerShell execution policy is crucial for security purposes; it also allows you to be able to use Intune to deploy PowerShell scripts (remember that the default policy on Windows client devices is Restricted meaning that scripts cannot run; use the steps below to change the policy to allow scripts run).


Steps to Create the Configuration Profile

Part 1

Creating an Administrative Template Configuration Profile in Intune.
Creating an Administrative Template Configuration Profile
  • Open the Endpoint Manager (Intune) portal.

  • Select Devices in the left-hand menu blade.

  • Select Windows > Configuration Profiles.

  • Select + Create > + New Policy (See Figure 1 above).

    • Platform: Windows 10 and later

    • Profile type: Templates > Administrative Templates

  • Select Create.


Part 2

Adding a Name and Description to a Configuration Profile in Intune.
Adding a Name and Description
  • Under the Basics tab, input a name and optionally, a description.


Part 3

Searching for the PowerShell script execution setting under Administrative Templates.
Searching for the PowerShell script execution
  • Under the Configuration settings tab, complete the following steps:

    • Select All Settings in the left-hand navigation pane.

    • Search for script execution.

    • Select Turn on Script Execution for either the User context, Device context, or both.

    • Select the bubble next to Enabled, to enable the configuration and then choose which policy from the dropdown menu (ex. Allow only signed scripts).

  • Select Next and continue through the rest of the prompts to scope, assign, and finalize the creation of the configuration policy.





231 views0 comments

댓글


Recent Posts

Like this Article?

If this information was helpful, we want to know!

Leave a like by clicking the heart at the bottom of the page. 

Next Coffee on You?

We hope this article was helpful to you! If so, want to send a donation as a form of thanks? Just click the coffee cup!  :)

bottom of page