powershell script change text in file code example Example: powershell output text file Out-File fileName