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 articles by Zemanta
- The Deployment Guys : Creating a SID Mapping File with Windows PowerShell (myitforum.com)
- PowerShell Script Club in Rochester on Wednesday (huddledmasses.org)
- PowerShell: AD Workstation Cleanup Script version 2.0 " Trevor Sullivan’s Tech Room (myitforum.com)
More Stories
How to configuration SMB3 and encryption
We have not enforced SMB3 and encryption, but have now started a SOX review and need data copied between servers...
Windows and SQL editions comparison
Capturing data on the limits of both windows server and SQL based on the edition for quick reference. Comparison of...
Enable passwordless security key sign-in to on-premises resources by using Azure AD
As we transition to Azure AD computers and leave domain joined PCs behind. Most of our data and applications are...
windows update for business and intune
We are having issues with machines not patching even with the Intune policies set. I'm documenting different post I've found...
Enabled the Lock Screen for inactive users
Quick link from Twitter, don’t want to lose the link https://twitter.com/anoopmannur/status/1497256566206181376?s=21 https://www.anoopcnair.com/set-automatic-lock-screen-for-inactive-device-intune/
One thought on “Get AD Schema info from PowerShell”