Delete multiple collections from SCCM using powershell
Question
Does any one have powershell script to delete the listed collection in text file from SCCM.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Does any one have powershell script to delete the listed collection in text file from SCCM.
Answers ( 3 )
Few more microsoft docs available for your request
https://docs.microsoft.com/en-us/powershell/module/configurationmanager/remove-cmdevicecollectiondirectmembershiprule?view=sccm-ps
https://docs.microsoft.com/en-us/powershell/module/configurationmanager/remove-cmcollection?view=sccm-ps
Hello Srishti, Could you please try this by modifying http://sccmcenter.com/powershell-delete-mutiple-sccm-devices-sccm/
Note – Please test the scripts in Test Environment before directly applying to Production.
Delete SCCM Collections Listed in File – https://gallery.technet.microsoft.com/Delete-SCCM-Collections-df6dbe49