powershell export csv only gives length