Hi dylanand2-7592
You need to connect to the CM drive first, then you should be able to delete the device object.
- Open Configuration Manager PowerShell If you haven’t already, open PowerShell as Administrator
Import-Module ($env:SMS_ADMIN_UI_PATH + '\..\ConfigurationManager.psd1')
- Connect to the CM Site Identify your site code (e.g.,
XYZ
), then change the drive to the Configuration
(Replacecd XYZ:
XYZ
with your actual site code, e.g.,CDM
) - Run the
Remove-CMDevice
Command Now, execute the command:Remove-CMDevice -DeviceName "WIN11-086"
I sincerely hope that this will solve your challenge :)
Best regards
Jan