the commands seem to run so far but I get a warning all the time.
maybe create an empty file or just treat it as "no known hosts" instead of throwing errors left and right.
PS C:\Program Files\Devolutions\Wayk Now\PowerShell\Modules> Connect-WaykNowDen
Resolve-Path : Der Pfad "C:\Users\My1\AppData\Roaming\Wayk\known_hosts" kann nicht gefunden werden, da er nicht
vorhanden ist.
In C:\Program Files\Devolutions\Wayk Now\PowerShell\Modules\WaykNow\Public\WaykNowPackage.ps1:281 Zeichen:78
+ ... e = Join-Path -Path $DataPath -ChildPath 'known_hosts' | Resolve-Path
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\My1\Ap...ayk\known_hosts:String) [Resolve-Path], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
Hi,
This error should be benign, but we should handle it gracefully. It is not really an error in itself as none of the code in the cmdlet has to deal with this file that might not exist. We probably haven't noticed because the file exists on our computers. It should be a simple fix, we'll do it.
Best regards,
Marc-André Moreau
Hello
As Marc-André wrote, the error is annoying but benign.
This should've been fixed already by this commit, which was part of 2020.1.2 (and should be shipped with the latest Wayk Now).
If you're getting the error with that version - what command(s) are you running when you see it?
Thanks and kind regards
Richard Markievicz