awslabs / awslabs/aws-lambda-powershell-runtime

Missing PSWSman module in the custom runtime

オープン
#22 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 を使用してサンプルのリモート コマンド パスを再現し、カスタムランタイムが PSWSMan と libmi.so をどのようにパッケージ化しているかを調査します。利用可能なコマンドと WSMan のサポートを通常の PowerShell と比較します。完了とは、ランタイムがサポートする動作と、検証済みの解決策または制限事項が文書化されている状態です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, powershell
領域
cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。