Open awickham10 opened 5 years ago
Similar to Restart-Computer, Stop-DpaMonitor should support a -Wait parameter which would wait until the monitor has started before continuing execution of a script.
Stop-DpaMonitor -MonitorName 'GoingIntoMaintenance' -Wait Restart-Computer -ComputerName 'GoingIntoMaintenance' -Wait
Similar to Restart-Computer, Stop-DpaMonitor should support a -Wait parameter which would wait until the monitor has started before continuing execution of a script.