Chapter 5. Scenario-based Scripting for SCOM Administration
The last chapter provided a basic understanding of how to manage System Center Operations Manager (SCOM) operations through PowerShell. Now, it's time to look at some of the real-time scenarios that will give us a better understanding of how to use PowerShell to carry out some of the day-to-day SCOM activities. Here, we are trying to cover most of the common scenarios that we, as administrators, would need to perform on a daily basis. We can still do much more than what is covered in this chapter.
Note
The code blocks demonstrated in this chapter will not include error-handling mechanisms. When using code in real-time scenarios, it is very important to include error-handling mechanisms to avoid errors.
For a better understanding of the following code blocks, you can try them out in your lab environment and analyze the output. Try to modify the output according to your requirements. This will give you the confidence...