i have extracted memberof list for AD user an extracted into CSV file which contains 20 rows in single column without any name column , i am trying to sort using Import-Csv -Path “I:$SID.csv” | sort command
but its not working,
also if someone can help comparing 2 CSV file for 2 different AD user to check for common and uncommon memberof AD groups, tried import-CSV help but no luck
this is working however it displays on PS ISE screen i tried | out-file “i: $SID.csv” but it shows blank file
this is the same file which i am sorting.