![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Determine Mailbox under Storage Group in Exchange Server 2003 Hi, Please can you share any VBScript that can help determining number of mailbox under exchange server or its storage group. Thanks |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Determine Mailbox under Storage Group in Exchange Server 2003 "Rahul" <rahulkohli2001@xxxxxx> wrote in message news:fe19976e-d28d-4545-bb69-f68d29243ca0@xxxxxx Quote: > Hi, > > Please can you share any VBScript that can help determining number of > mailbox under exchange server or its storage group. > > Thanks ========= Option Explicit Dim strComputer, objWMIService, objMailboxes ' Specify the Exchange Server. strComputer = "ExchSrvr3" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate,authenticationLevel=Pkt}!\\" _ & strComputer & "\root\cimv2") Set objMailboxes = objWMIService.ExecQuery _ ("SELECT * FROM Exchange_Mailbox", , 48) Wscript.Echo "Number of mailboxes: " & objMailboxes.Count -- Richard Mueller MVP Directory Services Hilltop Lab - http://www.rlmueller.net -- |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Exchange 2003 Mailbox Store defaults via VBScript | VB Script | |||
| Exchange 2007 issue moving a Datbase mailbox to another storage group | PowerShell | |||
| Set-mailbox like powershell cmdlets with the Exchange 2003 Server | PowerShell | |||
| "unknow exception" when trying to create exchange 2003 mailbox. | VB Script | |||
| How to create a mailbox in Exchange 2003 using Powershell | PowerShell | |||