Create a sensor to track specific device attributes such as remaining battery, OS version, average CPU usage, and more. You can use these sensors with smart groups to provision profiles or create compliance policies.

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 should contain only one sensor. If a script returns multiple values, VMware Workspace ONE Intelligencereads only the first value as the response from the script. If a script returns a null value, VMware Workspace ONE Intelligence does not report the sensor.

Prerequisites

You must opt into VMware Workspace ONE Intelligence before using Sensors.

Procedure

  1. Navigate to Devices > Provisioning > Custom Attributes > Sensors.
  2. Select Add > Windows.
  3. Configure the Sensor settings:
    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-255 characters.
    Description Enter a description for the sensor.
    Value Type Select the sensor value type. You can choose between:
    • String
    • Integar
    • Boolean
    • Date Time
    Triggers Select the trigger for the sensor reporting the device attribute value.

    If you select Schedule, the device reports the value to the Workspace ONE UEM consolebased on the Windows Sample Schedule.

    If you select Event, you can choose a device event to trigger when to record the value. The triggers include:
    • Login
    • Logout
    • Startup
    • User Switch
  4. Select Next.
  5. Select the Execution Context. This setting controls whether the script executes on a user or system context.
  6. Select the Execution Architecture. This settings controls whether the script executes on a device based on the architecture. You can limit the script to execute on 32-bit devices or 64-bit devices only or to automatically run the script based on the device architecture. You can also force the script to execute as 32-bit regardless of the device.
  7. Upload a Script/Command or write your own in the text box provided.

Results

The sensor is created and appears in the Sensors list view.

What to do next

After creating a sensor, assign the sensor to a smart group by selecting the Assign button on the Sensors list view.