The ThingWorx Azure IoT Hub Connector integrates edge devices that are running applications developed using a Microsoft Azure IoT SDK with the ThingWorx Platform.
Getting an Azure IoT Hub Connector up and running requires performing several installation and configuration steps, described here.
Of those steps, Step 5 could be automated with a script.
This repository contains such a script, implemented with Windows PowerShell commands which eventually call ThingWorx services via REST.
In order to benefit from this script you need first to:
- Load entities in ThingWorx (file Entities.twx is included here)
- Install Azure PowerShell
- Execute the
az login
command - Execute the PowerShell script (file
iot-hub-connector-provisioning.ps1
is included in this repository)