List All Devices and Limit Result Fields

List All Devices and Limit Result Fields

Back to CloudGen Access CLI Client Usage Examples

 

access-cli devices list -o json --list-all | jq '.[] | {User: .user.name, DeviceCreated: .created_at, Model: .hardware_model, OS: .os, OSVersion: .os_version, AppVersion: .app_version}'

Example output:

  { "User": "Bob", "DeviceCreated": "2022-06-08T03:52:28.016Z", "Model": "iPhone12,8", "OS": "iOS", "OSVersion": "15.4.1", "AppVersion": "1.7.1" } { "User": "Alice", "DeviceCreated": "2022-06-07T17:40:45.392Z", "Model": "VMware Virtual Platform", "OS": "Windows", "OSVersion": "10.0.19044.1706", "AppVersion": "1.7.1" } { "User": "Bob", "DeviceCreated": "2022-05-19T05:37:39.850Z", "Model": "Latitude 7420", "OS": "Linux", "OSVersion": "20.04", "AppVersion": "1.7.0" } { "User": "Carol", "DeviceCreated": "2022-06-07T17:40:45.392Z", "Model": "VMware Virtual Platform", "OS": "Windows", "OSVersion": "10.0.19044.1706", "AppVersion": "1.7.1" }