• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

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
>>
0
xzay1967
Asked:
xzay1967
  • 2
1 Solution
 
Rajitha ChimmaniCommented:
Missing a character in the command (a hyphen before accessrights parameter). It should be

Add-MailboxPermission -identity "heather" -accessrights fullaccess -user "zay
0
 
xzay1967Author Commented:
Thank you for the quick response, I added the hyphen, and got the same result, a new line with just >> and nothing else happening.
0
 
xzay1967Author Commented:
I thought it might be a permissions issue, but I am definitely in the right group.
mail.taylorrealestate.png
0
 
SubsunCommented:
Add-MailboxPermission -identity "heather" -accessrights fullaccess -user "zay
Probably issue is, In above line you didn't close the  Inverted commas for zay

What if you try
Add-MailboxPermission -identity heather -accessrights fullaccess -user zay
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now