Share via


New Server Core Tips

A couple of quick tips this time around.

If you want to determine if you are running on Server Core from a script, you can do this via WMI. The command line way is:

wmic path win32_operatingsystem get OperatingSystemSKU /value

The value can then be converted to hex and mapped to the list at: https://msdn2.microsoft.com/en-us/library/ms724358.aspx

 

Here is a tip I received from the HP Windows Server Academy team. If you don’t want to include all of the many IIS options in the output of Oclist, run:

Oclist | find “Installed” | find /v “IIS”

Comments

  • Anonymous
    January 01, 2003
    Server Core is proving to be a versatile infrastructure platform. After installing your basic Server

  • Anonymous
    February 10, 2011
    Nice tips. What would be really nice is a dedicated command that could return lots of OS related versioning info. Like this: forum.sysinternals.com/forum_posts.asp