Skip to content

Commit f7a505f

Browse files
Merge pull request #213319 from KrishnaG-MSFT/patch-229
(AzureCXP) MicrosoftDocs/azure-docs#98812
2 parents cbd1156 + 95d3aac commit f7a505f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-arc/kubernetes/cluster-connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
8585
```azurepowershell
8686
$CLUSTER_NAME = <cluster-name>
8787
$RESOURCE_GROUP = <resource-group-name>
88-
$ARM_ID_CLUSTER = (az connectedk8s show -n $CLUSTER_NAME -g $RESOURCE_GROUP --query id -o tsv)
88+
$ARM_ID_CLUSTER = (Get-AzConnectedKubernetes -ResourceGroupName $RESOURCE_GROUP -Name $CLUSTER_NAME).Id
8989
```
9090

9191
---

0 commit comments

Comments
 (0)