Show AD group members using Get-QADGroup


hi,

im trying output list of member of particular ad group.

so far ive got

get-qadgroup -includeallproperties -name westfinance | select -expand allmembers 

that works fine, but..

1. when export-csv  in csv is;

<> 

#type system.string length 88 89 90 85 88 90 85 

</>

2. i'd select names , discard other info, select info in bold

cn=user name\, west,ou=west_securepc,ou=users,ou=west,dc=aaa,dc=aaa,dc=co,dc=uk

thanks!

hi,

in addition, dsquery , dsget command us:

dsget group "cn=groupname, ou=ouname, dc=domain,dc=com"   -members |dsget user >>test.txt

best regards,

yan li


yan li

technet community support



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group