Need to delete specific 200 devices from Intune


Hi Experts ,

I need to delete specific windows devices from Intune , Can you please help me with the PowerShell script to perform this activity.

Example : We will give the device name in the csv and then script will help us to delete the device.



solved 0
Ketan Kamble 2020-11-03T11:40:58+05:30 2 Answers 719 views Beginner 0

Answers ( 2 )


    Issue Solved : Used script from link :

    — Ran the script with below modification m given list of devices with below script :
    $computer_list = Import-Csv “C:\temp\Script_test.csv”
    foreach ($computer in $computer_list)
    .\Delete-AutopilotedDeviceRecords.ps1 -ComputerName $($computer.ComputerName) -Intune

    Best answer

Leave an answer

Sorry, you do not have a permission to answer to this question .