From 9e93848431d5ce19fe2f969534ea18c067cd90d0 Mon Sep 17 00:00:00 2001 From: atul-ram Date: Tue, 13 Oct 2020 04:30:44 +0200 Subject: [PATCH] Update Get-AzDelegation.md (#13176) changed the variable $vnet to $subnet (under heading Retrieving all subnet delegations). to match the next command. --- src/Network/Network/help/Get-AzDelegation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/Network/help/Get-AzDelegation.md b/src/Network/Network/help/Get-AzDelegation.md index eca80b9a2e35..1ff2dd7d5d0c 100644 --- a/src/Network/Network/help/Get-AzDelegation.md +++ b/src/Network/Network/help/Get-AzDelegation.md @@ -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 ``` @@ -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) \ No newline at end of file +[Get-AzVirtualNetworkSubnetConfig](./Get-AzVirtualNetworkSubnetConfig.md)