My Useful Commands

Commands

Get Mailboxes size

PS C:\Users\Administrator> Get-MailBox | Get-MailboxStatistics | select DisplayName,Totalitemsize

Display user mailbox informations

PS C:\Users\Administrator> Get-Mailbox -Identity "My User"
PS C:\Users\Administrator> Get-Mailbox -Identity "My User" | Select-Object DisplayName, Lit*

Managing clutter

PS C:\Users\Administrator> Get-Clutter -Identity user1
PS C:\Users\Administrator> Set-Clutter -Identity user1 -Enable $False

Get every primary address

PS C:\Users\Administrator> Get-Recipient -ResultSize unlimited | Select-Object PrimarySMTPAddress

Get Mailboxe Permission

PS C:\Users\Administrator> Get-MailboxPermission contact@shebangthedolphins.net

Get users list

PS C:\Users\Administrator> Get-User

Assign the user admin Full Access permission to contact's mailbox

PS C:\Users\Administrator> Add-MailboxPermission -Identity "contact" -user "admin" -AccessRights FullAccess
Licence Creative Commons
This website http://shebangthedolphins.net is licensed to the public under a licence Creative Commons Attribution licence.
Contact :