Install a SCOM 2012 Agent Remotely via PSEXEC

2017-12-07T12:21:13+00:00 June 20th, 2013|Azure, Cloud, Windows|

Recently we wanted to install SCOM agents on a customer site to talk to a SCOM gateway , so that we were able to monitor them. We weren’t able to install multiple agents via the SCOM console as it was a remote site. So we managed to install the agents via PSEXEC with a pretty simple command (Please Note command below installs SCOM agent to run as Local System account)

  • Download PSEXEC from http://technet.microsoft.com/en-gb/sysinternals/bb897553.aspx and then map to the extracted PSEXEC.exe location in Command Prompt
  • Place the AMD64 and i386 for the SCOM Agent installs onto a File Share
  • Change the following command to suit your Scenario (Stuff Highlighted in RED) and Simply run PsExec.exe Server1,Server2,Server3 -s msiexec.exe /i "FileShareSCOMAgentsamd64MOMagent.msi" /qn USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=MGNAME MANAGEMENT_SERVER_DNS=Gatewayname ACTIONS_USE_COMPUTER_ACCOUNT=1 USE_MANUALLY_SPECIFIED_SETTINGS=1 SET_ACTIONS_ACCOUNT=1 AcceptEndUserLicenseAgreement=1

image