I try to install OpenSSH from https://winscp.net/eng/docs/guide_windows_openssh_server , but in the third step while working
powershell.exe -ExecutionPolicy Bypass -File .\FixHostFilePermissions.ps1 -Confirm:$false
I get an error message:
C: \ Program Files \ OpenSSH \ FixHostFilePermissions.ps1: Unable to convert 'System.String' to type 'System.Management.Automation.SwitchParameter' required by the Confirm parameter. + CategoryInfo: InvalidArgument: (:) [FixHostFilePermissions.ps1], ParentContainsErrorRecordException + FullyQualifiedErrorId: CannotConvertArgument, FixHostFilePermissions.ps1
source
share