Exchange 2010 Powershell Export Logs

Good Morning, Experts!

I am just attempting to find out where Exchange 2010 would store the Export Logs from a PowerShell New-MailboxExportRequest export. I checked in C:\Program Files\Microsoft\Exchange Server\V14\Logging, but cannot find any logs pertaining to exports. Any assistance is appreciated!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kanti PrasadCommented:

did you try this cmdlet?  Get-MessageTrackingLog
WoodraxAuthor Commented:

I am only looking for information pertaining to the Export of PST files, and whether or not they completed without Error.
Christopher MilliganIT ManagerCommented:
You should be able to use

Get-MailboxImportRequest | Get-MailboxImportRequestStatistics

This should show you the status of the actual export, not sure where the actual logs are stored if they fail.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

WoodraxAuthor Commented:

Is the above command for Exports in progress? There is no output from the command itself, and the PST exports have already completed.
Christopher MilliganIT ManagerCommented:
No it should show you all the imports that have completed/failed before they have been cleared down using something similar to:

Get-MailboxImportRequest | where {$_.status -eq "Completed"} | Remove-MailboxImportRequest

or just

Get-MailboxImportRequest | Remove-MailboxImportRequest
Will SzymkowskiSenior Solution ArchitectCommented:
The logs will be located in the location where it is specified after the export fails.

This log will be located on the machine that you run this command and not directly on the Exchange server unless you have run this command from there.

So if you ran this command remotely from your workstation when check this path on your workstation and it should be there.

WoodraxAuthor Commented:
I am sure I am doing something wrong, as I get no output from the above commands. I just get a blank command line, as if nothing happened. Not sure if something has run (such as backups) that might have parsed out information pertaining to the PST exports.
WoodraxAuthor Commented:

I ran the Export on the Exchange server from the Exchange Management Shell. No dice when checking in C:\Program Files\Microsoft\Exchange Server\V14\Logging
Will SzymkowskiSenior Solution ArchitectCommented:
If you run this from a workstation rather than the Exchange server i.e ( your workstation) are the logs present on your workstation?

Christopher MilliganIT ManagerCommented:
Hi Woodrax,

a backup may well remove it, I honestly don't know.  If you want to run a test export then run that above command it should show you want to expect.  From memory you can also add in -IncludeReport after the Get-MailboxExportStatistics part to get a more detailed report on screen.  You can also export this to a text file by adding | fl >filenamegoeshere.txt after that again.

WoodraxAuthor Commented:

So, I ran a test export, then ran the Get-MailboxImportRequest | Get-MailboxImportRequestStatistics command. Still no output. I tried piping to a text file, as you outlined, and a text file was created, but was blank. Sorry.
WoodraxAuthor Commented:
Got this figured out on my own. Thank you for all of the individuals who took time to try and assist.

I used the following to get the information I needed:

Get-MailboxExportRequestStatistics -Identity USER\MailboxExport | Export-CSV "\\Target_Server\USER_Exportstats.csv"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WoodraxAuthor Commented:
Found solution by researching further.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.