Command line is your friend when the SCOM Agent auto deploy functionality does not work for some reason. Because some firewall rules are disabled or something like that.
Or if you need to create a SCCM Package.
Unattended installation with system account:
1 |
msiexec.exe /i "\\CONTOSO001\c$\install\MOMAgent.msi" USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=SCOMOM01 MANAGEMENT_SERVER_DNS=CONTOSO001.contoso.com ACTIONS_USE_COMPUTER_ACCOUNT=1 USE_MANUALLY_SPECIFIED_SETTINGS=1 AcceptEndUserLicenseAgreement=1 /qn /l*v c:\install\MOMAgent_install.log |
Unattended installation with SCOM Action account:
1 |
msiexec.exe /i "\\CONTOSO001\c$\install\MOMAgent.msi" USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=SCOMOM01 MANAGEMENT_SERVER_DNS=CONTOSO001.contoso.com ACTIONS_USE_COMPUTER_ACCOUNT=0 USE_MANUALLY_SPECIFIED_SETTINGS=1 ACTIONSUSER=ACTION@scom ACTIONSDOMAIN=contoso ACTIONSPASSWORD=pwd@contoso AcceptEndUserLicenseAgreement=1 /qn /l*v c:\install\MOMAgent_install.log |