Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

Table of Contents

First Header

Useful Commands

Convert Mail

Code Block
themeEmacs
languagepowershell
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
themeEmacs
languagepowershell
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
themeEmacs
languagepowershell
Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize

Show Database and Mailbox Count

Code Block
themeEmacs
languagepowershell
Get-Mailbox | Group-Object -Property:Database | Select-Object name,count

Managing Move Requests

Show current move Requests and % Complete

Code Block
themeEmacs
languagepowershell
Get-MoveRequest | Get-MoveRequestStatistics