Table of Contents
Useful Commands
Convert Mail
Code Block |
---|
theme | Emacs |
---|
language | powershell |
---|
|
Set-Mailbox ConfRoom1 -Type Room |
You can use the following values for the Type parameter:
- Regular
- Room
- Equipment
- Shared
Setup new Shared Mailbox
Code Block |
---|
theme | Emacs |
---|
language | powershell |
---|
|
New-Mailbox -Name "mailbox" -Database "database" -UserPrincipalName mailbox@domain.com -Shared
Add-MailboxPermission "mailbox" -User "user" -Access Rights FullAccess
Add-ADPermission "mailbox" -User "user" -ExtendedRights Send-As |
Database Management and Statistics
Show Server Name, Database Name, Database Size:
Code Block |
---|
theme | Emacs |
---|
language | powershell |
---|
|
Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize |
Show Database and Mailbox Count
Code Block |
---|
theme | Emacs |
---|
language | powershell |
---|
|
Get-Mailbox | Group-Object -Property:Database | Select-Object name,count |
Managing Move Requests
Show current move Requests and % Complete
Code Block |
---|
theme | Emacs |
---|
language | powershell |
---|
|
Get-MoveRequest | Get-MoveRequestStatistics |