« Powershell 7 » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
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 ==
Unable to modify the terminal.
Unable to modify the terminal.<br>
* copy the shortcut from {{boxx|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk}} to {{boxx|$home\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk}}
Copy the shortcut to the local user start menu:
* {{boxx|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk}}
* {{boxx|$home\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk}}
Then pin the local user shortcut.


= Installation =
= Installation =
Ligne 11 : Ligne 18 :
# 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>

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