jcrgroup_pro

MailBox Cmdlets

Jan 14th, 2023 (edited)
824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #get mailboxes on server
  2. Get-Mailbox | Sort Name | ft Name,ExchangeGuid
  3.  
  4. #get by GUID
  5. Get-Mailbox | Select Name,GUID | where GUID -eq 02106899-097d-4d43-8402-e531bd393d31
  6. Get-MailboxDatabase | Select Name,GUID | where GUID -eq bdd1f0ba-57b1-4180-a6b9-91f218b89e6e
  7.  
  8. The mailbox 02106899-097d-4d43-8402-e531bd393d31 on database bdd1f0ba-57b1-4180-a6b9-91f218b89e6e is over its storage limit. The user will be unable to send any mail until the mailbox is brought under quota. A notification has been sent to the user. This warning will not be sent again for at least twenty four hours.
  9.  
  10. Get-Mailbox -Database "GSP12ExSystemDB" | ft Name, Alias, WindowsEmailAddress, UserPrincipalName
  11.  
  12. #Show hidden boxes
  13. #https://msundis.wordpress.com/2010/03/29/show-and-move-hidden-arbitration-mailboxes-in-exchange-server-2010/
  14. Get-Mailbox -Database GSP12ExSystemDB -Arbitration
Tags: exchange
Advertisement
Add Comment
Please, Sign In to add comment