Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Bulk rename Maintenance Windows on Collections

PeterFranken

New Member
Messages
4
Reaction score
0
Points
1
I have about 1500 collections in my SCCM setup. That I all bulk renamed to change some of the terminology and to change the time formats from AM/PM to the 24h format. (Using 'Set-CMCollection -Name ... -NewName ....')
Each collection however also has a Maintenance Window set. The names of these Maintenance Windows are still in a format like '1st Fri [10am-2pm]'.

I did not find a cmdLet to rename them.
I can go about deleting them all through script and set new ones on all collections using the schedule that I can infer from the collection (or MW) names.
But that is risky.

Has anyone done this before ?
Would that person be so kind to point me to a script that can handle this rename?
Or ... would directly updating the tables inside the DB also work? Without side- effects.

Thanks,
Peter
 

Attachments

  • 2024-05-24_17-24-11.png
    2024-05-24_17-24-11.png
    55.8 KB · Views: 0

Forum statistics

Threads
7,028
Messages
27,501
Members
17,683
Latest member
BossLadyT
Back
Top