« Powershell 7 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
[[Category:Windows]]
[[Category:Windows]]
= Links =
* [https://learn.microsoft.com/en-us/powershell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7 Migrating from Windows PowerShell 5.1 to PowerShell 7]
= Errors =
= Errors =
== Error updating shortcut ==
== Error updating shortcut ==

Version du 18 janvier 2023 à 16:27

Links

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