@da_chicken: The generated code should escape both dollar and grave/backtick signs. Doesn't it for you? Can you post a screenshot?
- martin
`
` GRAVE ACCENT (U+0060) 60
%60
but I am unsure of the correct syntax.
$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
Protocol = [WinSCP.Protocol]::Sftp
HostName = ""
UserName = ""
Password = "%60%50%30%20" ##random utf-8 codes as example
SshHostKeyFingerprint = ""
}
'
(apostrophe)