Get-SCVMNetworkGateway

Get-SCVMNetworkGateway

Gets a VM network gateway object.

Syntax

Parameter Set: ByVMNetwork
Get-SCVMNetworkGateway -VMNetwork <VMNetwork> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: ByID
Get-SCVMNetworkGateway -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed Description

The Get-SCVMNetworkGateway cmdlet gets one or more VM network gateway objects.

Parameters

-ID<Guid>

Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMNetwork<VMNetwork>

Specifies a VM network object.

To get a VM network object, use the Get-SCVMNetwork cmdlet.

Aliases

none

Required?

true

Position?

named

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.

Get-SCVMNetwork

Add-SCVMNetworkGateway

Read-SCVMNetworkGateway

Remove-SCVMNetworkGateway

Set-SCVMNetworkGateway