This repository was archived by the owner on Jun 16, 2021. It is now read-only.

Description
Some commands in the DISM module are not running
for example:
PS C:\Windows\System32> Get-WindowsCapability -Online
Get-WindowsCapability: Class not registered
PS C:\Windows\System32> Get-WindowsOptionalFeature -Online
Get-WindowsOptionalFeature: Class not registered
Same goes for Remove-WindowsOptionalFeature and Remove-WindowsCapablility
My system is: Windows 10 Enterprise v2004
My Powershell is: PowerShell 7.1.0-rc.2
Thanks for your time