Receive as Access on all Mailboxes for the Administrator Account

Guys,

This is turning out to be a rediculoius issue. All I want to do is set Receive As access on all Mailboxes (6 in total) using the command line tools and I've wasted about half a day.

The exact commant I am using is:

Add-ADPermission -Identity "D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb" -User "PHOENIX\Administrator" -ExtendedRights Receive-As

Can someone please tell me where the error is at Line 1 Char 17, as this is becoming a joke.

Kindest Regards
Scott
SCOTTITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SCOTTITAuthor Commented:
Please ingnore, I've found it ....

Add-ADPermission -Identity "Mailbox Database" -User "PHOENIX\Administrator" -ExtendedRights Receive-As

**!!*( £*£**$*%$**%*%

0
Justin DurrantSr. Engineer - Windows Server/VirtualizationCommented:
The identity needs to be the mailbox name not the full path
0
Justin DurrantSr. Engineer - Windows Server/VirtualizationCommented:
looks like you already resolved
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

SCOTTITAuthor Commented:
OK
0
SCOTTITAuthor Commented:
OK
0
SCOTTITAuthor Commented:
Please Close this question
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.