fireguy1125
asked on
Exchange 2010 List Room Mailboxes and Delegates Powershell Command
I need a powershell script that will list all the room mailboxes, their delegates, and if that room mailbox is set to forward meeting requests to delegates.
ASKER
Thanks, how can I get the results in csv format, and the GrandSendOnBehalfTo shown as just the Display name and not the full AD path - I essentially want to get this into excel to distribute.
Use the below command...
Will.
get-mailbox | ? {$_.ResourceType -eq "Room"} | select name, resourceType, GrantSendOnBehalfTo, Forwardingsmptaddress, forwardingaddress | export-csv "c:\resourcemailboxes.csv"
Will.
ASKER
Thanks, weird, but in the CSV its populating the GrantSendOnBehalfTo as the following in each item:
Microsoft.Exchange.Data.Di rectory.AD MultiValue dProperty` 1[Microsof t.Exchange .Data.Dire ctory.ADOb jectId]
Your original showed valid data in the Powershell window - any ideas why that's the case?
Microsoft.Exchange.Data.Di
Your original showed valid data in the Powershell window - any ideas why that's the case?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! Happy new year!
GrantSendOnBehalfTo will give you a good indication of your delegates as delegates have this permissions when it is granted.
Open in new window
Will.