383
I have windows running on ec2 instance, I want to turn off the system using Powershell. How can I do that?
Run this command,
Restart-Computer -ComputerName "Server01" -Wait -For PowerShell -Timeout 600 -Delay 2