add sshd to initenv

This commit is contained in:
2023-09-13 03:49:46 -04:00
parent a1dda8e3e2
commit 2767104d71

View File

@@ -28,3 +28,8 @@ if (-not (Test-Path 'C:\Program Files\Vim\vim90\vim.exe')) {
echo "Installing Vim90"
.\gvim.exe /S | Out-Null
}
# sshd
if (-not (Get-WindowsCapability -Online | Where-Object Name -EQ "OpenSSH.Server~~~~0.0.1.0" | Where-Object State -EQ "Installed")) {
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
}