1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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"
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전