Created
July 15, 2020 15:04
-
-
Save rolambert/7ca4cfac526e53c851017979b75ed3eb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$a1 = @(1,2,3,4,5) | |
$b1 = "'This is string number'" | |
$Scriptblock = @" | |
`$Array = @(1,2,3,4,5) | |
`$String = $b1 | |
foreach(`$f in `$Array){ write-host "`$String `$f"} | |
start-sleep 10 | |
write-host pasta | |
start-sleep 10 | |
"@ | |
$scriptBlock = [Scriptblock]::Create($Scriptblock) | |
Start-Process Powershell -ArgumentList $Scriptblock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment