Jun 24, 2020 · I opened an issue with Microsoft on this get-MgDeviceManagementManagedDevice. Thank goodness your script returns an error if more than one is found or else I’d be
To view the beta release of this cmdlet, view Clear-MgBetaDeviceManagementManagedDevice. -ManagedDeviceId [-ResponseHeadersVariable ] [-AdditionalProperties
Mar 17, 2020 · To make this a bit easier, I wrote the following PowerShell script. You simply enter the device name and it’ll go and search for that device in any of the above l
May 14, 2023 · In this post we will see an easy and convenient way to remove devices’ records from Intune, Autopilot and Entra Id using a simple PowerShell script.
Delete navigation property managedDevices for deviceManagement. To view the beta release of this cmdlet, view Remove-MgBetaDeviceManagementManagedDevice. [-ResponseHeadersVariable
Today I was notified we have some duplicate devices in our Intune environment. As it turns out, devices are not always reset correctly before reimaging and this means a few devices
Jul 6, 2025 · In this post, we’ll walk through a concise PowerShell script that uses Connect-MgGraph, queries managed devices via Get-MgDeviceManagementManagedDevice, and invoke
Feb 13, 2026 · Instead of asking you to copy Object IDs and run Remove-MgDevice commands manually, you get a ready-to-review script with everything disabled by default. It covers