Update powershell scripts and add port forwarding wsl scripts
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
# https://github.com/lextm/windowsterminal-shell.git
|
||||
1. install PowerShell 7
|
||||
winget install --id Microsoft.Powershell --source winget
|
||||
winget install --id Microsoft.Powershell.Preview --source winget
|
||||
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; .\install.ps1 mini
|
||||
2. clone repo
|
||||
git clone https://github.com/lextm/windowsterminal-shell.git
|
||||
|
||||
3. run script
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; .\install.ps1 mini
|
||||
|
||||
4. remove keys
|
||||
HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\MenuTerminalAdminMin
|
||||
HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\MenuTerminalAdminMin
|
||||
|
||||
Reference in New Issue
Block a user