Maintenance Mode Schedule #14
Replies: 3 comments 22 replies
-
I like this idea! /api/v1/devices/{deviceId}/config/maintenance/schedule seems to be the REST API endpoint that makes this possible. I'll take a peek at this soon. Thanks so much for the suggestion. |
Beta Was this translation helpful? Give feedback.
-
I made Set-WUGDeviceMaintenanceSchedule work with a manual configuration, copying the config(s) from other device(s), as well as -DeleteAllSchedules flag to remove all existing maintenance schedules. These will be part of the next update. I learned a lot here, which resulted in additional changes to most of the existing functions. Thanks again for the suggestion! |
Beta Was this translation helpful? Give feedback.
-
Would you please try again with https://github.com/jayyx2/WhatsUpGoldPS/blob/main/functions/Set-WUGDeviceMaintenanceSchedule.ps1 instead? I haven't push this to PSGallery yet, so you'll have to do some copy/paste. |
Beta Was this translation helpful? Give feedback.
-
It would really be nice to have a function to set a maintenance mode schedule, even a basic one. All it would need for a basic one would be the DeviceId, Start-Date, Start-Time, End-Date, End-Time...
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions