Tag: DSQuery
-
Exporting a list of all computers from Active Directory
Last week I covered how you can use the DSQuery command to export members of a given AD Group. This week, on a related note, I will cover how to use the same basic command to export all computer accounts in Active Directoy. Log on to your Domain Controller Open a command prompt Enter the…
-
Exporting members of an Active Directory group
A while back, my boss came to me, asking me if I could get him an export of the users that are members of two groups in Active Directory. For the purposes of this blog post, let’s call them “OfflineUsers” and “Software Access”. As it turns out, this is pretty easy to do. Here’s how:…