powershell pipe output to file format text code example Example: powershell output text file Out-File fileName