To work remotely on another server, use PsExec.
Extract the software on C:\Tools\ or your liking.
Open the command prompt and execute the follwing command:
runas /user:domain\Administrator cmd
Your credentials for your domain will be asked. Enter it.
Navigate to C:\Tools
To start the command prompt on a remote server execute the following:
C:\Tools>PsExec /accepteula \\servernaam CMD
You are in the command prompt of the remote server.
You can check the following to be sure.
and the username:
You can start or stop a service (if you know by name, else look it up)
sc stop 'service name'
sc start 'service name'
shutdown -r -t 00 (reboot in 0 seconds)
You can execute a command directly without entering the shell on the remote server by typing:
PSEXEC \\servernaam -u username -p password CMD /C 'command to be executed, remember your in C:\Windows\System32'
To be able to be able to access a Windows 7 machine you must use the -h switch.
PSEXEC \\servernaam -u username -p password CMD /C /H 'command to be executed, remember your in C:\Windows\System32'