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