列表中 Exchange 虚拟服务器队列信息

列出有关虚拟服务器队列运行 Microsoft Exchange Server 2003 的计算机上的信息。
Visual Basic
On Error Resume Next

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” & strComputer & _
“\ROOT\MicrosoftExchangeV2″)

Set colItems = objWMIService.ExecQuery _
(“Select * from Exchange_QueueVirtualServer”)

For Each objItem in colItems
Wscript.Echo “Global actions supported: ” & _
objItem.GlobalActionsSupported
Wscript.Echo “Global stop: ” & objItem.GlobalStop
Wscript.Echo “Protocol name: ” & objItem.ProtocolName
Wscript.Echo “Virtual machine: ” & objItem.VirtualMachine
Wscript.Echo “Virtual server name: ” & _
objItem.VirtualServerName
Wscript.Echo
Next

Latest posts by Exchange中文站 (see all)
发布于: 浏览:1650 次

还没有评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据