Solved

EMS scripts no running

Posted on 2013-02-01
4
247 Views
Last Modified: 2013-03-01
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
Comment
Question by:xzay1967
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 38845496
Missing a character in the command (a hyphen before accessrights parameter). It should be

Add-MailboxPermission -identity "heather" -accessrights fullaccess -user "zay
0
 

Author Comment

by:xzay1967
ID: 38845509
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
 

Author Comment

by:xzay1967
ID: 38845522
I thought it might be a permissions issue, but I am definitely in the right group.
mail.taylorrealestate.png
0
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 38855891
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now