Solved

CN and DC  values to execute commands in EMS

Posted on 2011-03-22
6
623 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
6 Comments
 
LVL 11

Expert Comment

by:RickSheikh
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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 68

Expert Comment

by:Qlemo
Comment Utility
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

763 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

12 Experts available now in Live!

Get 1:1 Help Now