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

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file