''' only works in POSIX shells. In PowerShell it leaves the string unterminated for a query like "don't retry"; there a ' is doubled, and PowerShell also treats curly quotes as quote characters, so those are doubled too.