Category Archives: Exchange 2007

Exchange 2007

Add permissins to use

Add-MailboxPermission -identity TestA -User TestB -AccessRights FullAccess

Export all mailboxes to PST files:

Get-Mailbox -OrganizationalUnit SBSUsers | Export-Mailbox -PSTFolderPath D:PSTFiles
Get-Mailbox -Database ‘XXXX.localMailbox Database’ | Export-Mailbox -PSTFolderPath Z:

Export one mailboxe to PST files:

Get-Mailbox –Identity user1@user1.dk | Export-Mailbox -PSTFolderPath D:PSTFiles

Size on mailboxes:

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount