In PowerShell, you have to use single quotes (') to escape dollar signs ($) in a string. Double quotes won’t do it. Alternatively escape a particular $ with a backtick in front (`$).