Hi
On a windows client, I am able to run this command
Set-Item WSMan:\localhost\Client\TrustedHosts -Value "10.1.1.50" -force
But on an Ubuntu 20.04 with powershell 7.1, I get the following error
PS /home/mahmood> Set-Item WSMan:\localhost\Client\TrustedHosts -Value "10.1.1.50" -force
Set-Item: Cannot find drive. A drive with the name 'WSMan' does not exist.
Any way to fix that?


