Book Image

Mastering Microsoft Endpoint Manager

By : Christiaan Brinkhoff, Per Larsen
5 (1)
Book Image

Mastering Microsoft Endpoint Manager

5 (1)
By: Christiaan Brinkhoff, Per Larsen

Overview of this book

Microsoft Modern Workplace solutions can simplify the management layer of your environment remarkably if you take the time to understand and implement them. With this book, you’ll learn everything you need to know to make the shift to Modern Workplace, running Windows 10, Windows 11, or Windows 365. Mastering Microsoft Endpoint Manager explains various concepts in detail to give you the clarity to plan how to use Microsoft Endpoint Manager (MEM) and eliminate potential migration challenges beforehand. You'll get to grips with using new services such as Windows 365 Cloud PC, Windows Autopilot, profile management, monitoring and analytics, and Universal Print. The book will take you through the latest features and new Microsoft cloud services to help you to get to grips with the fundamentals of MEM and understand which services you can manage. Whether you are talking about physical or cloud endpoints—it’s all covered. By the end of the book, you'll be able to set up MEM and use it to run Windows 10, Windows 11, and Windows 365 efficiently.
Table of Contents (24 chapters)
1
Section 1: Understanding the Basics
4
Section 2: Windows 365
7
Section 3: Mastering Microsoft Endpoint Manager
19
Section 4: Tips and Tricks from the Field

Pushing PowerShell scripts – scripted actions to endpoints

If there is no policy for the configuration change that you need to make on your corporate devices, you can leverage PowerShell scripts in Microsoft Intune. This is also a good way of publishing one-time installations or custom scripted actions to both your physical and cloud endpoints:

  1. In the Microsoft Endpoint Manager admin center, browse to Home | Devices | Windows | PowerShell scripts and click Add:

    Figure 10.43 – PowerShell scripts

  2. Click Select a file to upload your PowerShell script to Microsoft Intune:

    Important Note

    Make sure to select Run script on the 64-bit PowerShell host for the right registry location.

Figure 10.44 – Uploading a PowerShell script

Assign the script to the user or device groups. The script will then run once on each assigned device. Here are some script examples:

  • Enable Reserved Storage:
    $Storage = Invoke-Command {DISM /Online ...