从管理员PowerShell提示符:
PS> Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient Enable-WindowsOptionalFeature : The referenced assembly could not be found. At line:1 char:1 + Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
如果我尝试通过“程序和功能”执行此操作,它也会报告类似的错误。