Exchange General Operations

      Yorum yok Exchange General Operations
Get-Mailbox | Group-Object -Property:Database | Select-Object Name,Count | Sort-Object Name | Format-Table -Auto

Get-MailboxDatabase -Status | select Name,Databasesize,Availablenewmailboxspace


Get-MailboxDatabaseCopyStatus

Test-ReplicationHealth

Get-MailboxDatabase | fl Name,EdbFilePath,LogFolderPath

Set-MailboxDatabase "Mailbox Database 2116642217" -Name "DB01"

Move-DatabasePath DB01 -EdbFilePath D:\DB01\DB01.edb -LogFolderPath E:\DB01

 

Get-MailboxLocation -Identity 123ABC | fl DatabaseLocation
New-MailboxRepairRequest -Mailbox "123ABC " -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
Get-MailboxRepairRequest -Mailbox "123ABC | FL Tasks,Corruption,Progress,JobState*
New-MailboxExportRequest -FilePath \\excmbx1\Export\123ABC.pst -Mailbox "123ABC

Disable-Mailbox 123ABC -Confirm:$False

Enable-Mailbox -Identity 123ABC -Database PersonelDB01

New-MailboxImportRequest -FilePath \\excmbx1\import\ 123ABC .pst -Mailbox " 123ABC "

 

Get-MailboxStatistics -Database PersonelDB01 | Sort LastLogonTime -Descending

Get-Mailbox | Group-Object -Property:Database | Select-Object Name,Count | Sort-Object Name | Format-Table -Auto
Get-MailboxExportRequest -Status Suspended | Resume-MailboxExportRequest

Get-MailboxExportRequest -Status Failed | Remove-MailboxExportRequest

Get-MailboxImportRequest | Get-MailboxImportRequestStatistics | ft -AutoSize

Get-MailboxImportRequest -Status Failed | Remove-MailboxImportRequest

Get-Mailbox -Database "PersonalDB01"
Get-Mailbox -Database "PersonalDB01" -Archive
Get-Mailbox -Database "PersonalDB01" -PublicFolder
Get-Mailbox -Database "PersonalDB01" -Arbitration
Get-Mailbox -Database "PersonalDB01" -AuditLog
Get-Mailbox | Group-Object -Property:Database | Select-Object Name,Count | Sort-Object Name | Format-Table -Auto


Get-Mailbox -Database "PersonalDB01" | Sort LastLogonTime -Descending | Format-Table -Auto

Get-Mailbox -Database "PersonalDB01" | Sort LastLogonTime -Descending | Format-Table DisplayName, LastLogonTime -AutoSize

 

Get-MailboxRepairRequest -Mailbox "123abc" | FL Tasks,Corruption,Progress,JobState*
New-MailboxRepairRequest -Mailbox "123abc" -CorruptionType ProvisionedFolder,SearchFolder,AggregateCounts,Folderview
Get-MailboxRepairRequest -Mailbox "123abc" | FL Tasks,Corruption,Progress*
Remove-MailboxRepairRequest -Identity "123abc"
Get-MailboxRepairRequest -Mailbox "123abc" | FL Tasks,Corruption,Progress,JobState*
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
New-MoveRequest -Identity "123abc" -Priority High -TargetDatabase "PersonalDB02"


Get-MailboxDatabase -Identity "PersonalDB01" | Get-MailboxRepairRequest | Remove-MailboxRepairRequest

Get-MoveRequest | where {$_.Status -eq "Completed"}
Get-MoveRequest | where {$_.Status -eq "InProgress"}
Get-MoveRequest | where {$_.Status -eq "Failed"}

Get-MailboxRepairRequest | Remove-MailboxRepairRequest
Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest
Get-MailboxRestoreRequest -Status Failed | Remove-MailboxRestoreRequest
Get-MailboxRestoreRequest -Status Queued | Remove-MailboxRestoreRequest

Get-MoveRequest -MoveStatus InProgress | Remove-MoveRequest
Get-MoveRequest -MoveStatus Failed | Remove-MoveRequest
Get-MoveRequest -MoveStatus Completed | Remove-MoveRequest

New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "
New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "excadmin"
New-MailboxExportRequest -Mailbox <user> -FilePath \\<server FQDN>\<shared folder name>\<PST name>.pst
Get-MailboxExportRequest -Status InProgress
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxExportRequest -Status Failed | Remove-MailboxExportRequest
Exchange ECP Connect

 

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.