Skip to content

Commit

Permalink
Examples used New-AzAks which is legacy cmdlet and the alias for New-…
Browse files Browse the repository at this point in the history
…AzAksCluster. Changed examples to use New-AzAksCluster which is the cmdlet this documentation page targets.
  • Loading branch information
jdnark committed Feb 2, 2021
1 parent 7cbd0d2 commit 516d372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aks/Aks/help/New-AzAksCluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Create a new Azure Kubernetes Service(AKS) cluster.
### New an AKS with default params.

```powershell
PS C:\> New-AzAks -ResourceGroupName myResourceGroup -Name myCluster
PS C:\> New-AzAksCluster -ResourceGroupName myResourceGroup -Name myCluster
```

### Create Windows Server container on an AKS.
Expand All @@ -44,7 +44,7 @@ To create Windows Server container on an AKS, you must specify at least four fol

```powershell
PS C:\> $cred = ConvertTo-SecureString -AsPlainText "Password!!123" -Force
PS C:\> New-AzAks -ResourceGroupName myResourceGroup -Name myCluster -WindowsProfileAdminUserName azureuser -WindowsProfileAdminUserPassword $cred -NetworkPlugin azure -NodeVmSetType VirtualMachineScaleSets
PS C:\> New-AzAksCluster -ResourceGroupName myResourceGroup -Name myCluster -WindowsProfileAdminUserName azureuser -WindowsProfileAdminUserPassword $cred -NetworkPlugin azure -NodeVmSetType VirtualMachineScaleSets
PS C:\> New-AzAksNodePool -ResourceGroupName myResourceGroup -ClusterName myCluster -Name win1 -OsType Windows -VmSetType VirtualMachineScaleSets
```

Expand Down

0 comments on commit 516d372

Please sign in to comment.