I need to list all Windows features on a Windows Server 2008.
On Windows Server 2008 R2 the Get-WindowsFeature
command is available after importing the module ServerManager
. But on Windows Server 2008 it is not.
Does anyone know a good alternative to Get-WindowsFeature?
Found it: ServerManagerCmd.exe -query