Running Windows Core: How-to view installed programs


Running Windows Core Series, view installed programs.

When running these commands or using them in scripts keep in mind that some may become deprecated in future versions of Windows. Best practice is to use the PowerShell commands when possible to future proof any script that use these commands. These commands were run on Windows Server 2012R2.

When running Windows Server 2012+ without a GUI note that the GUI can be reinstalled via PowerShell (Install-WindowsFeature) and a reboot.

From Windows Server core command prompt:

C:\>POWERSHELL

PS C:\>gwmi Win32_SoftwareFeature|Select ProductName,Caption,Version|FT *

 

C:\>WMIC SOFTWAREFEATURE LIST BRIEF

 

If you know any other interesting ways of getting this information from a Windows Server core installation post below.

Thanks for stopping by and see other Windows Server core tips; http://blogs.technet.com/b/chad/archive/tags/server+core/default.aspx

Comments (1)

  1. Andy Arismendi says:

    Is there no PowerShell cmdlet to do this in 2012 R2?? BTW it takes FOREVER. There used to be an issue with Win32_Product… It would not just list items but validate the installs which could be undesirable and took way longer than just listing installed
    software.