1. <powershell>
    2. Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0;
    3. Start-Service sshd;
    4. Set-Service -Name sshd -StartupType 'Automatic';
    5. New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force;
    6. </powershell>

    image.png