What does just:
     Get-User Migrator
return?

________________________________________
From: Kelsey, John [jckel...@drmc.org]
Sent: Wednesday, May 30, 2012 12:24 PM
To: MS-Exchange Admin Issues
Subject: RE: PS Question

The Exchange PS on the Exchange server directly.

When I run the command with the specified account:

Add-ADPermission -Identity (Get-ExchangeServer).DistinguishedName -User 
(Get-User -Identity "Migrator" | select-object).identity -extendedRight 
ms-Exch-EPI-Impersonation

I get a 'cannot bind argument to parameter 'Identity' because it is null.'

Running just (get-exchangeserver).distinguishedName   doesn't return anything, 
which I assume is why its null
Running just plain ol' (get-exchangeserver) returns both my mailbox server and 
my CAS.  So it doesn't like the distinguishedname parameter for some reason?

Thanks!!


-----Original Message-----
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Wednesday, May 30, 2012 2:08 PM
To: MS-Exchange Admin Issues
Subject: RE: PS Question

Correct, as it says: Give the Migrator Account permissions which is what the 
part that follows it does.

Which ps console are you using, and where? You need Get-ExchangeServer...

Also, check what (Get-User -Identity [UserName] | select-object).identity 
returns, maybe even Get-User -Identity <account> etc...

jlc
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist




This email and any attached files are confidential and intended solely for the 
intended recipient(s). If you are not the named recipient you should not read, 
distribute, copy or alter this email. Any views or opinions expressed in this 
email are those of the author and do not represent those of the  company. 
Warning: Although precautions have been taken to make sure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage that arise from the use of this email or attachments.
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

Reply via email to