powershell execute file output file code example Example: powershell output text file Out-File fileName