Code:
$PType = @PRODUCTTYPE
$OSType = 'Workstation'    ; set default
If InStr($PType, 'Server') Or InStr($PType, 'Controller')
  $OSType = 'Server'       ; override default with "server"
EndIf
is an alternative way of processing this. All servers have "server" in the ProductType description unless they are a Domain Controller, so matching on "server" or "controller" to change from workstation to server type should be all you need.

Also - you need the latest version of Kix to identify the Win-10 product type.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D