Vérifiez la version PowerShell
Get-Host | Select-Object Version
Impossible Ibex
Get-Host | Select-Object Version
To find the PowerShell version in Windows,
Open PowerShell. ...
Type or copy-paste the following command: Get-Host | Select-Object Version .
In the output, you will see the version of PowerShell.
Alternatively, type: $PSVersionTable and hit the Enter key.
See the line that says PSVersion.