Create Sensors in the Workspace ONE UEM console to track specific device attributes such as remaining battery, OS version, or average CPU usage. Each sensor includes a script of code to collect the desired data. You can upload these scripts or enter them directly into the console.

Sensors use PowerShell scripts to gather attribute values. You must create these scripts yourself either before creating a sensor or during configuration in the scripting window.

Each script contains only one sensor. If a script returns multiple values, VMware Workspace ONE Intelligence and Workspace ONE UEM read only the first value as the response from the script. If a script returns a null value, VMware Workspace ONE Intelligence and Workspace ONE UEM do not report the sensor.

Prerequisites

If you want to view Sensors for multiple devices and interact with the data in reports and dashboards, you must opt into VMware Workspace ONE Intelligence. If you want to view Sensors data for a single device, you do not need VMware Workspace ONE Intelligence. Go to the device's Device Details page and select the Sensors tab to view the data.

Procedure

  1. Navigate to Resources > Sensors > Add.
  2. Select Windows.
  3. Configure the sensor settings for the General tab:
    Setting Description
    Name Enter a name for the sensor. The name must start with a lowercase letter followed by alpha-numeric characters and underscores. The name must be between 2-64 characters.

    Do not use spaces in this menu item.

    Description Enter a description for the sensor.
  4. Select Next.
  5. Configure the sensor settings for the Details tab.
    Setting Description
    Language Workspace ONE UEM supports PowerShell.
    Execution Context This setting controls whether the script for the sensor runs on a user or system context.
    Execution Architecture This settings controls whether the script for the sensor runs on a device based on the architecture. You can limit the script to run on 32-bit devices or 64-bit devices only or to run the script based on the device architecture. You can also force the script to run as 32-bit regardless of the device.
    Response Data Type Select the type of response to the script for the sensor. You can choose between:
    • String
    • Integer
    • Boolean
    • Date Time
    Script Command Upload a script for the sensor or write your own in the text box provided.
  6. Select Save to assign your Sensors later or select Save & Assign to assign Sensors to devices with groups.
  7. To continue with assignment, select Add Assignment.
  8. On the Definition tab, enter the Assignment Name and use the Select Smart Group menu item to select the group of devices you want to collect Sensors data from.
  9. On the Deployment tab, select the trigger for the sensor to report the device attribute. You can select multiple values.

What to do next

After creating a sensor, use the Device Details page in Workspace ONE UEM to see data for single devices or go to Workspace ONE Intelligence to use reports and dashboards to interact with data for multiple devices.