Escaping dollar signs in PowerShell Jun 19, 2024 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 (`$).