Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot Copy User in AD - Exchange Shell Command Error

Posted on 2015-01-23
4
Medium Priority
?
124 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
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 …

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