install telnet client windows server 2016 code example

Example: install telnet windows server 2012

In the PowerShell  window type the following line:
PowerShell
1	Import-Module servermanager
3. Then type:
PowerShell
1	Add-WindowsFeature telnet-client
4. Once command finished, Telnet client will be installed.

From <https://petri.com/enable-telnet-client-windows-server-2012-windows-8> 



 In the Command Prompt window type:
PowerShell
1	dism /online /Enable-Feature /FeatureName:TelnetClient
Note: DISM is short for Deployment Image Servicing and Management tool.

From <https://petri.com/enable-telnet-client-windows-server-2012-windows-8>