Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Querying Active Directory via PowerShell

$
0
0

Summary: Learn how to query Active Directory via Windows PowerShell.

Hey, Scripting Guy! Question Can you name five ways to query Active Directory from within Windows PowerShell?

Hey, Scripting Guy! Answer

  1. Use ADO and perform an LDAP dialect query.
  2. Use ADO and perform an SQL dialect query.
  3. Use the Get-ADOObject cmdlet from the Active Directory module.
  4. Use DSQuery.
  5. Use the [ADSISearcher] type accelerator.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>