New-CMMaintenanceWindow v1.3

Rating: No reviews yet
Downloads: 67
Released: Jan 20, 2017
Updated: Jan 20, 2017 by mattben
Dev status: Stable Help Icon

Recommended Download

Application New-CMMaintenanceWindow v1.3
application, 4K, uploaded Jan 20 - 67 downloads

Release Notes

This script will create Maintenace Windows in Configuration Manager.

It will create a non-reoccuring Maintenace Window with the specified options.
There is also an option to create Maintenace Windows based on "Patch Tuesday" or with an offset of days from "Patch Tuesday". This is useful when for example second Thursday of a month occurs before second Tuesday (see may 2013 as an example).

v1.1 Added switch -IsGMT, if used it will set the "UTC" option in the Maintenance Window.
v1.2 Rewrote part of the code to solve issues when UTC conversion messed up the time and calculation of patchtuesday.
v1.3 Added a parameter for setting which Maintenance Window type to set, the parameter is called "-swtype" and valid options are General, Updates and OSD.

For usage and examples write:
get-help .\New-CMMaintenanceWindow.ps1 -full

(If get-help does not work try and copy the content of the file into a empty file, there seems to be an issue where get-help does not work on scripts downloaded from the internet due to the files beeing marked as "untrusted")

Reviews for this release

No reviews yet for this release.