I am using NVelocity to process various PowerShell scripts before they are executed against a server.
My question is how to escape a backslash trailing a variable:
e.g.
ls \\$computername\c$
$computername should be replaced with a valid computer name at runtime, but the trailing backslash (\c$) means that it does not.
Thanks Ben