[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

exchange 2007

Posted on 2016-08-15
3
Medium Priority
?
102 Views
Last Modified: 2016-08-16
I am trying to run get-mailboxreport.ps1 on my mailbox server exchange 2007

when I run it says command let not recognized  I am running on windows PowerShell

anything I need to correct
0
Comment
Question by:pramod1
3 Comments
 
LVL 17

Expert Comment

by:Ivan
ID: 41756261
Hi,

I think that you should run that in Exchange Shell, not PS.

Regards,
Ivan.
0
 
LVL 28

Accepted Solution

by:
MAS earned 2000 total points
ID: 41756270
Cope the "get-mailboxreport.ps1" to C:\reports
The navigate to C:\Reports in Exchange powershell then try the below commands
For Mailbox
.\Get-MailboxReport.ps1 -Mailbox <mailboxname>

Open in new window

For Database
.\Get-MailboxReport.ps1 -Mailbox <mailboxname>

For detail please type the below command from the same location
Get-Help .\Get-MailboxReport.ps1

Open in new window


Screenshot below for your reference
screenshot
Thanks
MAS
0
 

Author Comment

by:pramod1
ID: 41756307
I want to use -all command when I type I get this .(error attached)
Capture.PNG
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

834 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