how to save output to text file in powershell code example Example: powershell output text file Out-File fileName