Skip to content

Commit fe370e9

Browse files
committed
Minor tweaks
1 parent 3c63bd7 commit fe370e9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

AKS-Hybrid/aks-edge-howto-deploy-azure-iot.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ After you download the script, perform the following steps:
5858

5959
1. Run the following commands, replacing the placeholder values with your information:
6060

61+
```powershell
62+
$url = "https://raw.githubusercontent.com/Azure/AKS-Edge/main/tools/scripts/AksEdgeQuickStart/AksEdgeQuickStartForAio.ps1"
63+
Invoke-WebRequest -Uri $url -OutFile .\AksEdgeQuickStartForAio.ps1
64+
Unblock-File .\AksEdgeQuickStartForAio.ps1
65+
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
66+
.\AksEdgeQuickStartForAio.ps1 -SubscriptionId "<SUBSCRIPTION_ID>" -TenantId "<TENANT_ID>" -ResourceGroupName "<RESOURCE_GROUP_NAME>" -Location "<LOCATION>" -ClusterName "<CLUSTER_NAME>" -CustomLocationOid "<ARC_APP_OBJECT_ID>"
67+
```
68+
6169
|Placeholder|Value |
6270
|---------|---------|
6371
|SUBSCRIPTION_ID | The ID of your Azure subscription. If you don't know your subscription ID, see [Find your Azure subscription](/azure/azure-portal/get-subscription-tenant-id#find-your-azure-subscription). |
@@ -67,15 +75,7 @@ After you download the script, perform the following steps:
6775
|CLUSTER_NAME | A name for the new cluster to be created. |
6876
|ARC_APP_OBJECT_ID | The object ID value that you retrieved in step 2. |
6977

70-
```powershell
71-
$url = "https://raw.githubusercontent.com/Azure/AKS-Edge/main/tools/scripts/AksEdgeQuickStart/AksEdgeQuickStartForAio.ps1"
72-
Invoke-WebRequest -Uri $url -OutFile .\AksEdgeQuickStartForAio.ps1
73-
Unblock-File .\AksEdgeQuickStartForAio.ps1
74-
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
75-
.\AksEdgeQuickStartForAio.ps1 -SubscriptionId "<SUBSCRIPTION_ID>" -TenantId "<TENANT_ID>" -ResourceGroupName "<RESOURCE_GROUP_NAME>" -Location "<LOCATION>" -ClusterName "<CLUSTER_NAME>" -CustomLocationOid "<ARC_APP_OBJECT_ID>"
76-
```
77-
78-
If there are any issues during deployment; for example, if your machine reboots as part of this process, run the set of commands again.
78+
If there are issues during deployment; for example, if your machine reboots as part of this process, run the set of commands again.
7979

8080
Run the following commands to check that the deployment was successful:
8181

0 commit comments

Comments
 (0)