Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Seems like this should be easy, but I am not finding any information on how to remotely identify a Windows Server "core" installation as such, via WMI, Powershell or other method that can query lots of machines relatively quickly. I am trying to report on the percentage of servers we have running a core versus a full installation. Any ideas?

share|improve this question

1 Answer 1

up vote 9 down vote accepted
Get-WmiObject -Query "Select OperatingSystemSKU from Win32_OperatingSystem"

You'll need to convert the response to Hex to compare:

  • 0C Datacenter (core installation)
  • 27 Server Datacenter without Hyper-V (core installation)
  • 0E Server Enterprise (core installation)
  • 29 Server Enterprise without Hyper-V (core installation)
  • 2A Microsoft Hyper-V Server
  • 0D Server Standard (core installation)
  • 28 Server Standard without Hyper-V (core installation)
  • 1D Web Server(core installation)

Table is based on info from

share|improve this answer
This doesn't seem to work anymore. The result is always 7. –  idon'twearsuits Apr 19 '14 at 16:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.