Microsoft

System Center Configuration Manager Feedback

Suggestion box powered by UserVoice

How can we improve Configuration Manager?

PowerShell cmdlet "Remove-CMMaintenanceWindow" should accept Window Time as parameter

Powershell cmdlet "Remove-CMMaintenanceWindow" should accept StartTime as a parater. Current implementation only accepts limited parmaters of collectionid, and maintenance window name. If you have two windows by the same name, with different start times... you will remove both by using this utility. I suggest it should also accept the StartTime as a paramter for specific window deletion. Maintenance windows are a point in time schedule, and therefore the Point in time should be considered as a parameter for removal. The current implementation of this cmdlet is dangerous, and cannot be used for finite window removal.

5 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jason Short shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Jason Short commented  ·   ·  Flag as inappropriate

        Perhaps to be more finite, you could also use the ServiceWindowID value. IE: {2216878B-8E8F-45F7-A6D4-2A1268756D90}

      • Anonymous commented  ·   ·  Flag as inappropriate

        +1 on this idea. It would help automate Maintenance Window removal based on Window time as well.

      Feedback and Knowledge Base