Powershell
ForEach($Userin(Get-Contentc:\ps\out.csv)){$Filter="displayName -eq ""*$($User.RecipientName)*"""Get-ADUser-Filter$Filter|selectemployeeNumber,cn|Export-CsvC:\ps\tes.csv}
I have a CSV file that has a recipient name with a white space between their first & last name. When I try to import csv/run the script above I do not get any exported data. Any help would be great!
Thanks,
John