Skip to content

Commit dc5bd51

Browse files
authored
Verified working SCOM 2019 :octocat: 💻
1 parent 65b42de commit dc5bd51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Powershell/SCOM-REST_API-Examples.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Blog: https://blakedrumm.com/
77

88
# You can modify the below to use HTTP or HTTPS. Replace <WebConsoleAddress> with the address for your Web Console.
9-
$MainURL = 'http://<WebConsoleAddress>/OperationsManager'
9+
$MainURL = 'http://MS02-2022.contoso-2022.com/OperationsManager'
1010

1111
function Authenticate-SCOMAPI
1212
{
@@ -133,6 +133,6 @@ Write-Output "-----------------------------------------"
133133

134134
# Get Management Group Health Status
135135
$state = Get-ManagementGroupState
136-
Write-Output "Monitored Computer State:`n$($state | ConvertTo-Json)"
136+
Write-Output "Management Group State:`n$($state | ConvertTo-Json)"
137137

138138
Write-Output "-----------------------------------------"

0 commit comments

Comments
 (0)