Logo Informatizzati

Come vedere il progresso di una migrazione di cassetta postale verso un altro database:

Get-MigrationUserStatistics -Identity [indirizzo @email] -IncludeReport | fl Report,Status,Error,SkippedItemCount,SkippedItems,EstimatedTotalTransferSize,BytesTransferred,CurrentBytesTransferredPerMinute,PercentageComplete,TotalItemsInSourceMailboxCount,SyncedItemCount

oppure

Get-MigrationUserStatistics -Identity [indirizzo @email] -IncludeReport | fl

per vedere tutto il dettaglio

Elenco delle cassette postali

Get-CASMailbox | ft

Elenco dei database delle mailbox

Get-MailboxDatabase

Name                           Server          Recovery        ReplicationType
----                           ------          --------        ---------------
Server1 Mailbox Database... SRV01           False           None
Server2 Mailbox Database... SRV02      False           None

Get-MailboxDatabase |ft Name,Server

Name                                   Server    
----                                   ------
Server1 Mailbox Database 9997415999    SRV01
Server2 Mailbox Database 9999652999 SRV02

$mboxes=Get-Mailbox; $res=foreach($mbox in $mboxes){$stats = Get-MailboxStatistics -Identity $mbox.UserPrincipalName| Select DisplayName; $mbox | Select-Object Alias,WhenMailboxCreated,SamAccountName};$results | ft   

Get-mailbox | get-mailboxstatistics  | select DisplayName,TotalItemSize,TotalDeletedItemSize,ItemCount,DeletedItemCount,ServerName,Database,LastLogoffTime,LastLogonTime,SystemMessageSizeWarningQuota,SystemMessageSizeShutoffQuota,DatabaseIssueWarningQuota,OriginatingServer |sort TotalItemSize -Descending| ft -wrap

...

Commenti offerti da CComment