Skip to content

Commit

Permalink
Update Get-AzDelegation.md (#13176)
Browse files Browse the repository at this point in the history
changed the variable $vnet to $subnet (under heading Retrieving all subnet delegations).  to match the next command.
  • Loading branch information
atul-ram authored Oct 13, 2020
1 parent 59a8eaa commit 9e93848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Network/Network/help/Get-AzDelegation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The first line retrieves the subnet of interest. The second line shows the deleg

### 2: Retrieving all subnet delegations
```powershell
PS C:\> $vnet = Get-AzVirtualNetwork -Name "myVNet" -ResourceGroupName "myResourceGroup" | Get-AzVirtualNetworkSubnetConfig -Name "mySubnet"
PS C:\> $subnet = Get-AzVirtualNetwork -Name "myVNet" -ResourceGroupName "myResourceGroup" | Get-AzVirtualNetworkSubnetConfig -Name "mySubnet"
PS C:\> $delegations = Get-AzDelegation -Subnet $subnet
```

Expand Down Expand Up @@ -113,4 +113,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[New-AzDelegation](./New-AzDelegation.md)
[Remove-AzDelegation](./Remove-AzDelegation.md)
[Get-AzVirtualNetwork](./Get-AzVirtualNetwork.md)
[Get-AzVirtualNetworkSubnetConfig](./Get-AzVirtualNetworkSubnetConfig.md)
[Get-AzVirtualNetworkSubnetConfig](./Get-AzVirtualNetworkSubnetConfig.md)

0 comments on commit 9e93848

Please sign in to comment.