Solved

Cannot Copy User in AD - Exchange Shell Command Error

Posted on 2015-01-23
4
85 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

861 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

23 Experts available now in Live!

Get 1:1 Help Now