• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • 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
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.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

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