« Powershell 7 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 14 : Ligne 14 :
# check the installed version
# check the installed version
$PSVersionTable.PSVersion
$PSVersionTable.PSVersion
# installed here
C:\Program Files\WindowsApps\Microsoft.PowerShell_7.3.1.0_x64__8wekyb3d8bbwe\pwsh.exe
</kode>
</kode>

Version du 18 janvier 2023 à 15:48

Errors

Error updating shortcut

Unable to modify the terminal.
Copy the shortcut to the local user start menu:

  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk
  • $home\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk

Then pin the local user shortcut.

Installation

Powershell.svg
winget install Microsoft.PowerShell

# check the installed version
$PSVersionTable.PSVersion

# installed here
C:\Program Files\WindowsApps\Microsoft.PowerShell_7.3.1.0_x64__8wekyb3d8bbwe\pwsh.exe