Month: July 2016

New Features in SCOM 2016 – Maintenance Schedules

One very common request I always get with my SCOM 2012 customers is, “how can I put machines into Maintenance Mode for a future date?”

My response is, well, with some PowerShell and the Windows Task Scheduler, you can achieve this.  But wait, looks like the System Center/SCOM 2016 team has listened and delivered! Introducing ‘Maintenance Schedules‘.

Now SCOM administrators can put a machine, or a group of machines, or a group into Maintenance Mode (MM) for a future date. Even better, it looks like a lot (if not all) of the functionality has been taken from good old Windows Task Scheduler. What that means is, you can put machines into MM, for that Friday night/Saturday morning Change Request, or even better MM for reoccurring schedule, like Patch Tuesday.

In the example below, I am going to do a quick walk-through for a group of machines for a typical patching schedule.


For this scenario, let’s assume the following:

  1. Machines are patched every 3rd Friday of the month,
  2. Blackout/maintenance window is 6 hours (360 minutes),
  3. Scheduled MM will start @11:00PM.

1

  • Right click either on Maintenance Schedules, or within the middle pane.

2

  • As a rule of thumb, always a good idea to select the second (default) option here, “selected objects and all their contained objects.

3

  • Search for the machine(s) or the group(s) you want to enter into Maintenance Mode

4

  • Once you’re happy, go ahead and hit next

5

  • Next we are presented with an array of options. As per our example, we will be putting our machines in MM every 3rd Friday of the month, starting at 11:00PM, for 6 hours.

6

  • Now we’re ready

7

  • Now we need to provide a name to our MM Schedule… By default, ‘Planned’ and ‘Enable Schedule’ are ticked off. Go ahead and hit finish!

8

  • Now we can see our new Scheduled Maintenance Mode schedule! 🙂

As you can see here, for a SCOM Administrator, you can see which user create this task and also to see if it is enabled at the current time

9

  • You can also Edit, Copy, or Disable the schedule. Looks like I just discovered a bug! Also, disabling is not provided here, but it is within the Action pane:

10

11

  • And that is it!

If the schedule was done correctly, you will see the Event ID 1215 within the SCOM Management Server.

12

I hope this helped!

Happy SCOM’ing 2016!!