I have question regarding ADuser. Totally appreciate your busy, would be really greatful if you point the best way to go about this.
Am trying to amalgamate get-aduser with ADprinciplegroupmembership using a variable for a list of names that ive already exported out to a Export-Csv file.
The aim here is display samaccountname followed by their respective group memberships and then piped to a further csv file.
Mu attempts keep resulting in errors whereby it displays errors around the variable $users am using as a placeholder of the -identity. Ive also tried wholesale with -filter *.
either way it results in error. i have reached a mental block. Am trying to kill 2 birds with one stone i guess
any help is greatly appreciated.
many thanks in advance
max
on $psversiontable 5.0