awslabs / awslabs/aws-lambda-powershell-runtime
Missing PSWSman module in the custom runtime
- 主要语言
- PowerShell
- 星标
- 65
- 派生
- 21
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
调研方向
使用 Invoke-WebRequest 重现 sample 的远程命令路径,并检查自定义 runtime 如何打包 PSWSMan 和 libmi.so。将可用命令和 WSMan 支持情况与常规 PowerShell 进行比较;完成的标准是记录 runtime 支持的行为以及经过验证的解决方案或限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, powershell
- 领域
- cloud
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100