TBD
#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 *