Skip to content

Instantly share code, notes, and snippets.

View Azio0's full-sized avatar
:octocat:
Being a Octocat

Brad Azio0

:octocat:
Being a Octocat
View GitHub Profile
Connect-Entra -Scopes 'Directory.AccessAsUser.All', 'Device.ReadWrite.All'
>> $device = Get-EntraDevice -Filter "DisplayName eq 'DEVICE_NAME'"
>> Remove-EntraDevice -DeviceId $device.Id