Outils pour utilisateurs

Outils du site


windows:script_menu_powershell

Revenir au sommaire

Script pour ouvrir le PowerShell depuis le menu contextuel

Ce script permet d'ouvrir le PowerShell depuis le menu contextuel dans l'explorateur Windows en appuyant sur la touche Maj. (Shift).
Il faut pour cela ajouter deux clés à la base de registre.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\powershellmenu]</color>
@="Ouvrir PowerShell ici"
"Extended"=""

[HKEY_CLASSES_ROOT\Directory\shell\powershellmenu\command]
@="C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
windows/script_menu_powershell.txt · Dernière modification: 2018/05/23 16:01 de luc