Hi,
No matter what i do in SSIS to import this powershell produced csv and put the contents in a table it adds double quotes:
$MailUser |
Select-Object -Property SAMAccountName, GivenName, EmailAddress,
@{n="Password-Expires"; e={[System.Math]::Round((New-TimeSpan -Start $CurrentPWChangeDateLimit -End ($MailUser.PasswordLastSet)).TotalDays)}} |
Export-Csv $outputFile -Append -NoTypeInformation -Encoding UTF8
Tried doing derived columns like: REPLACE(["SAMAccountName"],"\"","") but still not working
Is there anyway of outputting the above, just with commas and not the double quotes?