Comment by jstarks

8 years ago

This is from memory so it might be slightly wrong, but in PowerShell you can write:

Add-WindowsCapability -Online -Name OpenSSH.Client

Correct.

   Get-WindowsCapability -Online | Where-Object{$_.Name -like “OpenSSH.Client*”} | ForEach-Object{ Add-WindowsCapability -Online -Name $_.Name}