Cloud management gateway monitoring
Question
Hi All ,
Anyone is having the script to monitor cloud management gateway ?
Like the state of cmg – ready ,running ,starting etc.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Hi All ,
Anyone is having the script to monitor cloud management gateway ?
Like the state of cmg – ready ,running ,starting etc.
Answers ( 5 )
Can you please share the complete script
https://github.com/MSEndpointMgr/ConfigMgr/blob/master/Site%20Administration/Set-CMCloudManagementGatewayState.ps1
Let me try this GuRu , I am looking for this only . If the state is changed it needs to trigger an alert
.\Set-CMCloudMAnagementGatewayState.ps1 -CloudServiceName “ContosoCMG01.cloudapp.net” -ServiceState
Did you tried with this PS?
Hello – There is already a tool provided by Microsoft.
I don’t know whether you need a script for the same.
Do we know what is that you are trying to achieve with the script pls?
Check out CMG Health check tool – SCCM CMG Troubleshooting Tips with Connection Analyzer – https://www.anoopcnair.com/sccm-cmg-troubleshooting/