PowerTip: Use PowerShell to Shut Down a Remote Computer
Summary: Use Windows PowerShell to shut down a remote computer.
I need to shut down a remote computer, but the account that I am logged on to does not have rights. What should I do?
Use the Stop-Computer cmdlet and specify both the name of the remote computer and the credentials to use for the operation. When the cmdlet runs, you will be prompted for a password, as shown here.
Stop-Computer –computer DC1 –Credential nwtraders\administrator