sunil cherukuri
asked on
Batch Script to run on multiple remote machines
Hi Team,
Can somebody help me with a batch script that i can install Ransonware patch on 100's of machines remotely using PSEXEC by placing all machines in single text file. In our organization WinRM service is stopped on all devices, hence i can't use powershell script. Also i need to copy PsTools onto remote machines to run the patch by using PSEXEC.
Based on above scenario can somebody provide me batch script that i can copy PsTools, KB File onto machines remotely & run using psexec.
Thanks in advance.
Sunil.
Can somebody help me with a batch script that i can install Ransonware patch on 100's of machines remotely using PSEXEC by placing all machines in single text file. In our organization WinRM service is stopped on all devices, hence i can't use powershell script. Also i need to copy PsTools onto remote machines to run the patch by using PSEXEC.
Based on above scenario can somebody provide me batch script that i can copy PsTools, KB File onto machines remotely & run using psexec.
Thanks in advance.
Sunil.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
psexec \\computer.domain.com -u username -i -d cmd /c drive:\folder\program_copy
Drive: is where your batch file on local system's drive.
If it is not available and you want to push remotely then you can use group policy to map network path of that script and run above script.
Hope this helps.