Set-AzureVNetConfig

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Set-AzureVNetConfig

Updates the virtual network settings for a Windows Azure cloud service.

Parameter Set: Default
Set-AzureVNetConfig [-ConfigurationPath] <String> [ <CommonParameters>]

This topic describes the cmdlet in the .6.19 version of the Windows Azure PowerShell module. To find out the version of the module you're using, from the Windows Azure PowerShell console, type (get-module azure).version.

The Set-AzureVNetConfig cmdlet updates the network configuration for the current Windows Azure subscription by specifying a path to a network configuration file (.netcfg). The network configuration file defines DNS servers and subnets for cloud services within a subscription.

-ConfigurationPath<String>

Specifies the path and file name of a network configuration file (.netcfg).

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

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

This command updates the network configuration of the current Windows Azure subscription to that in the local file "c:\temp\MyAzNets.netcfg".

C:\PS>Set-AzureVNetConfig  -ConfigurationPath "c:\temp\MyAzNets.netcfg" 

Get-AzureVNetConfig

Get-AzureVNetSite

Remove-AzureVNetConfig