Hi,
Requirement: Add an AD Security Group with "Editor" rights on all MeetingRoom objects in the Exchange 2010 organization using Powershell.
MailEnabledDistribution Group alias = abcd1
The PS command I am running is :-
$all=Get-Mailbox -RecipientTypeDetails RoomMailbox
ForEach-Object {_.item in $all} {Add-MailboxFolderPermission -Identity ($item.alias+:\Calendar") -User abcd1 -AccessRights "Editor"}
Is this the right PS command or a better one exists to accomplish the goal.
Cheers
H
HA