I don’t use this very often, but it has come in very handy lately when working in the environment that I have been working in. So here is an example of how I use psexec
Go to the file or folder where psexec is installed. I have installed it in my system32 folder.
The prompt will show up like this
type in the psexec command
C:\Windows\system32>psexec \\<name of computer or IP address> <program>
psexec \\<ipaddress> cmd
The command above will bring you to the command line utility of the windows computer. One really fun command is the msg command. It lets you send a message to another computer.
psexec <\\computer name or ip address> msg * <Message>