Created
November 17, 2022 00:03
-
-
Save nanoDBA/814d3b96d2a8e6f4284dc7628d238b96 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
# DANGER # Server Core? ---OPTIONAL--- Setting PowerShell as the Default Shell Manually | |
#If you've only got one server, a couple of servers or maybe your Server Core machines are workgroup members so you can't use Group Policy and if any of these are true, the manual method is for you. It's a simple PowerShell one-liner: | |
# source: https://richardjgreen.net/setting-powershell-default-shell-server-core/ | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name Shell -Value 'PowerShell.exe -NoExit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment