We’re launching free support for BYOD Android devices and looking for early feedback. Interested?
Returns the operating system name and version on the device.
To learn more about queries, check this guide.
SELECT name, version FROM os_version;
$os = Get-CimInstance Win32_OperatingSystem
[PSCustomObject]@{
name = $os.Caption
version = $os.Version
} | Format-Table -AutoSize
echo "name, version" && sw_vers | awk -F: '/ProductName/ {gsub(/^[ \t]+/, "", $2); name=$2} /ProductVersion/ {gsub(/^[ \t]+/, "", $2); version=$2} END {print name", "version}'
PowerShell commands are currently work in progress, contributions welcome.
Bash commands for macOS are currently work in progress, contributions welcome.