awslabs / awslabs/aws-lambda-powershell-runtime
Missing PSWSman module in the custom runtime
- Langage dominant
- PowerShell
- Étoiles
- 65
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduire le chemin de commande distante de l’exemple à l’aide de Invoke-WebRequest et examiner comment le runtime personnalisé fournit PSWSMan et libmi.so. Comparer les commandes disponibles et la prise en charge de WSMan avec PowerShell standard ; le travail est terminé lorsque le comportement pris en charge par le runtime ainsi qu’une résolution ou une limitation vérifiée sont documentés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, powershell
- Domaine
- cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100