Skip to content

Commit 60604c5

Browse files
committed
Updated command to create cluster
1 parent 7b3920e commit 60604c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/aks/windows-container-powershell.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ network resources if they don't exist.
106106
> node pool.
107107
108108
```azurepowershell-interactive
109-
New-AzAks -ResourceGroupName myResourceGroup -Name myAKSCluster -NodeCount 2 -KubernetesVersion 1.16.7 -NetworkPlugin Azure
109+
$Password = Read-Host -Prompt 'Please enter your password' -AsSecureString
110+
New-AzAKS -ResourceGroupName myResourceGroup -Name myAKSCluster -NodeCount 2 -KubernetesVersion 1.16.7 -NetworkPlugin azure -NodeVmSetType VirtualMachineScaleSets -WindowsProfileAdminUserName akswinuser -WindowsProfileAdminUserPassword $Password
110111
```
111112

112113
> [!Note]

0 commit comments

Comments
 (0)