Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Get-MailboxStatistics not working with Powershell on Exchange 2007?

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A brief introduction to what I consider to be the best editor for PowerShell.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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