I would like to read an environment variable called "[TF]MYVAR" via PowerShell. However the following syntax does not work:
$env:[TF]MYVAR
It yields the following error:
Missing or invalid array index expression.
Also adding quitation marks (-> "$env:[TF]MYVAR") does not help.