Forum Discussion

simon_cnhi's avatar
simon_cnhi
Occasional Contributor
2 years ago
Solved

Testing MECM (formerly SCCM) console connectivity

Hi all,

I have a project suite that is dependent upon Microsoft's Endpoint Configuration Manager console completing connection to the MECM infrastructure in another country. Usually this takes about 30 seconds, however there are times it takes longer and this can abort the whole project suite on the very first step.

Is there a way to check, using vbscript, that the console loading process has completed before carrying on with the rest of the test suite?

LOADING

MECM loading

 

 

 

 

 

 

 

 

 

 

LOADED

 

 

 

 

 

 

 

 

 

 

ObjectSpy is indicating the different objects between the 2 states, loading & loaded.

Loading

Aliases.Microsoft_ConfigurationManagement.HwndSource_RibbonConsoleWindow.RibbonConsoleWindow.ConsoleFrame.WPFObject("ConnectingToServer", "", 1).WPFObject("Grid", "", 1)

 

Loaded

Aliases.Microsoft_ConfigurationManagement.HwndSource_RibbonConsoleWindow.RibbonConsoleWindow.RibbonConsoleDisplay.WPFObject("HomePageOverview", "", 1)

 

Is there a script method to test for one or the other specific objects?

All help truly appreciated.

br

Simon

 

2 Replies