Skip to content

Commit cd4abe7

Browse files
Merge pull request #290910 from spelluru/asapsfix
Fixed PowerShell command
2 parents 26b0ca8 + fce7862 commit cd4abe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/stream-analytics/stream-analytics-quick-create-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ The following Azure CLI code block has many commands to prepare the input data r
7676
az iot hub create --name "MyASAIoTHub" --resource-group $resourceGroup --sku S1
7777
```
7878
79-
Once the IoT hub has been created, get the IoT Hub connection string using the [az iot hub show-connection-string](/cli/azure/iot/hub#az-iot-hub-show-connection-string) command. Copy the entire connection string and save it. You need it when you add the IoT Hub as an input to your Stream Analytics job.
79+
Once the IoT hub has been created, get the IoT Hub connection string using the [az iot hub connection-string show](/cli/azure/iot/hub/connection-string#az-iot-hub-connection-string-show) command. Copy the entire connection string and save it. You need it when you add the IoT Hub as an input to your Stream Analytics job.
8080
8181
```azurecli
82-
az iot hub show-connection-string --resource-group $resourceGroup --hub-name "MyASAIoTHub"
82+
az iot hub connection-string show --resource-group $resourceGroup --hub-name "MyASAIoTHub"
8383
```
8484
8585
3. Add a device to IoT Hub using the [`az iot hub device-identity create`](/cli/azure/iot/hub/device-identity#az-iot-hub-device-identity-create) command. This example creates a device called **MyASAIoTDevice**.

0 commit comments

Comments
 (0)