I have previously uninstalled Internet Explorer on Windows 10. When I attempt to reinstall using the following PowerShell commands
Get-WindowsOptionalFeature -Online | Select FeatureName | Select-String Internet*
Enable-WindowsOptionalFeature -FeatureName Internet-Explorer-Optional-amd64 –Online
I get the following error
Enable-WindowsOptionalFeature : Feature name Internet-Explorer-Optional-amd64 is unknown.
At line:1 char:1
+ Enable-WindowsOptionalFeature -FeatureName Internet-Explorer-Optional ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
There is also no option to re-enable it in 'Turn Windows features on or off'.
How can I resolve this error so that Windows 10 can reinstall Internet Explorer?