Product: PowerShell Universal Version: 4.3.2
How do I set PSU node to Maintenance mode using a PowerShell command or a PSU API? I want to automate rebooting of the nodes, so I assume the prudent thing to do would be to put it in maintenance mode first.
Thanks.
Set-PSUComputer provides a -Maintenance flag that you can use.
Get-PSUComputer | Where-Object Name -eq 'Server123' | Set-PSUComputer -Maintenance $true
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Thank you