Solved

Get-MailboxStatistics not working with Powershell on Exchange 2007?

Posted on 2010-09-23
2
2,697 Views
Last Modified: 2012-05-10
I open up Powershell 1.0 on Exchange 2007 and at the prompt I type in Get-MailboxStatistics <username> and it says:

The term 'Get-MailboxStatistics' is not recognized as a cmdlet, function, operable program, or script file. Verify the
term and try again.
At line:1 char:21
+ Get-MailboxStatistics <<<<


What am I doing wrong?
0
Comment
Question by:BryceRichert
2 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 33749227
You need to use the Exchange Admin Console for that. The link should be installed on your desktop. It starts PowerShell with an extension set of cmdlets, which Get-MailboxStatistics is one of it. The complete command is:

powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\bin\Exchange.ps1'"
0
 

Author Closing Comment

by:BryceRichert
ID: 33749266
got it thanks.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question