Powershell Server – WinSxS Ordner säubern Feature entfernen

Get-WindowsFeature

Uninstall-WindowsFeature -Name FeatureName -Remove

Get-WindowsFeature | Where-Object -FilterScript {$_.Installed -Eq $FALSE} | Uninstall-WindowsFeature

Get-WindowsFeature | WhereObject -FilterScript {$_.Installed -Eq $FALSE}