PowerShell - Variables and Data Types
Why does this PowerShell code output the literal string instead of interpolating the variable?
$var = "test"
$str = '@var is here'
Write-Output $str
$var = "test"
$str = '@var is here'
Write-Output $str
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions