cat EOF equivalent in PowerShell

You can use PowerShell here-string operator (@) to achieve cat EOF in PowerShell. Let me explain with an example –

Write something into a file including special characters

Write something into a file with substitution

Leave a Reply