Manage your Windows 10 devices via PowerShell and Microsoft Intune

A big wish of the community and companies using Microsoft Intune was the ability to manage Windows 10 devices that are managed with Microsoft Intune via PowerShell. Since the MDM channel is not supporting deployment and the execution of PowerShell scripts, Microsoft announced today at Ignite the Microsoft Intune Management Extension.

Meet the Microsoft Intune Management Extension

The Microsoft Intune Management Extension is an addition to the current Windows 10 MDM capabilities and allows us now to deploy and execute PowerShell scripts. The Microsoft Intune Management Extension is automatically deployed and installed on Azure AD joined devices. The Microsoft Intune Management Extension is only supported on Azure AD joined devices.

PowerShell in Microsoft Intune

When browsing in the Intune on Azure portal to Device Configuration you will see (in the near future) a new node PowerShell scripts. In this node you can add your PowerShell scripts that you want to deploy and execute on your Windows 10 devices. A new way to alter settings or configurations via PowerShell on your devices, which is awesome if you ask me!

Adding a PowerShell script

I have just created a “hello world” PowerShell script that can be added via the Intune on Azure portal. You can add the PS1 file to Intune and configure how it is executed!

After uploading the script you can configure if the script news to use the logged on credentials or not and if a script needs to be signed, or not.

End User Experience

The script is executed automatically and in this case the users sees a message, but basically you can run any script and alter the configuration of the system.

Before executing the PowerShell script, the Microsoft Intune Management Extension is automatically installed. The user wont see anything about this but when looking at the Programs and Features you will see the Microsoft Intune Management Extensions installed.

Conclusion

This new feature is a nice addition when managing Windows 10 devices via Modern Management, but using the PowerShell script feature must be used with care, with PowerShell you can do powerful things on devices for the good and bad. The PowerShell scripts feature of Microsoft Intune allows you to run scripts, if you want to need more Windows 10 management options, have a look at the co-management solution which was also announced today at Ignite. With co-management you are able to pick and choose the management features (cherries) of Configuration Manager and Microsoft Intune for your needs. Smile

This new PowerShell Scripts functionality will be available before the end of October in your Intune tenant!

 

 

By | 2017-09-26T02:35:29+00:00 September 26th, 2017|Automation, Enterprise Mobility Suite (EMS), Powershell|0 Comments

About the Author:

Peter Daalmans
Peter is a Senior Consultant and global lead for Enterprise Mobility within CTGlobal. Peter is also Enterprise Mobility (Configuration Manager/Microsoft Intune/Enterprise Mobility Suite) MVP with a primary focus on the Enterprise Client Management and Enterprise Mobility. Peter blogs normally on https://ems.world

Leave A Comment