I am a lazy guy and whenever possible I try to automate things using PowerShell scripts or System Center Orchestrator runbooks. If you work with Service Manager you know that lots of tasks can be automated by using PowerShell cmdlets that are somewhere stored in PowerShell modules. For Service Manager you have 2 PowerShell modules available: either you can use the Service Manager PowerShell module that is delivered with the Service Manager console or you can use the smlets PowerShell module that you can download from the codeplex web site. One cool thing to automate is the enabling and disabling of workflow and notification subscriptions. Why? When you add new workflows or subscriptions that replace others, it can be very challenging to find a good timing. Imaging you have 50 workflows that need to be replaced. You would have to create 50 new workflows, disable all 50 old workflows and enable all 50 new workflows. The goal is to minimize the impact on the running infrastructure. Very challenging in a 7×24 environment. By using scripts this becomes easy as 1-2-3 and is of course also much faster than using the Service Manager console.
Follow Me



Search
Categories
- Azure (65)
- DevOps (24)
- Events/Speaking (49)
- Exams/Awards (12)
- General (1)
- SCSM (112)
- Security (3)
- System Center (without SCSM) (26)