awslabs / awslabs/aws-lambda-powershell-runtime

Missing PSWSman module in the custom runtime

Open
#22 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
65
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I tied using the sample code and modified it to run some commands in the remote computer using invoke-web request. Test Inoke throws the following error
{
"errorType": "PSRemotingTransportException",
"errorMessage": "This parameter set requires WSMan, and no supported WSMan client library was found. WSMan is either not installed or unavailable for this system."
}

I tried a workaround following this post https://blueleader07.medium.com/lambda-powershell-layer-15c0ec6f6d4a to replace the PSWSMan library libmi.so. I still get the same error. Does the custom runtime have all commands available like the regular Powershell version?

@julianwood @austoonz

Thanks for looking into the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.