From ff1f0fb93ffd86913c064173fe4e03514b18ac0e Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Tue, 23 Feb 2021 19:41:30 +0000 Subject: [PATCH] Update windows10.ps1 --- windows10.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows10.ps1 b/windows10.ps1 index 4dc2206..33d4d92 100644 --- a/windows10.ps1 +++ b/windows10.ps1 @@ -332,4 +332,8 @@ Start-Job -Name "Customizations" -ScriptBlock { fsutil resource setconsistent "$Drive" } } + + #https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_server_configuration + New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force + }