Clean-up/deletion of test IRs
-
mercredi 13 juin 2012 14:19We are getting ready to go live with SCSM 2012 and would like to start off clean by deleting the test IRs that were created...possible ? how ? thanks
Kevin C
Toutes les réponses
-
mercredi 13 juin 2012 14:40Modérateur
Hey
Check out Travis article here --> http://blogs.technet.com/b/servicemanager/archive/2009/12/17/deleting-objects-in-bulk-in-the-cmdb-using-powershell.aspx
regards
MarcelSCSMfaq // Blog --> http://blog.scsmfaq.ch // Twitter --> #scsmfaq // Business --> http://www.itnetx.ch
- Proposé comme réponse Andreas BaumgartenMVP, Moderator mercredi 13 juin 2012 21:04
- Marqué comme réponse Andreas BaumgartenMVP, Moderator vendredi 5 octobre 2012 20:13
-
mercredi 13 juin 2012 21:08Modérateur
Sometimes the option "-Force" is helpful:
Import-Module SMlets Get-SCSMObject –Class (Get-SCSMClass –Name System.WorkItem.Incident$) –Filter “Title –eq ‘something’”| Remove–SCSMObject –Force
Andreas Baumgarten | H&D International Group
- Marqué comme réponse Andreas BaumgartenMVP, Moderator vendredi 5 octobre 2012 20:13

