This can be used to install the N-able agent on Startup or through something like PSEXEC with Batch Patch . this only supports Agents137 and below
[pastacode lang=”markup” user=”pariswells” repos=”pariswells.com” path_id=”install-nable-agent.bat” revision=”” highlight=”” lines=”” provider=”github”/]
If installing via Batch Patch use the Software Deploy to run the .bat
The best way I have deploying anything higher then Nable Agent 137 , is run the .exe and go to %temp% and get the WindowsAgent.msi and deploy with
msiexec /i “\\pathj\WindowsAgent.msi” /q CUSTOMERID=”%number%” CUSTOMERSPECIFIC=”1? SERVERPROTOCOL=”HTTPS” SERVERADDRESS=”%server%” SERVERPORT=”443?