New-LWAzureNetworkSwitch

SYNOPSIS

Creates a new Azure virtual network

SYNTAX

New-LWAzureNetworkSwitch [-VirtualNetwork] <VirtualNetwork[]> [-PassThru] [<CommonParameters>]

DESCRIPTION

Creates a new Azure virtual network that maps to the lab network definition

EXAMPLES

Example 1

PS C:\> New-LWAzureNetworkSwitch -VirtualNetwork (Get-LabVirtualNetworkDefinition)

Creates all virtual networks in the lab

PARAMETERS

-PassThru

Indicates that the VNets should be returned

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-VirtualNetwork

The virtual networks to create

Type: VirtualNetwork[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES