To install the PCAAgent Remotely
Below are the steps which can help to install the PCAAgent Remotely.
Copy the folder \\<servername>\NSCap\bin\Win32\X86\pcAAgent to your own system c drive where port is open to access all remote system.
Create a batch file with usingbelow detail and paste in to pcAAgent folder (Eg - pcaagent.bat)
Also download the psexec file and paste it in c drive
Create a file with computer.txt in your c drive and paste all ip in this file where you need to install
This computer.txt file will help in both vbs script or in bat file
Copy the below step in notepad and save pcaagent.vbs
Const OverwriteExisting = TRUE
Set objFile = objFSO.OpenTextFile("C:\Computers.txt")
strComputer = objFile.ReadLine
strRemoteFile = "\\" & strComputer & "\C$\PcAAgent"
objFSO.CopyFolder "C:\PcAAgent", strRemoteFile, OverwriteExisting
Run the pcaagent.vbs
After that run the command on command prompt
PsExec.exe @computers.txt C:\pcAAgent\pcaagent.bat