Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Show AD group members using Get-QADGroup

$
0
0

Hi,

Im trying to output a list of member of a particular AD group.

So far Ive got

Get-QADGroup -IncludeAllProperties -Name WestFinance | select -expand AllMembers 

that works fine, but..

1. when I export-csv  all I get in the csv is;

<> 

#TYPE System.String
Length
88
89
90
85
88
90
85

</>

2. I'd like to select just the names and discard all other info, so just select info in bold

CN=User Name\, West,OU=West_SecurePC,OU=Users,OU=West,DC=aaa,DC=aaa,DC=co,DC=uk

Thanks!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>