::server core always start with powershell
::in cmd type:
1 |
powershell |
#After entering powershell, type (or if lazy = ‘copy’ + ‘paste’)
1 |
Set-ItemProperty -Path ‘HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon’ -Name Shell -Value PowerShell.exe |
Now you will automatically have powershell open as the shell at logon.