Skip to content

Commit 5e92924

Browse files
authored
Merge pull request #106155 from dominicbetts/iot-cli-update
Update IoT CLI extension name
2 parents c125f07 + 5368944 commit 5e92924

6 files changed

+12
-9
lines changed

articles/iot-accelerators/iot-accelerators-device-simulation-protobuf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ The following script assumes that the name of your IoT hub is
232232

233233
```azurecli-interactive
234234
# Install the IoT extension if it's not already installed
235-
az extension add --name azure-cli-iot-ext
235+
az extension add --name azure-iot
236236
237237
# Monitor telemetry sent to your hub
238238
az iot hub monitor-events --hub-name device-simulation-test

articles/iot-accelerators/iot-accelerators-remote-monitoring-create-simulated-device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ The following script assumes that the name of your IoT hub is **device-simulatio
443443

444444
```azurecli-interactive
445445
# Install the IoT extension if it's not already installed
446-
az extension add --name azure-cli-iot-ext
446+
az extension add --name azure-iot
447447
448448
# Monitor telemetry sent to your hub
449449
az iot hub monitor-events --hub-name device-simulation-test

articles/iot-central/core/howto-monitor-devices-azure-cli.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,19 @@ Use the Azure CLI IoT extension to see messages your devices are sending to IoT
2828
Run the following command from your command line to install:
2929

3030
```cmd/sh
31-
az extension add --name azure-cli-iot-ext
31+
az extension add --name azure-iot
3232
```
3333

34-
Check the version of the extension by running
34+
Check the version of the extension by running:
35+
3536
```cmd/sh
3637
az --version
3738
```
38-
You should see the azure-cli-iot-ext extension is 0.8.1 or higher. If it is not, run
39+
40+
You should see the azure-iot extension is 0.8.1 or higher. If it is not, run:
41+
3942
```cmd/sh
40-
az extension update --name azure-cli-iot-ext
43+
az extension update --name azure-iot
4144
```
4245

4346
## Using the extension

articles/iot-pnp/howto-install-pnp-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Follow the [installation instructions](https://docs.microsoft.com/cli/azure/inst
3737

3838
### Step 2 - Install IoT extension
3939

40-
[The IoT extension readme](https://github.com/Azure/azure-iot-cli-extension) describes several ways to install the extension. The simplest way is to run `az extension add --name azure-cli-iot-ext`. After installation, you can use `az extension list` to validate the currently installed extensions or `az extension show --name azure-cli-iot-ext` to see details about the IoT extension. To remove the extension, you can use `az extension remove --name azure-cli-iot-ext`.
40+
[The IoT extension readme](https://github.com/Azure/azure-iot-cli-extension) describes several ways to install the extension. The simplest way is to run `az extension add --name azure-iot`. After installation, you can use `az extension list` to validate the currently installed extensions or `az extension show --name azure-iot` to see details about the IoT extension. To remove the extension, you can use `az extension remove --name azure-iot`.
4141

4242
## Use Azure IoT extension for the Azure CLI
4343

includes/iot-pnp-prepare-iot-hub-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You also need an Azure IoT hub in your Azure subscription to complete this quick
1616
Run the following command to add the Microsoft Azure IoT Extension for Azure CLI to your Cloud Shell instance:
1717

1818
```azurecli-interactive
19-
az extension add --name azure-cli-iot-ext
19+
az extension add --name azure-iot
2020
```
2121

2222
Run the following command to create the device identity in your IoT hub. Replace the **YourIoTHubName** and **YourDeviceID** placeholders with your own _IoT Hub name_ and a _device ID_ of your choice.

includes/iot-pnp-prepare-iot-hub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you're using the Azure CLI locally, the `az` version should be **2.0.73** or
2020
Run the following command to add the Microsoft Azure IoT Extension for Azure CLI to your instance:
2121

2222
```azurecli-interactive
23-
az extension add --name azure-cli-iot-ext
23+
az extension add --name azure-iot
2424
```
2525

2626
Run the following command to create the device identity in your IoT hub. Replace the **YourIoTHubName** and **YourDeviceID** placeholders with your own _IoT Hub name_ and a _device ID_ of your choice.

0 commit comments

Comments
 (0)