Is it possible to execute a Windows shell command on a remote PC when I know its login name and password? Is it possible to do it using client PC's Windows shell?
Type "mstsc /console /v:computername" into Command Prompt, with the specific computer name you wrote down earlier in place of "computername." This entry takes you straight to the login screen for your remote computer. After you log on, you can use the remote machine as if it is the one you're sitting infront of.
Using the WS-Management protocol, Windows PowerShell remoting lets you run any Windows PowerShell command on one or more remote computers. You can establish persistent connections, start interactive sessions, and run scripts on remote computers.
If you are in a domain environment, you can also use:
winrs -r:PCNAME cmd
This will open a remote command shell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With