« Powershell 7 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
 
(Une version intermédiaire par le même utilisateur non affichée)
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]
* [https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell Differences between Windows PowerShell 5.1 and PowerShell 7.x]
= Errors =
= Errors =
== Error updating shortcut ==
== Error updating shortcut ==

Dernière version du 16 décembre 2023 à 15:13

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