Messaging and Communication Microsoft Exchange Server 2003 List Exchange XML Queue Data , WMI
' List Exchange XML Queue Data
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\ROOT\MicrosoftExchangeV2")
Set colItems = objWMIService.ExecQuery _ ("Select * from Exchange_QueueData")
For Each objItem in colItems Wscript.Echo "Server name: " & objItem.ServerName Wscript.Echo "XML queue data: " & objItem.XMLQueueData Wscript.Echo Next
|
VbsEdit includes all these samples!
Download Now!
Version 5.4.1 - This package includes VbsEdit 32-bit, VbsEdit 64-bit, HtaEdit 32-bit and HtaEdit 64-bit. The evaluation version never expires.
Home
|