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
Micrsoft Defender for Endpoints
We use Microsoft Defender for endpoints on our physical workstations. I'm now looking at it for our servers. The servers...
Security URL scanners
As the internet continues to evolve, so do the threats that come with it. One of the most common threats...
Security tools bookmarks
As I'm learning about different security tools and solutions, I keep adding to my bookmarks for follow-up. Today, I'm sharing...
Sync Active directory user data with SharePoint
If you want to sync standard common attributes from active directory to sharepoint. Its easy, AD sync to Azure AD...
Microsoft graph API to access sharepoint
Recently I've had to setup a few different app registration using Azure AD to access sharepoint sites. Once you get...
SQL upgrades
We have a few SQL servers that need to be upgraded before they go end of life. We are looking...
One thought on “Get AD Schema info from PowerShell”