Quest One ActiveRoles Management Shell for Active Directory

Domain controller Inventory. Tested on 2008 & 2008 R2. It is quest pwershell & it is freeware. For viewing the AD object you dont required any additional permission.

http://social.technet.microsoft.com/wiki/contents/articles/2308.quest-powershell-for-active-directory.aspx

Quest Powershell is completely free Tool & can download from Quest site.

If you find this script somehow helpful ;provide the rating.

PowerShell
Edit|Remove
###------------------------------### 
### Author : Biswajit Biswas-----###   
###--MCC, MCSA, MCTS, CCNA, SME--### 
###Email<bshwjt@gmail.com>-------### 
###------------------------------### 
###/////////..........\\\\\\\\\\\### 
###///////////.....\\\\\\\\\\\\\\### 
get-QADComputer -computerRole 'DomainController' -IncludeAllProperties -SerializeValues | select sAMAccountName,operatingSystem,operatingSystemServicePack,operatingSystemVersion,msDS-isGC,msDS-isRODC,msds-sitename| Export-CSV c:\DCS_Inventory.csv
 See the output