Add-WindowsCapability -online does not work if no internet or behind an enterprise firewall
I want to install OpenSSH server using this command:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
It cannot be done without internet access or behind a company firewall, even with full standard internet access.
We should be able to download some kind of package to solve this.