Update powershell scripts and add port forwarding wsl scripts

This commit is contained in:
Matheus Albino
2023-11-06 03:16:47 -03:00
parent abd9414b9f
commit c1eb16632e
4 changed files with 46 additions and 2 deletions

View File

@@ -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