User Tools

Site Tools


programmazione:migrazione_mailbox_via_powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmazione:migrazione_mailbox_via_powershell [ 4/01/2023 06:41] lrosaprogrammazione:migrazione_mailbox_via_powershell [20/05/2023 05:44] (current) – [Iniziare la migrazione] lrosa
Line 2: Line 2:
  
 Comandi che possono tornare utili. Comandi che possono tornare utili.
 +
 +=====Vedere tutta la foresta=====
 +<code powershell>Set-AdServerSettings -ViewEntireForest $true -PreferredGlobalCatalog domain.controller.fqdn.local</code>
  
 =====Iniziare la migrazione===== =====Iniziare la migrazione=====
 <code powershell>New-MoveRequest -Identity 'identity' -TargetDatabase "EXCHANGEDB" -Priority Highest <code powershell>New-MoveRequest -Identity 'identity' -TargetDatabase "EXCHANGEDB" -Priority Highest
 New-MoveRequest -Identity 'identity' -TargetDatabase "EXCHANGEDB" -Priority Highest -SkipMoving:FolderRestrictions</code> New-MoveRequest -Identity 'identity' -TargetDatabase "EXCHANGEDB" -Priority Highest -SkipMoving:FolderRestrictions</code>
 +
 +Per copiare i dati fino al 95% e tenere il target in sync aggiungere ''-SuspendWhenReadyToComplete'' e poi finalizzare con ''Resume-Moverequest''
  
 =====Controllare le migrazioni===== =====Controllare le migrazioni=====
Line 21: Line 26:
 <code powershell>Get-Mailbox -Database EXCHANGEDB</code> <code powershell>Get-Mailbox -Database EXCHANGEDB</code>
  
 +=====Dettagli delle mailbox=====
 +<code powershell>Get-Mailbox -Identity Identity| FT DisplayName,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota,UseDatabaseQuotaDefaults
 +Get-Mailbox -ResultSize Unlimited | Select-Object Name,whenMailboxCreated | Sort-Object whenMailboxCreated -Descending
 +</code>
  
  
  
  
programmazione/migrazione_mailbox_via_powershell.1672814490.txt.gz · Last modified: 4/01/2023 06:41 by lrosa