Solved

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

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

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

626 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