Bulk Delete via Rest invoke in Poweshell

Occasional Visitor

Hi All,


I am using the below rest method from PowerShell to delete the ID (123) and it is working ,now i have 100 + ids ,how can delete all the 100+ ID 's one by one automatically one after other.Kindly suggest 


Invoke-RestMethod -Uri '' -Method Delete -ContentType "application/xml" -Credential username

1 Reply