awslabs / awslabs/aws-lambda-powershell-runtime
Missing PSWSman module in the custom runtime
- Lingua principale
- PowerShell
- Stelle
- 65
- Fork
- 21
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Reproduce the sample's remote-command path using Invoke-WebRequest and inspect how the custom runtime packages PSWSMan and libmi.so. Compare the available commands and WSMan support with regular PowerShell; done means the runtime's supported behavior and a verified resolution or limitation are documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, powershell
- Ambito
- cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100