windows-powershell-docs icon indicating copy to clipboard operation
windows-powershell-docs copied to clipboard

Get-WindowsOptionalFeature -Online run error

Open shanxing2 opened this issue 3 years ago • 2 comments

PS C:\WINDOWS\system32> Get-WindowsOptionalFeature -Online Get-WindowsOptionalFeature : 不支持此接口 所在位置 行:1 字符: 1

  • Get-WindowsOptionalFeature -Online
  •   + CategoryInfo          : NotSpecified: (:) [Get-WindowsOptionalFeature], COMException
      + FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsOptionalFeatureCommand
    
    

Log from setupdiag.exe

Error: SetupDiag reports Optional Component installation failed to open OC Package. Last Phase: Finalize Last Operation: Remove System Restore checkpoints Package Name: Foundation Error: 0x8007001F

shanxing2 avatar Jul 17 '22 18:07 shanxing2

@shanxing2 , This command working fine on windows 11.

Screenshot 2022-07-18 185622

RAJU2529 avatar Jul 18 '22 13:07 RAJU2529

这是来自QQ邮箱的假期自动回复邮件。   您好,我已经收到您的邮件,看到之后会尽快给您回复。

shanxing2 avatar Jul 18 '22 13:07 shanxing2

This repository is for PowerShell core documentation. You seem to be looking for support, which we can't provide here.

I suggest you try posting your issue with context in one of the available community support forums.

scanum avatar Nov 07 '22 05:11 scanum

这是来自QQ邮箱的假期自动回复邮件。   您好,我已经收到您的邮件,看到之后会尽快给您回复。

shanxing2 avatar Nov 07 '22 06:11 shanxing2