Write Array To Text File Powershell Script If Statement