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_STORAGE_EXPRESS_SERVER_CORE |
43 |
Storage Server Express (core installation) |
PRODUCT_STORAGE_STANDARD_SERVER_CORE |
44 |
Storage Server Standard (core installation) |
PRODUCT_STORAGE_WORKGROUP_SERVER_CORE |
45 |
Storage Server Workgroup (core installation) |
PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE |
46 |
Storage Server Enterprise (core installation) |
PRODUCT_STARTER_N |
47 |
Starter N |
PRODUCT_PROFESSIONAL |
48 |
Professional |
PRODUCT_PROFESSIONAL_N |
49 |
Professional N |
PRODUCT_SB_SOLUTION_SERVER |
50 |
Server For SB Solutions EM |
PRODUCT_SERVER_FOR_SB_SOLUTIONS |
51 |
Server For SB Solutions |
PRODUCT_STANDARD_SERVER_SOLUTIONS |
52 |
Server Solutions Premium |
PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE |
53 |
Server Solutions Premium (core installation) |
PRODUCT_SB_SOLUTION_SERVER_EM |
54 |
Server For SB Solutions EM |
PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM |
55 |
Server For SB Solutions EM |
PRODUCT_SOLUTION_EMBEDDEDSERVER |
56 |
Windows MultiPoint Server |
PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE |
57 |
|
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT |
59 |
Windows Essential Server Solution Management |
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL |
60 |
Windows Essential Server Solution Additional |
PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC |
61 |
Windows Essential Server Solution Management SVC |
PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC |
62 |
Windows Essential Server Solution Additional SVC |
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE |
63 |
Small Business Server Premium (core installation) |
PRODUCT_CLUSTER_SERVER_V |
64 |
Server Hyper Core V |
PRODUCT_EMBEDDED |
65 |
|
PRODUCT_STARTER_E |
66 |
Not supported |
PRODUCT_HOME_BASIC_E |
67 |
Not supported |
PRODUCT_HOME_PREMIUM_E |
68 |
Not supported |
PRODUCT_PROFESSIONAL_E |
69 |
Not supported |
PRODUCT_ENTERPRISE_E |
70 |
Not supported |
PRODUCT_ULTIMATE_E |
71 |
Not supported |
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