I have a file template.txt which contains the following:
template.txt
Hello ${something}
I would like to create a PowerShell script that re
I've found this solution:
$something = "World" $template = Get-Content template.txt $expanded = Invoke-Expression "`"$template`"" $expanded