Glam Prestige Journal

Bright entertainment trends with youth appeal.

To install Telnet in PowerShell you can run:

Install-WindowsFeature -name Telnet-Client

This unfortunately does not seem to work in PowerShell Core where it produces the following error:

Install-WindowsFeature : The term 'Install-WindowsFeature' is not recognized as the name of a cmdlet

What is the equivalent command in PowerShell Core to install Telnet?

Using Windows 10 version 2004, Insider Program

2 Answers

Run in an elevated shell:

Enable-WindowsOptionalFeature -Online -FeatureName "TelnetClient"

An alternative way to install Telnet is via DISM:

dism /online /Enable-Feature /FeatureName:TelnetClient

If neither PowerShell Install-WindowsFeature nor DISM work for you, then Microsoft does not supply Telnet for your Windows version.

You could instead installChocolateyand then install its package oftelnetusing the command:

choco install telnet
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy