列表交换计划间隔信息

返回 Microsoft Exchange 2003 日程间隔信息。
Visual Basic
On Error Resume Next

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

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

For Each objItem in colItems
Wscript.Echo “Start time: ” & objItem.StartTime
Wscript.Echo “Stop time: ” & objItem.StopTime
Wscript.Echo
Next

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

还没有评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.