07-21-2023, 08:19 PM
From macOS Terminal, when I execute:
pwsh -command "Enter-PSSession myhost"
I get error from PowerShell:
```` lang-none
Enter-PSSession: This parameter set requires WSMan, and no supported WSMan client
library was found. WSMan is either not installed or unavailable for this system.
````
I've spent 2 hours to find a solution. I am going to answer my own question.
pwsh -command "Enter-PSSession myhost"
I get error from PowerShell:
```` lang-none
Enter-PSSession: This parameter set requires WSMan, and no supported WSMan client
library was found. WSMan is either not installed or unavailable for this system.
````
I've spent 2 hours to find a solution. I am going to answer my own question.