Solved

Script to see the log of the mover requests for the mailbox

Posted on 2013-12-20
4
559 Views
Last Modified: 2013-12-20
Hello,
Could you please help me with the script. I need to get the log for move-requests from PowerGui ....The mailbox moves takes over 24 hours for mailbox that is 2GB.

For example...Get-365MoveRequest | Get-365MoveRequestStatistics | ....etc

Also, the script that I can run that quickly determines what is the issue with mailbox moves that take so long; couple of scripts that test the functionality and check threshold limits, etc
THank you very much.
0
Comment
Question by:claudiamcse
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:imkottees
ID: 39731864
0
 

Author Comment

by:claudiamcse
ID: 39732240
Is there a mistake in the script below??  

I want to send the output to the excel file. Please help.....

Get-MoveRequest | Get-MoveRequestStatistics | select DisplayName,Alias,Status,StatusDetail,TotalMailboxSize,PercentComplete,OverallDuration,BytesTransferred,BytesTransferredPerMinute |ConvertTo-Html -head $a –body “
 
Current Migration Statistics – Updated $b
 
” | Out-File .\movestats.htm

The following worked, but I would like to format it and send it to the file. THank you.

Get-365MoveRequest | Get-365MoveRequestStatistics | select DisplayName,Alias,Status,StatusDetail,TotalMailboxSize,PercentComplete,OverallDuration,BytesTransferred,BytesTransferredPerMinute


I am not sure where to use the following:
$a = “<style>”
 $a = $a + “BODY{font-family:arial;color:white; background-color:#003466;}
 $a = $a + “TABLE{border-width: 1px;border-style: solid;border-color: white;border-collapse: collapse;}”
 $a = $a + “TH{border-width: 1px;padding: 5px;border-style: solid;border-color: white;background-color:#003466}”
 $a = $a + “TD{border-width: 1px;padding: 5px;border-style: solid;border-color: white;background-color:#003466}”
 $a = $a + “”
 $b = get-date
0
 
LVL 13

Accepted Solution

by:
imkottees earned 500 total points
ID: 39732265
here you go...

Get-365MoveRequest | Get-365MoveRequestStatistics | select DisplayName,Alias,Status,StatusDetail,TotalMailboxSize,PercentComplete,OverallDuration,BytesTransferred,BytesTransferredPerMinute | Export-Csv c:\moverequest.csv
0
 

Author Closing Comment

by:claudiamcse
ID: 39732940
Excellent!!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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 is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

863 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

17 Experts available now in Live!

Get 1:1 Help Now