Note: Windows Server 2003 and lesser version - this property is not available.
The number that is returned corresponds with Microsoft's list of SKU numbers for Windows Server:
- 0- Undefined
- 1- Ultimate Edition
- 2 -Home Basic Edition
- 3- Home Premium Edition
- 4- Enterprise Edition
- 5 -Home Basic N Edition
- 6- Business Edition
- 7 -Standard Server Edition
- 8- Datacenter Server Edition
- 9- Small Business Server Edition
- 10 -Enterprise Server Edition
- 11- Starter Edition
- 12- Datacenter Server Core Edition
- 13- Standard Server Core Edition
- 14 -Enterprise Server Core Edition
- 15- Enterprise Server Edition for Itanium-Based Systems
- 16- Business N Edition
- 17- Web Server Edition
- 18 -Cluster Server Edition
- 19- Home Server Edition
- 20- Storage Express Server Edition
- 21- Storage Standard Server Edition
- 22 -Storage Workgroup Server Edition
- 23- Storage Enterprise Server Edition
- 24- Server For Small Business Edition
- 25- Small Business Server Premium Edition
wmic os get Name ---Operating System Name
wmic os get BootDevice, BuildNumber, BuildType, Version
wmic os get ServicePackMajorVersion, ServicePackMinorVersion
Other useful properties are below which you can use with wmic OS get property-name
- CurrentTimeZone
- FreePhysicalMemory
- FreeSpaceInPagingFiles
- FreeVirtualMemory
- InstallDate
- LastBootUpTime
- LocalDateTime
- Locale
- Manufacturer
- MaxNumberOfProcesses
- MaxProcessMemorySize
- NumberOfLicensedUsers
- NumberOfProcesses
- NumberOfUsers
- OSLanguage
- OSProductSuite
- OSType
- OtherTypeDescription
- ProductType
- RegisteredUser
- SerialNumber
- ServicePackMajorVersion
- ServicePackMinorVersion
- SizeStoredInPagingFiles
- Status
- SystemDevice
- SystemDirectory
- SystemDrive
- TotalSwapSpaceSize
- TotalVirtualMemorySize
- TotalVisibleMemorySize
- WindowsDirectory
No comments:
Post a Comment