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

DCOM received error "2147746132" from...

DFSR RPC replication errors 5014 1726 with large files over VPN

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B