Solved

CN and DC  values to execute commands in EMS

Posted on 2011-03-22
6
632 Views
Last Modified: 2012-05-11
Hi
Iam trying to install Blackberry on my Exchange 2010 as per the link below. I am not clever  as how to execute the below command in the EMS.Can you please help me on this.
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB02276

What values do i need to put in the

Identity "CN=<Common_Name>,DC=<domain_1>,DC=<domain_2>,DC=<domain_3>"


Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User "BESAdmin" -Identity "CN=<Common_Name>,DC=<domain_1>,DC=<domain_2>,DC=<domain_3>"

I need to  configuring it for the whole domain.

My actual domain is : morgan-clu.net

below this domain i have a OU called:  ADMIN
again under this ou i have a ou called :  USERS
and under this USERS ou is where the BesAdmin is there

so please tell me the exact  syntax whre i can copy and execute

Thanks
0
Comment
Question by:lianne143
[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
6 Comments
 
LVL 11

Expert Comment

by:RickSheikh
ID: 35194247
For privacy reason, you probably should not disclose your real production name here.

Now for the PowerShell/EMS cmdlet, the CN needs to be like this

"cn=besadmin,ou=users,ou=admin,dc=morgan-clue,dc=net"
0
 

Author Comment

by:lianne143
ID: 35194426
I tried this command it dosent say if it has applied the command sucessfully

after the command i get
>>
>>
>>
0
 
LVL 12

Assisted Solution

by:GusGallows
GusGallows earned 500 total points
ID: 35218152
Make sure you are teminating all of your quoted text. Usually when it just returns the >>, that means you either have a quoted area with no end quotes, or you have an open brack { with no close bracket }.  
The exact command should look as follows all on one line:
Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User "BESAdmin" -Identity "CN=besadmin,OU=users,OU=admin,DC=morgan-clu,DC=net"

Open in new window

0
 
LVL 12

Accepted Solution

by:
GusGallows earned 500 total points
ID: 35218184
You can also write the long values out to a variable and then use the variable in place of the long value. This helps me keep track of my quoted strings. It is easier to check for open and close quotes in this format than to have to read through a long string to see if I quoted everything right. See code below.

Also, try not to mix single and double quotes. They do the same thing, but are not the same thing.
'example" will act as an unclosed string. "example" or 'example' will work properly.
$DN = "CN=besadmin,OU=users,OU=admin,DC=morgan-clu,DC=net"
$usr = "BESAdmin"

Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User $usr -Identity $DN

Open in new window

0
 
LVL 70

Expert Comment

by:Qlemo
ID: 36314982
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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