need a quest ad cmdlets or posh script to grant full access to a set of conf room mailboxes

can someone provide a script that will assign fullaccess rights to a user on a set of conf room mailboxes. all starting with prefix: conf-xyz*

thx in advance
siber1Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jamie McKillopConnect With a Mentor IT ManagerCommented:
Hello,

The following line of powershell will do what you want:

Get-Mailbox -Filter {Name -like "conf-xyz*"} | Add-MailboxPermission -user domain\username -Accessright Fullaccess

Open in new window


-JJ
0
 
siber1Author Commented:
thanks JJ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.