Link to home
Start Free TrialLog in
Avatar of xzay1967
xzay1967

asked on

EMS scripts no running

I trying to run some scripts to do some mailbox management. One is particular to add some mailbox permissions. After typing the command and pressing Enter, nothing happens, I just end up with new line that only has >> at the beginning. What does that mean when the script does not do anything but give  anew line with >>?


[PS] C:\Windows\system32>Add-MailboxPermission -identity "heather" accessrights
fullaccess -user "zay
>> Add-MailboxPermission -identity heather accessrights fullaccess -user zay
>>
Avatar of Rajitha Chimmani
Rajitha Chimmani
Flag of United States of America image

Missing a character in the command (a hyphen before accessrights parameter). It should be

Add-MailboxPermission -identity "heather" -accessrights fullaccess -user "zay
Avatar of xzay1967
xzay1967

ASKER

Thank you for the quick response, I added the hyphen, and got the same result, a new line with just >> and nothing else happening.
I thought it might be a permissions issue, but I am definitely in the right group.
mail.taylorrealestate.png
ASKER CERTIFIED SOLUTION
Avatar of SubSun
SubSun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial