Solved

Cannot Copy User in AD - Exchange Shell Command Error

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The purpose of this video is to demonstrate how to set up Lists in Mailchimp. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchimp account. : Click on Lists. Click on Create List Button : Choose the desi…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

832 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