Update windows10.ps1

This commit is contained in:
simeononsecurity
2021-02-23 19:41:30 +00:00
committed by GitHub
parent 54e7911e64
commit ff1f0fb93f

View File

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