You want to create and assign maintenance windows to collection
You will need to first create a schedule using
New-CMSchedule after that you can use Get-CMDeviceCollection to get the collection name or use a text entry or file. To end you will use New-CMMaintenanceWindow
Good info here:
http://blog.coretech.dk/kaj/create-maintenance-windows-with-configuration-manager-
http://www.david-obrien.net/2013/04/how-to-create-configmgr-collection-maintenance-windows-powershell/
https://gallery.technet.microsoft.com/scriptcenter/Setting-Maintenance-71f47c77
-
Edited by
Frederick Dicaire
18 hours 42 minutes ago