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

directory stack

After enabling Windows Server 2012 R2 DHCP Failover Getting Packet dropped because of Client ID hash mismatch

WMI Repository 4GB limit - Win 2003 Ent Question