I would like to set a string with special chars in it ($ for example). How can I save a string as a raw string?
$B = "A$$B" isn't saved as "A$$B".
If the string is in ' (single quotes) the variables ( like $x ) are not expanded.
Also, Powershell has here-strings much like verbatim strings in C#
maybe you can use the ` to escape chars (called 'backquote')
maybe you can use could have caused the downvote as people feel such things should be comments and not added as answers.