r/ciscoUC • u/Previous_Address_195 • 1d ago
Updated UC DRS PowerShell script: saved preview plans and CUCM 15 lab testing
I’ve updated a PowerShell script I use to standardize Cisco UC DRS backup configuration across separate managed networks, each with its own local SFTP server.
The main change in v1.6.2 revision 5 is a complete preview/apply workflow. You can select schedules to disable or delete, select backup devices to remove, and include weekly/monthly replacements in one saved plan. Apply reloads those selections and checks the current appliance state before making changes.
Other improvements include:
Numbered selections with Add/Edit/Remove and dependency checks.
Schedule start dates calculated from the appliance’s
show dateoutput.Optional Windows Credential Manager storage, with lookup after confirming the username.
Per-operation logging and CLI readback checks.
Testing against a CUCM 15 publisher completed the full disable/delete/recreate/enable sequence: zero configuration writes during preview and 12 writes with matching readback verification during apply. Earlier revision 4 testing also completed manual backups to both destinations.
It remains a testing candidate. CLI readback doesn’t expose every setting, and these results don’t establish restore success or qualify every supported product -- though UC VOS is UC VOS so the same methodology and syntax is generally applicable to CUCM, CUC, IM&P, CER, UCCX.
I wrote up the workflow, the reasons behind the changes, and the testing results here:
https://nocthoughts.com/2026/11/14/standardizing-cisco-uc-backup-configuration-with-powershell.html
The post includes expandable script/README previews and links to the Tools page for downloads. Feedback on the workflow or differences in appliance output would be welcome.
In my experience the tool is more performant in use cases where the SFTP PW changes, or you need to move DRS backups to a new server, which means disabling the schedule, deleting the schedule, deleting the device, recreating the device, recreating the schedule, enabling the schedule, for each schedule/device pair (e.g. weekly, monthly). Sounds like I'm complaining about nothing, but long page load times make this excruciating against 5, 10, 20, 50 clients with 1 or more CCM+CUC clusters, (optional CER, UCCX). Standardizes the methods, adds guard rails, previews and explicit application.
TL;DR - Work managing Cisco UC/Webex Calling environments. Performance of CCM server Web GUI through a remote jumpbox isn't always great (1/10 times its snappy, 5/10 times it's tolerable, 4/10 times it's crawling) So now there's a command line tool for my common use-cases for DRS Admin.
