Active Directory Users and Computers


how can filter computers , servers have specific prefix , export list?   example, if computers i'm looking start rtg01xxxxxx, how can filter servers.   have our computers in several ous , not in single ou.

you can use tool can query ad.

if using  ad powershell , try this

get-adcomputer -ldapfilter "(samaccountname=rtg01*)"


shaba

to export,

get-adcomputer -ldapfilter "(samaccountname=rtg01*)" |export-csv rtg01-computers.csv


shaba



Windows Server  >  Directory Services



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...