-
-
Save techthoughts2/56e254ad34bef53e20dc7e1d4fd309ee to your computer and use it in GitHub Desktop.
TBD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#it is possible to query ad without ad cmdlets or rsat on device using ldap | |
$filter = '(&(objectCategory=computer))' | |
$searcher = [ADSISearcher]$filter | |
# search results only | |
$searcher.FindAll() | |
# access to directory entry objects with more details | |
$searcher.FindAll().GetDirectoryEntry() | Select-Object -Property * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment