Get-VBRDefaultGatewayConfiguration
Short Description
Returns configuration of default gateways.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides two parameter sets.
- For looking for default gateways of all cloud service providers:
- For looking for default gateways of a selected cloud service provider:
Detailed Description
This cmdlet returns configuration information on service provider default gateways. You can get information about all gateways of all service providers, or look for a selected service provider. Use an appropriate parameter set for each case.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
CloudProvider | Specifies the array of cloud providers. The cmdlet will return the default gateways of these cloud providers. | False | Named | True (by Value | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Related Commands
Return Type
VBRDefaultGatewayConfiguration[]
Example 1
This command looks for configuration of default gateways of all cloud providers.
Example 2
This example shows how to look for configuration of default gateway of the selected cloud provider.
- Run Get-VBRCloudProvider to get the cloud service provider. Save the result to the $cloudprovider variable.
- Run Get-VBRDefaultGatewayConfiguration to get the configuration of default gateways of a selected cloud provider. Use the saved variable.