Solved

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

Posted on 2013-12-20
4
571 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
[X]
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
  • 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

752 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