在 Windows Vista 以上的操作系统中可以使用pkgmgr对Windows功能的快捷安装 比如想要安装 telnet客户端 时,只需在控制台里面键入以下命令并回车:

pkgmgr /iu:"TelnetClient"

等几秒钟后 telnet 命令就可以使用了 就这么简单 :)