1. 소개
The Get-AzureVNetConfig cmdlet retrieves the virtual network configuration of the current Azure subscription. If the ExportToFile parameter is specified, a network configuration file is created.
2. 문법
Get-AzureVNetConfig
[-ExportToFile <String>]
[-InformationAction <ActionPreference>]
[-InformationVariable <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
3. 예제
3-1. Get the virtual network configuration of a current Azure subscription
PS C:\> Get-AzureVNetConfig
3-2. Get the virtual network configuration of the current Azure subscription and save it to a local file
PS C:\> Get-AzureVNetConfig -ExportToFile "c:\temp\MyAzNets.netcfg"
3-3.
Get-AzureVNetConfig -ExportFile C:\Config\Networking\Main.netcfg