Installing Telnet on windows 10 is quite easy.
You go to Programs and Features, select Turn Windows Features off or on.
Then in this window tick the little box that says telnet.
Once it is installed you will be able to use the telnet commands inside of the command prompt