Solved

Cannot Copy User in AD - Exchange Shell Command Error

Posted on 2015-01-23
4
119 Views
Last Modified: 2016-02-28
Get-mailbox | Where {$_.AddressListMembership –like “*deleted*” | Update-Recipient
this results in a prompt of >>

http://support.risualblogs.com/blog/2013/06/18/windows-cannot-create-the-object-username-because-the-name-reference-is-invalid/

this is from this link to correct a GAL error in AD.

What is wrong with the shell command - it just sits at >> and never executes.  Must be some error in syntax.
HELP!
0
Comment
Question by:PlatinumInfo
[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
4 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40566489
>> means that the command is missing a closing bracket. It should be like below...

Get-mailbox | Where {$_.AddressListMembership –like “*deleted*” }| Update-Recipient

Will.
0
 

Author Comment

by:PlatinumInfo
ID: 40567327
Thanks bro, should of caught that, sorry.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses
Course of the Month6 days, 21 hours left to enroll

622 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