qwert5905
asked on
Export a list of computer accounts in Active Directory.
I am looking for a way to export all computer accounts from Active Directory 2003. Thanks.
dsquery computer > computers.txt
There are also some great programs from
sysinternals.com ( Now owned by MS ).
I hope this helps !
sysinternals.com ( Now owned by MS ).
I hope this helps !
As LauraEHunterMVP wrote, dsquery is a good option.
If you want to use the GUI "saved queries" is an option (can be found in 'active directory users and computers'). Create a query, run the query and save the output (export list) to a tab or comma delimited file.
If you want to use the GUI "saved queries" is an option (can be found in 'active directory users and computers'). Create a query, run the query and save the output (export list) to a tab or comma delimited file.
ASKER
Thanks for your input, however, none of these responses walk me through the steps. Can someone show the steps to create a query within Saved Queries, or how to use dsquery. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is great, minvis!
How can I access the query from a .NET application such as VB.NET 2005/2008?
Thanks
Bill
How can I access the query from a .NET application such as VB.NET 2005/2008?
Thanks
Bill