awslabs / awslabs/aws-lambda-powershell-runtime
Missing PSWSman module in the custom runtime
- Lenguaje dominante
- PowerShell
- Estrellas
- 65
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Reproduce la ruta de comandos remotos del ejemplo mediante Invoke-WebRequest e inspecciona cómo el runtime personalizado empaqueta PSWSMan y libmi.so. Compara los comandos disponibles y la compatibilidad con WSMan con PowerShell normal; se considera completado cuando el comportamiento compatible del runtime y una resolución o limitación verificada están documentados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, powershell
- Área
- cloud
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100