Tagged Questions
0
votes
2answers
47 views
Chkdsk and PSEXEC
I run maintenance for a lot of offices and use chkdsk as a part of the maintenance. I've recently been using PSEXEC to start a batch file that simply runs chkdsk and then pauses to keep the command ...
2
votes
3answers
8k views
How to Run multiple command remotely using PSEXEC?
I am try to use multiple command with psexec tools but i am only remotely entered in that computer but it won't be perform another command
psexec -i \\192.168.30.135 -u username -p password cmd ...
2
votes
2answers
2k views
Passing CMD via PSEXEC to a remote computer via .BAT file
Using PSEXEC to call CMD for a DEL command on a remote computer through a batch script.
PSEXEC \\hostname -u username -p password CMD /C DEL /Q /F C:\Folder\File.txt
The script pauses with a new ...
0
votes
1answer
2k views
How to set env variables and run multiple commands with PsExec?
How can I run multiple commands with PsExec, and how can I export environment variables?
I can run two commands by doing the below, but when I try to export an environment variable the second command ...
1
vote
2answers
102 views
Unable to issue commands to a remote server when using IP address
I know this is going to sound crazy and I hope that I may just be missing something simple. I am trying to use psexec to restart IIS on a cluster of remote servers. The dept that actually uses the ...