$ErrorActionPreference = 'Stop' $homeServerIp = "192.168.1.106" while ($true) { Write-Host "1. SSH" -ForegroundColor Yellow Write-Host "2. Configure Neovim" -ForegroundColor Yellow $input_secured = Read-Host "Select (def. 1)" -AsSecureString $input = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($input_secured)) Write-Host switch ($input) { 1 { ssh exide@$homeServerIp -p 60022; break; } 3 { winget install Git.Git winget install Neovim.Neovim git clone https://git.exideprod.com/Exide/LazyVim-custom.git $env:LOCALAPPDATA\nvim break; } default { ssh exide@$homeServerIp -p 60022; break; } } pause Write-Host }