1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
1
Unfortunately, it is not possible to specify the PowerShell version while running a AWS-RunPowerShellScript
run command. However, you can work around it by calling PowerShell 7 and pass a command/script. The following invokes a PowerShell 7 command of Get-Host.
& "C:\Program Files\PowerShell 7\pwsh.exe" -Command "Get-Host"
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano