add sshd to initenv

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

View File

@@ -27,4 +27,9 @@ if (-not (Test-Path 'C:\Program Files\Vim\vim90\vim.exe')) {
Invoke-WebRequest -Uri 'https://github.com/vim/vim-win32-installer/releases/download/v9.0.1882/gvim_9.0.1882_x64_signed.exe' -OutFile gvim.exe Invoke-WebRequest -Uri 'https://github.com/vim/vim-win32-installer/releases/download/v9.0.1882/gvim_9.0.1882_x64_signed.exe' -OutFile gvim.exe
echo "Installing Vim90" echo "Installing Vim90"
.\gvim.exe /S | Out-Null .\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
}