SALES: 1-800-867-1380
Expand Minimize

Get-WAPackVNet

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

Get-WAPackVNet

Gets virtual networks.

Syntax

Parameter Set: FromId
Get-WAPackVNet [[-ID] <Guid> ] [ <CommonParameters>]

Parameter Set: FromName
Get-WAPackVNet [[-Name] <String> ] [ <CommonParameters>]




Detailed Description

The Get-WAPackVNet cmdlet gets virtual networks.

Parameters

-ID<Guid>

Specifies the unique ID of a virtual network.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a virtual network.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://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.

Examples

Example 1: Get all virtual networks

This command gets all virtual networks.


PS C:\> Get-WAPackVNet

Example 2: Get a virtual network by using an ID

This command gets the virtual network that has the specified ID.


PS C:\> Get-WAPackVNet -ID 66242D17-189F-480D-87CF-8E1D749998C8

Example 3: Get a virtual network by using a name

This command gets the virtual network named ContosoVNet08.


PS C:\>  Get-WAPackVNet -Name "ContosoVNet08"

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft