Created
November 20, 2023 04:19
-
-
Save QZLin/be490f3da4e48dbc5db77b4ee9fed572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\PowerShell\7\pwsh.exe" -PropertyType String -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment