How To Write Output In Text File Using Powershell On A Mac