Cannot escape string

Occasional Visitor



I have a weird issue... I cannot create a correct escape string for Powershell for the following string:



I tried several version, but it always returns an error (different). Once I fix one error another appears. See the screenshot below.


Do you please know who to correctly scrape the string to be able to correctly run the command? I also tried to use a variable, but the result is the same. Thank you.



1 Reply

Did you try good old single quotes (')?