Get full streetAddress
I have this like ps script Get-Contact -OrganizationalUnit "OU=EUROPE,OU=Contacts,OU=test,DC=test,DC=ads" -Filter {Phone -ne $null -and ObjectClass -eq "person"}| select Name,FirstName,LastName,City,Company,StreetAddress,Phone,MobilePhone,PostalCode | export-csv -path ".\contacts.csv" -encoding "unicode" -force -NoTypeInformation But i can only get firstline on StreetAddress attribute, why and how can i fix that?
May 14th, 2012 6:10am

I tried exactly the same thing, and it works for me. in the output file I get a newline where the streetaddress field contain a newline. is this your problem? Lasse Pettersson http://anewmessagehasarrived.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2012 9:21am

Hello, Here is the output in my test environment: Thanks, Simon
May 14th, 2012 11:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics