Created
February 21, 2025 12:55
-
-
Save Azio0/fd5d98969acccc66a1e6221ee4a5cad9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connect-Entra -Scopes 'Directory.AccessAsUser.All', 'Device.ReadWrite.All' | |
>> $device = Get-EntraDevice -Filter "DisplayName eq 'DEVICE_NAME'" | |
>> Remove-EntraDevice -DeviceId $device.Id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment