But, how can we do it in the shell?
In order to list all the resource mailboxes in your organization, run the command
Get-Mailbox | Where-object { $_.IsResource -eq 'true' }
To list all room mailboxes, run any one command,
Get-Mailbox -RecipientTypeDetails RoomMailbox
Get-Mailbox | Where-Object { $_.IsResourcetype -eq 'room' }
To list all equipment mailboxes, run any one command,
Get-Mailbox -RecipientTypeDetails EquipmentMailbox
Get-Mailbox | Where-Object { $_.IsResourcetype -eq 'equipment' }
No comments:
Post a Comment