1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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"
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa