Active Directory Powershell question


is there way export attributes used active directory in single powershell command?

the following retrieve cn , ldapdisplayname attributes of attributes in schema (one line):

get-adobject -ldapfilter "(objectclass=attributeschema)" -searchbase "cn=schema,cn=configuration,dc=mydomain,dc=com" -properties ldapdisplayname, cn | select ldapdisplayname, cn

-----



richard mueller - mvp directory services



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Round Robin is killing performance on our network

WMI Repository 4GB limit - Win 2003 Ent Question

Change home folder default permission?