?
Solved

EMS scripts no running

Posted on 2013-02-01
4
Medium Priority
?
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

719 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