awslabs / awslabs/aws-lambda-powershell-runtime
Missing PSWSman module in the custom runtime
- Ngôn ngữ chính
- PowerShell
- Star
- 65
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện đường dẫn lệnh từ xa của sample bằng Invoke-WebRequest và kiểm tra cách runtime tùy chỉnh đóng gói PSWSMan và libmi.so. So sánh các lệnh hiện có và khả năng hỗ trợ WSMan với PowerShell thông thường; được xem là hoàn tất khi hành vi được runtime hỗ trợ cùng với một cách giải quyết hoặc giới hạn đã được xác minh được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, powershell
- Lĩnh vực
- cloud
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100