It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Access

List All Devices Created Before Given Date

  • Last updated on

Back to CloudGen Access CLI Client Usage Examples

Example:  List all devices created before <date> and limit result fields

access-cli devices list -o json --list-all | jq '.[] | select (.created_at <= "2021-01-01T00:00:00.000Z") | {User: .user.name, DeviceCreated: .created_at, Model: .hardware_model}'        

Example Output:

          {
            "User": "Bob",
            "DeviceCreated": "2021-03-25T12:18:45.012Z",
            "Model": "MacBookPro16,1"
          }
          {
            "User": "Bob",  
            "DeviceCreated": "2021-03-25T12:21:38.140Z",
            "Model": "iPhone10,4"
          }
          {   
            "User": "Carol", 
            "DeviceCreated": "2021-05-19T14:23:13.430Z",
            "Model": "Latitude 7490"
          }