Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureVNetConfig

Get-AzureVNetConfig

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Gets the Microsoft Azure virtual network configuration from the current subscription.

Syntax

Get-AzureVNetConfig [-ExportToFile] [<CommonParameters>]

Detailed Description

The Get-AzureVNetConfig retrieves the virtual network configuration of the current Microsoft Azure subscription. If the ExportToFile parameter is specified, a network configuration file is created.

Parameters

-ExportToFile <String>

Specifies the path and file name of a network configuration file to be created from the settings.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1 --------------------------

This command gets the virtual network configuration of the current Microsoft Azure subscription and displays it.

PS C:\> C:\PS>Get-AzureVNetConfig

-------------------------- Example 2 --------------------------

This command retrieves the virtual network configuration of the current Microsoft Azure subscription and then saves it to a local file.

PS C:\> C:\PS>Get-AzureVNetConfig -ExportToFile "c:\temp\MyAzNets.netcfg"

Get-AzureVNetSite
Remove-AzureVNetConfig
Set-AzureVNetConfig