Bharat
Thu May 08 10:09:04 CDT 2008
Get-Mailbox -ResultSize unlimited | where {$_.RecipientTypeDetails -eq
"roommailbox"}
or a better way to do it:
Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq
"roommailbox"}
- GetMailboxCalendarSettings returns calendar settings, RecipientTypeDetails
is a mailbox/recipient property.
- Filtering using the -filter parameter filters results at server-side and
returns a smaller resultset.
- List of filterable properties that can be used with -Filter parameter are
provided here:
Filterable Properties for the -Filter Parameter in Exchange 2007 SP1
http://technet.microsoft.com/en-us/library/bb738155(EXCHG.80).aspx
--
Bharat Suneja
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------
"Chad" <jchadpearson@gmail.com> wrote in message
news:98554906-75e5-45ee-800d-9b74a814bece@l42g2000hsc.googlegroups.com...
> Why does the script below return all kinds of mailboxes instead of
> just Room Mailboxes?
>
> Get-MailboxCalendarSettings | where {$_.RecipientType -eq
> [Microsoft.Exchange.Data.Directory.Recipient.RecipientTypeDetails]::ConferenceRoomMailbox}
> | fl