Text File to Output Windows Powershell code example Example: powershell output text file Out-File fileName