List Windows Server features, roles and hotfixes with PowerShell
PowerShell commands to list Windows Server roles and features and the installed hotfixes.
These PowerShell commands list the roles and features installed on Windows Server, and the installed updates (hotfixes).
Windows Server roles and features
Import-module servermanager ; Get-WindowsFeature | where-object {$_.Installed -eq $True} | format-list DisplayName
Get-WindowsFeature | Where Installed
Installed hotfixes
Get-HotFix
Get-HotFix | where InstalledOn -ge ([datetime]"11/1/2013")
wmic qfe get hotfixid | find "KB99999"
Get-WmiObject -query 'select * from win32_quickfixengineering' | foreach {$_.hotfixid}
Notes
KB99999is an example: replace it with the update number you are looking for.Get-WindowsFeatureis only available on Windows Server.