Skip to main content

DeviceOSCounts

Properties​

NameTypeDescriptionNotes
MacosInt64The number of macOS devices.[optional]
WindowsInt64The number of Windows devices.[optional]
LinuxInt64The number of Linux devices.[optional]
UnknownInt64The number of devices whose operating system is missing or is not macOS, Windows, or Linux.[optional]

Examples​

  • Prepare the resource
$DeviceOSCounts = Initialize-DeviceOSCounts -Macos 610 `
-Windows 540 `
-Linux 85 `
-Unknown 15
  • Convert the resource to JSON
$DeviceOSCounts | ConvertTo-JSON

[Back to top]