Solved

Get-MailboxStatistics not working with Powershell on Exchange 2007?

Posted on 2010-09-23
2
2,447 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 68

Accepted Solution

by:
Qlemo earned 500 total points
Comment Utility
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
Comment Utility
got it thanks.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now