1
General Software Discussion / intune device management + powershell
« on: April 25, 2023, 08:28 PM »
hoping someone here can help out 
I have a few hundred devices that I need to retire + delete from intune but the portal doesn't cater for bulk deletions.
I've been googling solutions and it appears it can be done via powershell, but none of the scripts (or the associated 'explanations') I've found are particularly helpful
I'm not familiar with powershell, but I can understand the intent of the commands (its plain english, not rocket surgery!). Trouble is I can't understand why they're not working (presumably there's some component or action thats assumed by the authors but not stated)
TIA

I have a few hundred devices that I need to retire + delete from intune but the portal doesn't cater for bulk deletions.
I've been googling solutions and it appears it can be done via powershell, but none of the scripts (or the associated 'explanations') I've found are particularly helpful
I'm not familiar with powershell, but I can understand the intent of the commands (its plain english, not rocket surgery!). Trouble is I can't understand why they're not working (presumably there's some component or action thats assumed by the authors but not stated)
TIA