Solved

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

Posted on 2013-12-20
4
556 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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

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…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

758 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

19 Experts available now in Live!

Get 1:1 Help Now