Skip to content

Commit e046de9

Browse files
authored
Merge pull request #109322 from dominicbetts/central-cli-powershell
Review PowerShell and CLI commands
2 parents dcc8e27 + fe8d6f9 commit e046de9

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

articles/iot-central/core/howto-manage-iot-central-from-cli.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: iot-central
55
ms.service: iot-central
66
author: dominicbetts
77
ms.author: dobett
8-
ms.date: 02/11/2020
8+
ms.date: 03/27/2020
99
ms.topic: how-to
1010
manager: philmea
1111
---
@@ -27,6 +27,14 @@ If you prefer to run Azure CLI on your local machine, see [Install the Azure CLI
2727
> [!TIP]
2828
> If you need to run your CLI commands in a different Azure subscription, see [Change the active subscription](/cli/azure/manage-azure-subscriptions-azure-cli?view=azure-cli-latest#change-the-active-subscription).
2929
30+
## Install the extension
31+
32+
The commands in this article are part of the **azure-iot** CLI extension. Run the following command to install the extension:
33+
34+
```azurecli-interactive
35+
az extension add --name azure-iot
36+
```
37+
3038
## Create an application
3139

3240
Use the [az iotcentral app create](/cli/azure/iotcentral/app#az-iotcentral-app-create) command to create an IoT Central application in your Azure subscription. For example:

articles/iot-central/core/howto-manage-iot-central-from-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: iot-central
55
ms.service: iot-central
66
author: dominicbetts
77
ms.author: dobett
8-
ms.date: 02/11/2020
8+
ms.date: 03/27/2020
99
ms.topic: how-to
1010
manager: philmea
1111
---

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Monitor device connectivity using the Azure IoT Central Explorer
33
description: Monitor device messages and observe device twin changes through the IoT Central Explorer CLI.
44
author: viv-liu
55
ms.author: viviali
6-
ms.date: 12/18/2019
6+
ms.date: 03/27/2020
77
ms.topic: how-to
88
ms.service: iot-central
99
services: iot-central
@@ -58,10 +58,10 @@ az login
5858
```
5959

6060
### Get the Application ID of your IoT Central app
61-
In **Administration/Application Settings**, copy the **Application ID**. You will use this in later steps.
61+
In **Administration/Application Settings**, copy the **Application ID**. You use this value in later steps.
6262

6363
### Monitor messages
64-
Monitor the messages that are being sent to your IoT Central app from your devices. This will include all headers and annotations.
64+
Monitor the messages that are being sent to your IoT Central app from your devices. The output includes all headers and annotations.
6565

6666
```azurecli
6767
az iot central app monitor-events --app-id <app-id> --properties all

0 commit comments

Comments
 (0)