top of page
Writer's pictureGareth Oxendine

Set the PowerShell Execution Policy using an Intune Configuration Profile

Updated: Oct 14, 2024

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.





596 views0 comments

Related Posts

See All

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. 

Follow us on LinkedIn!

We'd like to invite you to follow us on LinkedIn! Click the icon to follow.

Never Miss a Post. Subscribe Now!

Want to be notified whenever a new article is posted? Enter your email address and subscribe!

Thanks for submitting!

Donate to the Blog?

We hope the blog was helpful to you! If so, we'll take a donation as a form of thanks! :) 

© 2024 by DMTT. Powered and secured by Wix

$

Thank you for your donation!

bottom of page