Also checking InstallationType here
Core == "Server Core"
Desktop Experience == "Server"
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ee391629(v=vs.85)
--please don't forget to Accept as answer if the reply is helpful--
--------------------------
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.