Last active
August 27, 2021 13:12
-
-
Save p0rkjello/a3c8a97852f5782d23cf555ed6381d99 to your computer and use it in GitHub Desktop.
PowerShell HERE-STRING
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PowerShell Here-String | |
# @"..."@ | |
# @'...'@ | |
# As CSV | |
$CSV = @" | |
Column1,Column2,Column3 | |
Line1a,Line1b,Line1c | |
Line2a,Line2b,Line2c | |
"@ | ConvertFrom-Csv | |
# Create file | |
@' | |
param([string]$name) | |
"Hello $name!" | |
'@ > hello.ps1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment