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
 

New-WAPackVNet

New-WAPackVNet

microsoft.windowsazure.commands.dll

Synopsis

Creates a virtualized network.

Syntax

New-WAPackVNet [-LogicalNetwork] [-Name] [-Description] [<CommonParameters>]

Detailed Description

The New-WAPackVNet cmdlet creates a virtualized network.

Parameters

-LogicalNetwork <LogicalNetwork>

Specifies a LogicalNetwork associated with the virtualized network.

Aliases

None

Required?

true

Position

named

Default value

Accept pipeline input?

True (ByValue)

Accept wildcard characters?

false

-Name <String>

Specifies a name for the virtualized network.

Aliases

None

Required?

true

Position

named

Default value

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-Description <String>

Specifies a description for the virtualized network.

Aliases

None

Required?

true

Position

named

Default value

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Create a virtualized network

The first command first retrieves the logical network to which we want to add a new virtualized network. This logical network is named “ContosoLogicalNetwork01”.

The second and last command creates a virtualized network using the previously retrieve logical network, a name “ContosoVNett01” and a description “A description”.

          PS C:\>$LogicalNetwork = Get-WAPackLogicalNetwork -Name "ContosoLogicalNetwork01"
          PS C:\>New-WAPackVNet –LogicalNetwork $LogicalNetwork -Name "ContosoVNett01" –Description “A description”
        

Get-WAPackVNet
Remove-WAPackVNet