Contact Info

Crumbtrail » Administration » Scripts » WMI Performance Counters » VBScript

DAClientExperienceConfiguration - WMI sample in VBScript

The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).

ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.

On this site, you can find many WMI samples.

The DAClientExperienceConfiguration WMI class can be used in ActiveXperts Network Monitor to monitor your servers.



Set objWMIService = GetObject("winmgmts:\\.\root\StandardCimv2")

Set colItems = objWMIService.ExecQuery("Select * From MSFT_DAClientExperienceConfiguration")

For Each objItem in colItems
	WScript.Echo "Caption:" & objItem.Caption
	WScript.Echo "CorporateResources:" & Join(objItem.CorporateResources)
	WScript.Echo "CustomCommands:" & Join(objItem.CustomCommands)
	WScript.Echo "Description:" & objItem.Description
	WScript.Echo "ElementName:" & objItem.ElementName
	WScript.Echo "ForceTunneling:" & objItem.ForceTunneling
	WScript.Echo "FriendlyName:" & objItem.FriendlyName
	WScript.Echo "GslbFqdn:" & objItem.GslbFqdn
	WScript.Echo "InstanceID:" & objItem.InstanceID
	WScript.Echo "IPsecTunnelEndpoints:" & Join(objItem.IPsecTunnelEndpoints)
	WScript.Echo "ManualEntryPointSelectionAllowed:" & objItem.ManualEntryPointSelectionAllowed
	WScript.Echo "PassiveMode:" & objItem.PassiveMode
	WScript.Echo "PolicyStore:" & objItem.PolicyStore
	WScript.Echo "PreferLocalNamesAllowed:" & objItem.PreferLocalNamesAllowed
	WScript.Echo "SupportEmail:" & objItem.SupportEmail
	WScript.Echo "UserInterface:" & objItem.UserInterface
	WScript.Echo ""
	WScript.Echo "########"
	WScript.Echo ""