OverviewExamples
number System.GetOSProductInfo ( |
) |
Gets the product type for the operating system. Only supported on Windows Vista, Windows Server 2008, or later.
None.
(number) Returns a numeric value representing the product type for the operating system. If the action is not supported, -1 will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
CONSTANT |
VALUE |
DESCRIPTION |
PRODUCT_ULTIMATE |
1 |
Ultimate Edition |
PRODUCT_HOME_BASIC |
2 |
Home Basic Edition |
PRODUCT_HOME_PREMIUM |
3 |
Home Premium Edition |
PRODUCT_ENTERPRISE |
4 |
Enterprise Edition |
PRODUCT_HOME_BASIC_N |
5 |
Home Basic Edition |
PRODUCT_BUSINESS |
6 |
Business Edition |
PRODUCT_STANDARD_SERVER |
7 |
Server Standard Edition (full installation) |
PRODUCT_DATACENTER_SERVER |
8 |
Server Datacenter Edition (full installation) |
PRODUCT_SMALLBUSINESS_SERVER |
9 |
Small Business Server |
PRODUCT_ENTERPRISE_SERVER |
10 |
Server Enterprise Edition (full installation) |
PRODUCT_STARTER |
11 |
Starter Edition |
PRODUCT_DATACENTER_SERVER_CORE |
12 |
Server Datacenter Edition (core installation) |
PRODUCT_STANDARD_SERVER_CORE |
13 |
Server Standard Edition (core installation) |
PRODUCT_ENTERPRISE_SERVER_CORE |
14 |
Server Enterprise Edition (core installation) |
PRODUCT_ENTERPRISE_SERVER_IA64 |
15 |
Server Enterprise Edition for Itanium-based Systems |
PRODUCT_BUSINESS_N |
16 |
Business Edition |
PRODUCT_WEB_SERVER |
17 |
Web Server Edition (full installation) |
PRODUCT_CLUSTER_SERVER |
18 |
Cluster Server Edition |
PRODUCT_HOME_SERVER |
19 |
Home Server Edition |
PRODUCT_STORAGE_EXPRESS_SERVER |
20 |
Storage Server Express Edition |
PRODUCT_STORAGE_STANDARD_SERVER |
21 |
Storage Server Standard Edition |
PRODUCT_STORAGE_WORKGROUP_SERVER |
22 |
Storage Server Workgroup Edition |
PRODUCT_STORAGE_ENTERPRISE_SERVER |
23 |
Storage Server Express Edition |
PRODUCT_SERVER_FOR_SMALLBUSINESS |
24 |
Server for Small Business Edition |
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM |
25 |
Small Business Server Premium Edition |
PRODUCT_HOME_PREMIUM_N |
26 |
Home Premium Edition |
PRODUCT_ENTERPRISE_N |
27 |
Enterprise Edition |
PRODUCT_ULTIMATE_N |
28 |
Ultimate Edition |
PRODUCT_WEB_SERVER_CORE |
29 |
Web Server Edition (core installation) |
PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT |
30 |
Windows Essential Business Server Management Server |
PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY |
31 |
Windows Essential Business Server Security Server |
PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING |
32 |
Windows Essential Business Server Messaging Server |
PRODUCT_STANDARD_SERVER_V |
36 |
Server Standard Edition without Hyper-V (full installation) |
PRODUCT_DATACENTER_SERVER_V |
37 |
Server Datacenter Edition without Hyper-V (full installation) |
PRODUCT_ENTERPRISE_SERVER_V |
38 |
Server Enterprise Edition without Hyper-V (full installation) |
PRODUCT_DATACENTER_SERVER_CORE_V |
39 |
Server Datacenter Edition without Hyper-V (core installation) |
PRODUCT_STANDARD_SERVER_CORE_V |
40 |
Server Standard Edition without Hyper-V (core installation) |
PRODUCT_ENTERPRISE_SERVER_CORE_V |
41 |
Server Enterprise Edition without Hyper-V (core installation) |
PRODUCT_HYPERV |
42 |
Hyper-V Server |
PRODUCT_UNLICENSED |
2882382797 |
The product has not been activated and is no longer in the grace period. |
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions