To chech installed component
$(foreach ($feature in Get-WmiObject -Class Win32_OptionalFeature -Namespace root\CIMV2 -Filter "InstallState = 1") {$feature.Name}) | sort
List all not installed optional components:
$(foreach ($feature in Get-WmiObject -Class Win32_OptionalFeature -Namespace root\CIMV2 -Filter "InstallState != 1") {$feature.Name}) | sort
--------------------------
dism /Online /Get-Features /Format:Table\
-------------------------
Widget Uninstall
- open PowerShell (admin) and run the “Get-AppxPackage *WebExperience* | Remove-AppxPackage” command.
or
“winget uninstall –id 9MSSGKG348SP”