Clean-up/deletion of test IRs
-
13 มิถุนายน 2555 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
ตอบทั้งหมด
-
13 มิถุนายน 2555 14:40ผู้ดูแล
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
- เสนอเป็นคำตอบโดย Andreas BaumgartenMVP, Moderator 13 มิถุนายน 2555 21:04
- ทำเครื่องหมายเป็นคำตอบโดย Andreas BaumgartenMVP, Moderator 5 ตุลาคม 2555 20:13
-
13 มิถุนายน 2555 21:08ผู้ดูแล
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
- ทำเครื่องหมายเป็นคำตอบโดย Andreas BaumgartenMVP, Moderator 5 ตุลาคม 2555 20:13