I'm trying to write a few scripts to remotely shut down virtual machines. I'm using the following command.
shutdown -m \\10.0.3.84 -s
I get an access is denied error. Seems to be I need permissions higher then the machine being shut down. I've thought of using the command line RUNAS but it only accepts the userid and not password. Any way I can pass in the password? Does anyone have any other options on how I can run the SHUTDOWN without getting this error?