Sets a device to maintenance mode in CA Spectrum Oneclick
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
Set-OneClickMaintenance.ps1

README.md

Set Oneclick Maintenance

License Copyright Glen Buktenica

This script will set the maintenance status of a device in CA Spectrum Oneclick using the ReST API

Examples

Set-OneClickMaintenance.ps1

Set-OneClickMaintenance.ps1 10.1.1.1 "Patching server until 20150109 1700 " -Maintenance

Set-OneClickMaintenance.ps1 10.1.1.1

Set-OneClickMaintenance.ps1 servername "Patching server until 20150109 1700" -Maintenance

Set-OneClickMaintenance.ps1 servername

Set-OneClickMaintenance.ps1 -Notes "Patching server until 20150109 1700" -FilePath "C:\\scripts\\host-names.txt"