web analytics

Blog

REPORT: List Collections Maintenance Windows date/time

Posted by:

To create Collections Maintenance Windows date/time report:

  1. Download & Unzip Get-CollectionsMaintenanceWindows.zip
  2. Execute Get-CollectionsMaintenanceWindows.ps1

Example

Example Output

Get-CollectionsMaintenanceWindows_CSV_Outout

Get-CollectionsMaintenanceWindows_html_Output

You can download the code examples from here



About the Author:

Kaido Järvemets is a developer, consultant, trainer specializing in Microsoft System Center Configuration Manager and PowerShell Solutions at Coretech. Kaido frequently speaks at European conferences and had his US debut as speaker at MMS April 2013. Kaido is well-known in the Configuration Manager communities where he’s a key player in the PowerShell game. Kaido host one of the most complete Configuration Manager PowerShell library’s in the world with hundreds of free code samples ready to download and implement – www.cm12sdk.net. Kaido has been awarded Microsoft Most Valuable Professional (MVP) in Microsoft Enterprise Client Management for his work with Configuration Manager from 2011 – to present. Kaido is the founder of System Center User Group Estonia in 2011.

Discussion

  1. Lukas  April 27, 2016

    Hello, I see problem in your code:

    In interpretation of those two:
    “SMS_ST_RecurMonthlyByDate”
    “SMS_ST_RecurMonthlyByWeekday”

    You interpret month number as name of month, however this number means once per X months maintenance exist.

    in example, if you create MW that is every 2nd Monday every month, output from your script is “every 2nd Monday every January”.

    If there will be MW that is every first day every 2nd month, it will be actually interpreted as “every 1st day every February”.

    (reply)
  2. Gin  May 16, 2016

    Worked as described. Thanks!

    (reply)

Add a Comment