create shared mailbox using PowerShell

 

1.      Run below command in office 365 PowerShell to create shared mailbox.

 

Set-Mailbox –identity ‘username@xyz.com’ -Type shared

 

2.      Run below command in office 365 PowerShell to assign audit log age.

 

Set-Mailbox -identity username@xyz.com -AuditEnabled $true -AuditLogAgeLimit 180

No comments: