{"id":20376,"date":"2024-05-30T14:23:52","date_gmt":"2024-05-30T18:23:52","guid":{"rendered":"https:\/\/kevinjustin.com\/blog\/?p=20376"},"modified":"2024-05-30T14:23:52","modified_gmt":"2024-05-30T18:23:52","slug":"create-scom-command-channels","status":"publish","type":"post","link":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/","title":{"rendered":"Create SCOM Command Channels"},"content":{"rendered":"<figure id=\"attachment_20377\" aria-describedby=\"caption-attachment-20377\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-20377\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png\" alt=\"Terminator Salvation - Submarine for command - Create SCOM Command Channels\" width=\"300\" height=\"155\" srcset=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png 300w, https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine.png 616w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-20377\" class=\"wp-caption-text\">Terminator Salvation &#8211; Submarine for command &#8211; Create SCOM Command Channels<\/figcaption><\/figure>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 16.0pt; color: #1e4e79;\">Time to update SCOM, specifically to &#8216;create SCOM Command Channels&#8217;, then subscribers, and subscriptions.\u00a0 Depending on requirements, create multiple channels within SCOM.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>Save .ps1 file(s) to SCOM MS<\/h1>\n<p style=\"text-align: center;\">LogAlert.ps1 to verify SCOM notification account<\/p>\n<p style=\"text-align: center;\">New-SNowEvent.ps1 to inject events into ServiceNow<\/p>\n<p style=\"text-align: center;\">New-SNowIncident.ps1 to inject incidents into ServiceNow<\/p>\n<p>&nbsp;<\/p>\n<h2>Save LogAlert.ps1<\/h2>\n<p>Create Command channel script and save to SCOM MS(s)<\/p>\n<p>From Kevin Holman blog <a href=\"https:\/\/kevinholman.com\/2021\/08\/25\/what-account-will-command-channel-notifications-run-as-in-scom\/\">https:\/\/kevinholman.com\/2021\/08\/25\/what-account-will-command-channel-notifications-run-as-in-scom\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Open in (notepad\/notepad++\/VSCode, PowerShell ISE) editor, paste the following:<\/p>\n<p>param($AlertID, $AlertName, $AlertDescription, $Severity, $ResolutionState, $ManagedEntityPath, $ManagedEntityDisplayName, $ManagedEntityFullName, $ManagedEntity, $CreatedByMonitor, $WorkflowId, $DataItemCreateTimeLocal, $WebConsoleUrl)<\/p>\n<p>&nbsp;<\/p>\n<p>$ScriptName = &#8220;logalert.ps1&#8221;<\/p>\n<p>$EventID = &#8220;710&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>$whoami = whoami<\/p>\n<p>&nbsp;<\/p>\n<p>$momapi = New-Object -comObject MOM.ScriptAPI<\/p>\n<p>&nbsp;<\/p>\n<p># Begin logging script starting into event log<\/p>\n<p>write-host &#8220;Script is starting. `n Running as ($whoami).&#8221;<\/p>\n<p>$momapi.LogScriptEvent($ScriptName,$EventID,0,&#8221;Script is starting. `n Running as ($whoami).&#8221;)<\/p>\n<p>&nbsp;<\/p>\n<p>#Log script event that we are starting task<\/p>\n<p>$momapi.LogScriptEvent($ScriptName,$EventID,0,&#8221;Script is starting. `nRunning as ($whoami). `nAlertID: ($AlertID) `nAlertName: ($AlertName) `nAlertDescription:($AlertDescription) `nSeverity:($Severity) `nResolutionState: ($ResolutionState) `nManagedEntityPath: ($ManagedEntityPath) `nManagedEntityDisplayName: ($ManagedEntityDisplayName) `nManagedEntityFullName: ($ManagedEntityFullName) `nManagedEntity: ($ManagedEntity) `nCreatedByMonitor: ($CreatedByMonitor) `nWorkFlowId: ($WorkflowId) `nDataItemCreateTimeLocal: ($DataItemCreateTimeLocal) `nWebConsoleURL: ($WebConsoleUrl)&#8221;)<\/p>\n<p>&nbsp;<\/p>\n<p>write-host &#8220;LogAlert.ps1 script logging SCOM Notification channel account whoami = $($whoami)&#8221; &gt;&gt; C:\\MonAdmin\\scripts\\TestOutputChannel.txt<\/p>\n<p>&nbsp;<\/p>\n<p>Save content as LogAlert.ps1 on SCOM MS&#8217;s<\/p>\n<p>NOTE path to setup channel execution<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Save New-SNowEvent.ps1<\/h2>\n<p>Create Command channel script and save to SCOM MS(s)<\/p>\n<p>Grab file from GitHub repository <a href=\"https:\/\/github.com\/theKevinJustin\/New-SNowEvent\">https:\/\/github.com\/theKevinJustin\/New-SNowEvent<\/a><\/p>\n<p>As needed, save New-SNowEvent file as .ps1 on SCOM MS&#8217;s<\/p>\n<p>&nbsp;<\/p>\n<h2>Save New-SNowIncident.ps1<\/h2>\n<p>Depending on design requirements, grab file from GitHub repository <a href=\"https:\/\/github.com\/theKevinJustin\/New-SNOWIncidents\">https:\/\/github.com\/theKevinJustin\/New-SNOWIncidents<\/a><\/p>\n<p>As needed, save New-SNowIncident file as .ps1 on SCOM MS&#8217;s<\/p>\n<p style=\"margin: 0in; font-family: Calibri; font-size: 11.0pt;\">\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Configure &#8216;Test LogAlert.ps1 SCOM Command Channel&#8217;<\/h2>\n<p>This command channel helps admins determine variables possible to pass to PowerShell script(s).<\/p>\n<p>&nbsp;<\/p>\n<h3>SCOM Navigation steps:<\/h3>\n<p>Click on Administration Tab &gt; Notifications &gt; Channels<\/p>\n<p>Click New<\/p>\n<p>&nbsp;<\/p>\n<p>Name<\/p>\n<p>Test LogAlert.ps1 SCOM Command Channel<\/p>\n<p>&nbsp;<\/p>\n<p>Description<\/p>\n<p>Test LogAlert.ps1 SCOM Command Channel using Holman&#8217;s blog <a href=\"https:\/\/kevinholman.com\/2021\/08\/25\/what-account-will-command-channel-notifications-run-as-in-scom\/\">https:\/\/kevinholman.com\/2021\/08\/25\/what-account-will-command-channel-notifications-run-as-in-scom\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Full path of the command file:<\/p>\n<p>C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe<\/p>\n<p>&nbsp;<\/p>\n<p>Command line parameters:<\/p>\n<p>-executionPolicy bypass -noprofile -file &#8220;C:\\MonAdmin\\scripts\\LogAlert.ps1&#8221; -AlertID &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertId$&#8221; -AlertName &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertName$&#8221; -AlertDescription &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertDescription$&#8221; -Severity &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/Severity$&#8221; -ResolutionState &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/ResolutionState$&#8221; -ManagedEntityPath &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/ManagedEntityPath$&#8221; -ManagedEntityDisplayName &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/ManagedEntityDisplayName$&#8221; -ManagedEntityFullName &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/ManagedEntityFullName$&#8221; -ManagedEntity &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/ManagedEntity$&#8221; -CreatedByMonitor &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/CreatedByMonitor$&#8221; -WorkflowId &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/WorkflowId$&#8221; -DataItemCreateTimeLocal &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/DataItemCreateTimeLocal$&#8221; -WebConsoleUrl &#8220;$Target\/Property[Type=&#8221;Notification!Microsoft.SystemCenter.AlertNotificationSubscriptionServer&#8221;]\/WebConsoleUrl$?DisplayMode=Pivot&amp;AlertID=$UrlEncodeData\/Context\/DataItem\/AlertId$&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Startup Folder for Command Line:<\/p>\n<p>C:\\MonAdmin\\SCRIPTS<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Click Finish<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Configure &#8216;ServiceNow SNOW Event Creation Channel&#8217;<\/h2>\n<p>SNOW Event command channel injects ServiceNow SNOW events, with logic to check for alert, incident, then update the SCOM alert TicketID, Owner, ResolutionState based on runtime.<\/p>\n<h3>SCOM Navigation steps:<\/h3>\n<p>Click on Administration Tab &gt; Notifications &gt; Channels<\/p>\n<p>Click New<\/p>\n<p>&nbsp;<\/p>\n<p>Name<\/p>\n<p>ServiceNow SNOW Event Creation Channel<\/p>\n<p>&nbsp;<\/p>\n<p>Use New-SNowEvent.ps1 to create SCOM subscription that creates SNOW incidents, then updates SCOM alert with TicketID, Owner, Resolution State for SCOM alert.<\/p>\n<p>&nbsp;<\/p>\n<p>Full path of the command file:<\/p>\n<p>C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe<\/p>\n<p>&nbsp;<\/p>\n<p>Command line parameters:<\/p>\n<p>-executionPolicy bypass -noprofile -file &#8220;C:\\MonAdmin\\scripts\\New-SNowEvent.ps1&#8221; -AlertID &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertId$&#8221; -AlertName &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertName$&#8221; -AssignmentGroup &#8220;JustInTime Server Admins&#8221; -Team SYM<\/p>\n<p>&nbsp;<\/p>\n<p>Startup Folder for Command Line:<\/p>\n<p>C:\\MonAdmin\\SCRIPTS<\/p>\n<p>&nbsp;<\/p>\n<p>Click Finish<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Configure &#8216;ServiceNow SNOW Incident creation channel&#8217;<\/h2>\n<p>This command channel helps admins determine variables possible to pass to PowerShell script(s).<\/p>\n<p>&nbsp;<\/p>\n<h3>SCOM Navigation steps:<\/h3>\n<p>Click on Administration Tab &gt; Notifications &gt; Channels<\/p>\n<p>Click New<\/p>\n<p>&nbsp;<\/p>\n<p>Name<\/p>\n<p>ServiceNow SNOW Incident creation channel<\/p>\n<p>&nbsp;<\/p>\n<p>Use New-SNowIncident.ps1 to create SCOM subscription that creates SNOW incidents, then updates SCOM alert with TicketID, Owner, Resolution State for SCOM alert.<\/p>\n<p>&nbsp;<\/p>\n<p>Full path of the command file:<\/p>\n<p>C:\\windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe<\/p>\n<p>&nbsp;<\/p>\n<p>Command line parameters:<\/p>\n<p>-executionPolicy bypass -noprofile -file &#8220;C:\\MonAdmin\\scripts\\New-SNowIncident.ps1&#8221; -AlertName &#8220;$Data[Default=&#8217;Not Present&#8217;]\/Context\/DataItem\/AlertName$&#8221; -AlertID &#8220;$Data[Default=&#8217;NotPresent&#8217;]\/Context\/DataItem\/AlertId$&#8221; -Impact 4 -Urgency 4 -Priority 3 -AssignmentGroup &#8220;RCC-C &#8211; System Admin&#8221; -BusinessService SYSMAN -Category &#8220;SYSMAN Support&#8221; -SubCategory Repair -Channel Direct<\/p>\n<p>&nbsp;<\/p>\n<p>Startup Folder for Command Line:<\/p>\n<p>C:\\MonAdmin\\SCRIPTS<\/p>\n<p>&nbsp;<\/p>\n<p>Click Finish<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time to update SCOM, specifically to &#8216;create SCOM Command Channels&#8217;, then subscribers, and subscriptions.\u00a0 Depending on requirements, create multiple channels within SCOM. &nbsp; &nbsp; Save .ps1 file(s) to SCOM MS LogAlert.ps1 to verify SCOM notification account New-SNowEvent.ps1 to inject events into ServiceNow New-SNowIncident.ps1 to inject incidents into ServiceNow &nbsp; Save LogAlert.ps1 Create Command channel script &hellip; <a href=\"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Create SCOM Command Channels&#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,5,880,545,530,502,881,742],"tags":[888,883,143,874,684,267,310,686,875,342,714,872,873,887],"class_list":["post-20376","post","type-post","status-publish","format-standard","hentry","category-administration","category-best-practice","category-itsm","category-powershell","category-scom","category-security","category-servicenow-snow","category-windows","tag-account","tag-connector","tag-event","tag-incident","tag-integration","tag-notifications","tag-powershell","tag-rest","tag-restapi","tag-scom","tag-script","tag-servicenow","tag-snow","tag-svc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create SCOM Command Channels - Kevin Justin&#039;s Blog<\/title>\n<meta name=\"description\" content=\"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.\" \/>\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\/2024\/05\/30\/create-scom-command-channels\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create SCOM Command Channels - Kevin Justin&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/\" \/>\n<meta property=\"og:site_name\" content=\"Kevin Justin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-30T18:23:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png\" \/>\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\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/\"},\"author\":{\"name\":\"WordPress Administrator\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"headline\":\"Create SCOM Command Channels\",\"datePublished\":\"2024-05-30T18:23:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/\"},\"wordCount\":789,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/TerminatorSalvationSubmarine-300x155.png\",\"keywords\":[\"account\",\"Connector\",\"event\",\"incident\",\"integration\",\"notifications\",\"powershell\",\"REST\",\"restapi\",\"SCOM\",\"script\",\"ServiceNow\",\"SNOW\",\"svc\"],\"articleSection\":[\"Administration\",\"Best Practice\",\"ITSM\",\"PowerShell\",\"SCOM\",\"Security\",\"ServiceNow SNOW\",\"Windows\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/\",\"name\":\"Create SCOM Command Channels - Kevin Justin&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/TerminatorSalvationSubmarine-300x155.png\",\"datePublished\":\"2024-05-30T18:23:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"description\":\"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/TerminatorSalvationSubmarine.png\",\"contentUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/TerminatorSalvationSubmarine.png\",\"width\":616,\"height\":318,\"caption\":\"Terminator Salvation - Submarine for command - Create SCOM Command Channels\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2024\\\/05\\\/30\\\/create-scom-command-channels\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create SCOM Command Channels\"}]},{\"@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":"Create SCOM Command Channels - Kevin Justin&#039;s Blog","description":"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.","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\/2024\/05\/30\/create-scom-command-channels\/","og_locale":"en_US","og_type":"article","og_title":"Create SCOM Command Channels - Kevin Justin&#039;s Blog","og_description":"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.","og_url":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/","og_site_name":"Kevin Justin&#039;s Blog","article_published_time":"2024-05-30T18:23:52+00:00","og_image":[{"url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png","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\/2024\/05\/30\/create-scom-command-channels\/#article","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/"},"author":{"name":"WordPress Administrator","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"headline":"Create SCOM Command Channels","datePublished":"2024-05-30T18:23:52+00:00","mainEntityOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/"},"wordCount":789,"commentCount":0,"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png","keywords":["account","Connector","event","incident","integration","notifications","powershell","REST","restapi","SCOM","script","ServiceNow","SNOW","svc"],"articleSection":["Administration","Best Practice","ITSM","PowerShell","SCOM","Security","ServiceNow SNOW","Windows"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/","url":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/","name":"Create SCOM Command Channels - Kevin Justin&#039;s Blog","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#primaryimage"},"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine-300x155.png","datePublished":"2024-05-30T18:23:52+00:00","author":{"@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"description":"This post will help document multiple SCOM Command channels to aid PowerShell script execution logging SCOM Alert data.","breadcrumb":{"@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#primaryimage","url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine.png","contentUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2024\/05\/TerminatorSalvationSubmarine.png","width":616,"height":318,"caption":"Terminator Salvation - Submarine for command - Create SCOM Command Channels"},{"@type":"BreadcrumbList","@id":"https:\/\/kevinjustin.com\/blog\/2024\/05\/30\/create-scom-command-channels\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kevinjustin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create SCOM Command Channels"}]},{"@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\/20376","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=20376"}],"version-history":[{"count":2,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/20376\/revisions"}],"predecessor-version":[{"id":20379,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/20376\/revisions\/20379"}],"wp:attachment":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/media?parent=20376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/categories?post=20376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/tags?post=20376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}