We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b42de commit dc5bd51Copy full SHA for dc5bd51
1 file changed
Powershell/SCOM-REST_API-Examples.ps1
@@ -6,7 +6,7 @@
6
# Blog: https://blakedrumm.com/
7
8
# You can modify the below to use HTTP or HTTPS. Replace <WebConsoleAddress> with the address for your Web Console.
9
-$MainURL = 'http://<WebConsoleAddress>/OperationsManager'
+$MainURL = 'http://MS02-2022.contoso-2022.com/OperationsManager'
10
11
function Authenticate-SCOMAPI
12
{
@@ -133,6 +133,6 @@ Write-Output "-----------------------------------------"
133
134
# Get Management Group Health Status
135
$state = Get-ManagementGroupState
136
-Write-Output "Monitored Computer State:`n$($state | ConvertTo-Json)"
+Write-Output "Management Group State:`n$($state | ConvertTo-Json)"
137
138
Write-Output "-----------------------------------------"
0 commit comments