Post

Linux PWSH WSMan Error

Linux PWSH WSMan Error

Linux PWSH WSMan Error

“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.”

1
2
3
4
sudo su
git clone https://github.com/jborean93/omi
cd omi
./build.py

Choose distro:

1
2
3
cd build/lib/<distro>
dirname "$( readlink "$( which pwsh )" )"    # /opt/microsoft/powershell/7
cp * /opt/microsoft/powershell/7

I also reverted Powershell back to 7.3.8 (but I don’t know if that helped or not):

image1

This post is licensed under CC BY 4.0 by the author.