Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== New line in PowerShell string ====== Append "`n" to the end of the string. Or use the following function <code powershell |AppendNewLine> function AppendNewLine { $tmpData += $args[0] + $args[1] $tmpData += "`n" return $tmpData } $string += AppendNewLine "Parameter" "Value" $string += AppendNewLine "Parameter1" "Value1" </code> windows/scripting/ps_new_line.txt Last modified: 2019/10/31 09:06by 127.0.0.1