Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ensure the access control permissions for the AD Schema object help

Status
Not open for further replies.

molerrrr

Programmer
Jan 27, 2011
12
0
0
US
hello, I am trying to learn the active directory module. I am able to obtain permissions for my domain but I am unable to get permissions for my AD schema. Can anyone help guide me. Below is what I have tried.

import-activedirectory module


The below does it for my OU... How can I get the schema?
get-acl 'AD:\OU=TEST OU,DC=IATESTDOMAIN,DC=dhl,DC=c2fse,DC=MyDomain,DC=com' | select -exp Access

To sum up, I am trying to get the permissions using command line rather than doing the following snap in.

Register the required DLL module by typing the following at a command line "regsvr32 schmmgmt.dll".
Run "mmc.exe" to start a Microsoft Management Console.
Select Add/Remove Snap-in from the File menu.
From the Available Standalone Snap-ins list, select Active Directory Schema
Select the Add button.
Select the OK button.


Any help is greatly appreciated. Thanks to all in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top