I would like to add a line of ---- to the output I am writing from PowerShell.
There are multiple lines being added to the text file similar to the code I have pasted here and I would like to just have this ---- added as a line before the output to quickly differentiate the info when looking at it.
"New Starter- " +$FirstName + " " + $Lastname + ", " + "User Name- " + $SAMAccountLower + ", " + "Temp Password- " +$TmpPass | Set-Content "c:\temp\${SAMAccountLower}_login.txt"
Thanks.