Write Array To Text File Powershell If Statement