Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI WorkflowServiceBehavior QueryContent of WMI WorkflowServiceBehavior Query.jsMD5 Hash: 1752717CCFD390CA1BD6EBD1791759D9 |
||
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20; var arrComputers = new Array("."); for (i = 0; i < arrComputers.length; i++) { WScript.Echo(); WScript.Echo("=========================================="); WScript.Echo("Computer: " + arrComputers[i]); WScript.Echo("=========================================="); var objWMIService = GetObject("winmgmts:\\\\" + arrComputers[i] + "\\root\\ServiceModel"); var colItems = objWMIService.ExecQuery("SELECT * FROM WorkflowServiceBehavior", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("AddressFilterMode: " + objItem.AddressFilterMode); WScript.Echo("ConfigurationName: " + objItem.ConfigurationName); WScript.Echo("IgnoreExtensionDataObject: " + objItem.IgnoreExtensionDataObject); WScript.Echo("IncludeExceptionDetailInFaults: " + objItem.IncludeExceptionDetailInFaults); WScript.Echo("MaxItemsInObjectGraph: " + objItem.MaxItemsInObjectGraph); WScript.Echo("Name: " + objItem.Name); WScript.Echo("Namespace: " + objItem.Namespace); WScript.Echo("Type: " + objItem.Type); WScript.Echo("UseSynchronizationContext: " + objItem.UseSynchronizationContext); WScript.Echo("ValidateMustUnderstand: " + objItem.ValidateMustUnderstand); WScript.Echo("WorkflowDefinitionPath: " + objItem.WorkflowDefinitionPath); WScript.Echo("WorkflowRulesPath: " + objItem.WorkflowRulesPath); WScript.Echo("WorkflowType: " + objItem.WorkflowType); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |