Features on demand in Windows Server 2012 R2
How about cleaning up the C:\Windows\WinSxS folder with features you do not need?
Here is a Powershell One-liner, to remove those features not installed.
If you ever need to get one of the features back, you can get them back with DISM (/enable-feature), Powershell (Install-WindowsFeature) or even the Server Manager GUI by pointing to a source.
OK, here goes:
Get-WindowsFeature | Where-Object {$._Installed -eq $false} | Uninstall-WindowsFeature -Remove
Here is a Powershell One-liner, to remove those features not installed.
If you ever need to get one of the features back, you can get them back with DISM (/enable-feature), Powershell (Install-WindowsFeature) or even the Server Manager GUI by pointing to a source.
OK, here goes:
Get-WindowsFeature | Where-Object {$._Installed -eq $false} | Uninstall-WindowsFeature -Remove