(2013-01-12) Active Directory Schema Discovery PowerShell Script/Tool
Posted by Jorge on 2013-01-12
Alexandre Augagneur, another directory services MVP, has created/released a PowerShell script that investigates the schema of your AD.
It tells you all kinds of things such as:
- Count of attributes created on a specific date;
- The date and time the AD schema was created;
- The version of the AD schema;
- The version of the Exchange schema;
- The version of the Lync schema;
- The number of schema objects found;
- The number of unknown schema objects found;
- A full list of schema objects/attributes (this can be exported to CSV to be imported into Excel).
-
You can connect to a local AD forest or a remote AD forest. However for the remote AD forest, your local AD forest must at least have a one-way trust where your local AD forest is the trusted AD forest and the remote AD forest is the trusting AD forest. Before using the tool/script you must download and load a CSV file that contains all the information about the schema objects/attributes and their version information.
Figure 1: The Active Directory Schema Discovery Script/Tool
-
Figure 2: The CSV File That Needs To Be Download
-
Figure 3: The CSV That Was Exported From The Tool To Be Imported Into Excel
-
You can get the script/tool through the following link: Active Directory Schema Discover 1.0
-
Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
http://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/
########
———————————————————————————————


Willem said
Link is wrong, should be: http://gallery.technet.microsoft.com/scriptcenter/Active-Directory-Schema-1aab6664
Jorge said
Stupid mistake on my side. Thanks for notifying me about it!
Link has been updated!
Rebell said
Hello,
how-to signature a powershell script ?
Thanks!
Jorge said
Google is your friend….
http://lmgtfy.com/?q=signing+a+powershell+script
http://www.hanselman.com/blog/SigningPowerShellScripts.aspx
http://blogs.technet.com/b/heyscriptingguy/archive/2010/06/17/hey-scripting-guy-how-can-i-sign-windows-powershell-scripts-with-an-enterprise-windows-pki-part-2-of-2.aspx