Command to get list of Computers from OU
Some Example-1
Domain : Microsoft.com
OU : Corporate Sub OU: abc
Distinguished Name would be : ou=abc,ou=corporate,dc=microsott,dc=com
Canonical Name would be : microsoft.com/corporate/abc
Dsquery Computer "ou=abc,ou=corporate,dc=microsoft,dc=com" -limit 10000 -o rdn > c:\temp\computers.txt
Simple way is right click on the OU then export list then you can save as txt format in Windows 2008 Server.
-->> You can Export the list of Sub OUs/Groups/Users also.
LOL
Comments