So I'm writing a script to reboot all the VM's in a folder. Very simple, no big deal. What I'd like to know though is if there's a way in PowerCLI to put a prompt on the machines that they're being rebooted and somehow have a timer so a user can save any data if necessary and if perhaps they click ok it starts the reboot sooner and if not once the timer has counted down it reboots. Is that possible using the Invoke-VM command or do I need to do something else?
↧