{"id":20146,"date":"2023-12-12T09:02:08","date_gmt":"2023-12-12T13:02:08","guid":{"rendered":"https:\/\/kevinjustin.com\/blog\/?p=20146"},"modified":"2024-02-21T10:28:09","modified_gmt":"2024-02-21T14:28:09","slug":"install-scom-agent-msi-via-command-line","status":"publish","type":"post","link":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/","title":{"rendered":"Install SCOM agent MSI via command line"},"content":{"rendered":"<figure id=\"attachment_20150\" aria-describedby=\"caption-attachment-20150\" style=\"width: 550px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-20150\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg\" alt=\"MECM application for SCOM agent MSI\" width=\"550\" height=\"308\" srcset=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg 550w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application-300x168.jpg 300w\" sizes=\"auto, (max-width: 550px) 85vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-20150\" class=\"wp-caption-text\">MECM application for SCOM agent MSI<\/figcaption><\/figure>\n<pre>Shout out to AT and <a href=\"https:\/\/www.linkedin.com\/in\/aris-somatis-3a663b105\" target=\"_blank\" rel=\"noopener\">Aris<\/a> for his help with this!<\/pre>\n<p>&nbsp;<\/p>\n<p>Install SCOM agent MSI via command line and roll into a &#8216;SCOM agent&#8217; MECM application package.<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">Why an application\/package?\u00a0 Many times, servers are built, and the IT Enterprise doesn&#8217;t find out device is NOT monitored until it&#8217;s involved in an outage.\u00a0 Proceed to add to your Configuration management tool will provide a consistent configuration to avoid the &#8216;NOT monitored&#8217; configuration.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">While there are a few options to build out a MCM\/MEM\/MECM\/SCCM application\/package to install the SCOM agent on managed windows machines.\u00a0 In August, I posted Neal&#8217;s updates to <a href=\"https:\/\/kevinjustin.com\/blog\/2023\/08\/24\/scom-agent-application\/\" target=\"_blank\" rel=\"noopener\">install\/configure the SCOM agent<\/a>.\u00a0 Neal&#8217;s scenario works great for a new environment, and it&#8217;s simple PowerShell.\u00a0 Also, if Neal&#8217;s scenario with PowerShell is NOT your preference, try the batch file below.\u00a0 Another key point, the script has logic for multiple forests and SCOM gateways (to connect said forests).\u00a0 Basically test the command line script, then roll into a MCM\/MEM\/MECM\/SCCM application\/package.\u00a0 Have the SCOM agent added to task sequence which consequently includes the SCOM agent in the default build.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>Install SCOM agent command line script<\/h3>\n<p><span style=\"color: #ff0000;\">First &#8211; NOTE each line has no hidden line feed\/carriage returns<\/span><\/p>\n<p>Second &#8211; go through the variables before testing<\/p>\n<h4>Variables to review\/replace:<\/h4>\n<p>##SCOMManagementGroup##\u00a0 \u00a0 \u00a0 # SCOM Management group, seen in SCOM console on top left corner<\/p>\n<p>SCOMManagementServer##\u00a0 \u00a0 \u00a0# SCOM management Server in primary domain<br \/>\n##SCOMManagementServerGW##\u00a0 \u00a0 \u00a0# SCOM first gateway<br \/>\n##SCOMManagementServerGW2##\u00a0 \u00a0 \u00a0# Second gateway<br \/>\n##Domain## as forest FQDN<br \/>\n##Domain2## as forest FQDN<\/p>\n<p>Determine domain &#8211;<\/p>\n<p>&#8216;systeminfo | findstr \/i \/c:&#8221;domain&#8221; | findstr \/i \/c:&#8221;##Domain##&#8221;<\/p>\n<p>Example Lab output<\/p>\n<p>C:\\&gt; systeminfo | findstr \/i \/c:&#8221;domain&#8221; | findstr \/i \/c:&#8221;testlab&#8221;<br \/>\nDomain:\u00a0 \u00a0 \u00a0 testlab.net<\/p>\n<p>&nbsp;<\/p>\n<p>Third &#8211; Find\/Replace ##hashtagged## variables and test away!<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">@echo off<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">cls<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">REM This script command line is for NEW installs of the agent (nothing prior)<br \/>\nREM Replace ##SCOMManagementGroup## SCOM Management group, seen in SCOM console on top left corner<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">ECHO Installing SCOM 2019 Windows Agent&#8230;<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">echo Determining domain&#8230;.<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">REM Determine if machine is in DMZ&#8230;.<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\"><span style=\"color: #3366ff;\">systeminfo | findstr \/i \/c:&#8221;domain&#8221; | findstr \/i \/c:&#8221;DMZ&#8221;<\/span> &amp;&amp; (<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo Machine found to be in DMZ&#8230;installing for that enclave and management server: ##Domain2##&#8221;<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo.<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">%WinDir%\\System32\\msiexec.exe \/i %~DP0MOMAgent.msi \/qn USE_SETTINGS_FROM_AD=0 USE_MANUALLY_SPECIFIED_SETTINGS=1 MANAGEMENT_GROUP=##SCOMManagementGroup## MANAGEMENT_SERVER_DNS=##SCOMManagementServerGW##\u00a0SECURE_PORT=5723 ACTIONS_USE_COMPUTER_ACCOUNT=1 NOAPM=1 AcceptEndUserLicenseAgreement=1<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo.<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">GOTO Logging)<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">REM Determine if machine is on domain&#8230;.<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\"><span style=\"color: #3366ff;\">systeminfo | findstr \/i \/c:&#8221;domain&#8221; | findstr \/i \/c:&#8221;##Domain##&#8221;<\/span> &amp;&amp; (<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo Machine found to be in ##Domain##&#8230;installing for that enclave and management server: ##Domain##<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo.<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">%WinDir%\\System32\\msiexec.exe \/i %~DP0MOMAgent.msi \/qn USE_SETTINGS_FROM_AD=0 USE_MANUALLY_SPECIFIED_SETTINGS=1 MANAGEMENT_GROUP=##SCOMManagementGroup##\u00a0 MANAGEMENT_SERVER_DNS=##SCOMManagementServer## SECURE_PORT=5723 ACTIONS_USE_COMPUTER_ACCOUNT=1 NOAPM=1 AcceptEndUserLicenseAgreement=1<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">echo.<\/p>\n<p style=\"margin: 0in; margin-left: .375in; font-family: Calibri; font-size: 11.0pt;\">GOTO Logging)<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">REM Neither DMZ or domain joined found above&#8230;look for alternate domain(s)<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">REM These all share this same management server: FOREST2.FQDN and Gateway server<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">%WinDir%\\System32\\msiexec.exe \/i %~DP0MOMAgent.msi \/qn USE_SETTINGS_FROM_AD=0 USE_MANUALLY_SPECIFIED_SETTINGS=1 MANAGEMENT_GROUP=##SCOMManagementGroup## MANAGEMENT_SERVER_DNS=##SCOMManagementServerGW2##\u00a0SECURE_PORT=5723 ACTIONS_USE_COMPUTER_ACCOUNT=1 NOAPM=1 AcceptEndUserLicenseAgreement=1<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">:Logging<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">ECHO Installing SCOM 2019 Windows Agent Completed&#8230;&gt;&gt; C:\\Windows\\Logs\\SCOM2019Agent.log<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">time \/t &gt;&gt; C:\\Windows\\Logs\\SCOM2019Agent.log<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">date \/t &gt;&gt; C:\\Windows\\Logs\\SCOM2019Agent.log<\/p>\n<p>&nbsp;<\/p>\n<p>Lastly enjoy!\u00a0 \u00a0In summary, I hope the &#8216;Install SCOM agent MSI via\u00a0 command line&#8217; script helps get the agent deployed faster, and more consistent!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shout out to AT and Aris for his help with this! &nbsp; Install SCOM agent MSI via command line and roll into a &#8216;SCOM agent&#8217; MECM application package. Why an application\/package?\u00a0 Many times, servers are built, and the IT Enterprise doesn&#8217;t find out device is NOT monitored until it&#8217;s involved in an outage.\u00a0 Proceed to &hellip; <a href=\"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install SCOM agent MSI via command line&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,545,530,742],"tags":[43,845,787,841,842,772,844,843,340,714],"class_list":["post-20146","post","type-post","status-publish","format-standard","hentry","category-administration","category-powershell","category-scom","category-windows","tag-application","tag-install-scom-agent-msi-via-command-line","tag-mcm","tag-mecm-scom-agent-package","tag-mem","tag-momagent-msi","tag-msiexec","tag-package","tag-sccm","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog<\/title>\n<meta name=\"description\" content=\"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/\" \/>\n<meta property=\"og:site_name\" content=\"Kevin Justin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-12T13:02:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-21T14:28:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg\" \/>\n<meta name=\"author\" content=\"WordPress Administrator\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"WordPress Administrator\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/\"},\"author\":{\"name\":\"WordPress Administrator\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"headline\":\"Install SCOM agent MSI via command line\",\"datePublished\":\"2023-12-12T13:02:08+00:00\",\"dateModified\":\"2024-02-21T14:28:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/\"},\"wordCount\":604,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/MECM-Application.jpg\",\"keywords\":[\"application\",\"install scom agent MSI via command line\",\"MCM\",\"MECM SCOM agent package\",\"MEM\",\"MOMAgent.msi\",\"MSIExec\",\"package\",\"sccm\",\"script\"],\"articleSection\":[\"Administration\",\"PowerShell\",\"SCOM\",\"Windows\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/\",\"name\":\"Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/MECM-Application.jpg\",\"datePublished\":\"2023-12-12T13:02:08+00:00\",\"dateModified\":\"2024-02-21T14:28:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"description\":\"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/MECM-Application.jpg\",\"contentUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/MECM-Application.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2023\\\/12\\\/12\\\/install-scom-agent-msi-via-command-line\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install SCOM agent MSI via command line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\",\"name\":\"Kevin Justin&#039;s Blog\",\"description\":\"Operational monitoring tools including System Center, Azure Monitor\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\",\"name\":\"WordPress Administrator\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"caption\":\"WordPress Administrator\"},\"sameAs\":[\"https:\\\/\\\/kevinjustin.com\"],\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/author\\\/wordpress_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog","description":"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/","og_locale":"en_US","og_type":"article","og_title":"Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog","og_description":"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!","og_url":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/","og_site_name":"Kevin Justin&#039;s Blog","article_published_time":"2023-12-12T13:02:08+00:00","article_modified_time":"2024-02-21T14:28:09+00:00","og_image":[{"url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg","type":"","width":"","height":""}],"author":"WordPress Administrator","twitter_card":"summary_large_image","twitter_misc":{"Written by":"WordPress Administrator","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#article","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/"},"author":{"name":"WordPress Administrator","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"headline":"Install SCOM agent MSI via command line","datePublished":"2023-12-12T13:02:08+00:00","dateModified":"2024-02-21T14:28:09+00:00","mainEntityOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/"},"wordCount":604,"commentCount":0,"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg","keywords":["application","install scom agent MSI via command line","MCM","MECM SCOM agent package","MEM","MOMAgent.msi","MSIExec","package","sccm","script"],"articleSection":["Administration","PowerShell","SCOM","Windows"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/","url":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/","name":"Install SCOM agent MSI via command line - Kevin Justin&#039;s Blog","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#primaryimage"},"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg","datePublished":"2023-12-12T13:02:08+00:00","dateModified":"2024-02-21T14:28:09+00:00","author":{"@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"description":"Use to install SCOM agent MSI via command line, and roll this into a configuration managed package for consistent configuration!","breadcrumb":{"@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#primaryimage","url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg","contentUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2023\/12\/MECM-Application.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/kevinjustin.com\/blog\/2023\/12\/12\/install-scom-agent-msi-via-command-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kevinjustin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install SCOM agent MSI via command line"}]},{"@type":"WebSite","@id":"https:\/\/kevinjustin.com\/blog\/#website","url":"https:\/\/kevinjustin.com\/blog\/","name":"Kevin Justin&#039;s Blog","description":"Operational monitoring tools including System Center, Azure Monitor","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kevinjustin.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508","name":"WordPress Administrator","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","caption":"WordPress Administrator"},"sameAs":["https:\/\/kevinjustin.com"],"url":"https:\/\/kevinjustin.com\/blog\/author\/wordpress_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/20146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/comments?post=20146"}],"version-history":[{"count":14,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/20146\/revisions"}],"predecessor-version":[{"id":20225,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/20146\/revisions\/20225"}],"wp:attachment":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/media?parent=20146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/categories?post=20146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/tags?post=20146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}