Get AD Schema info from PowerShell
Image via Wikipedia
I was looking for a way to collect user information with Get-QADUser from other domains. (I’m thinking I need to use the searchscope option but haven’t found the syntax yet) and ran into this little gem
Get-QADRootDSE | Format-List *
The output will give you the DC Function level,the domain function level and the Forest function level in a nice readable format, as well as a bunch of other AD Scheme info QADRootDSE.
Thank you Dmitry for the one-liner
Powershell is sweet, I just need to use it more on a consistent basis so I remember what I learned. Seems like I only pull it out every few months. Now that we are finally getting some Windows 2008 R2 servers and plan to role out Windows 7 this year, I hope I’ll be able to use it daily.
Related posts:
- powershell script to list all servers in the forest
- PowerShell: Microsoft releases a new Windows Command Prompt
- powershell to get network settings
- links for 2009-11-26
- Active Directory & Exchange Schema Versions
Related posts brought to you by Yet Another Related Posts Plugin.






