This script will create Maintenace Windows in Configuration Manager 2012 (or 2007).
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).
For usage and examples write:
get-help .\New-CMMaintenanceWindow 1.0.ps1 -full