---
title: "Get-VBRDefaultGatewayConfiguration"
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."
canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrdefaultgatewayconfiguration.html"
breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Cloud Connect > Veeam Cloud Connect Failover Plans > Get-VBRDefaultGatewayConfiguration"
dateModified: "2026-08-19"
---
# Get-VBRDefaultGatewayConfiguration
## Short Description
Returns configuration of default gateways.
**Platform**: VMware, Hyper-V
**Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License
## Syntax
This cmdlet provides the following parameter sets:
## 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.
## Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
CloudProvider
|
Specifies the array of cloud providers. The cmdlet will return the default gateways of these cloud providers. Accepts the VBRCloudProvider[] object. To get this object, run the Get-VBRCloudProvider cmdlet.
|
VBRCloudProvider[]
|
False
|
Named
|
True (ByPropertyName, ByValue)
|
``
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7).
## Output Object
[`VBRDefaultGatewayConfiguration[]`](vbrdefaultgatewayconfiguration.md)
## Examples
::: example
### Example 1. Getting Configuration of Default Gateways of All Cloud Providers
This command looks for configuration of default gateways of all cloud providers.
```
Get-VBRDefaultGatewayConfiguration
```
:::
::: example
### Example 2. Getting Configuration of Default Gateway of Selected Cloud Provider
This example shows how to look for configuration of default gateway of the cloud provider named `Cloud provider01`.
```
$cloudprovider = Get-VBRCloudprovider -Name "Cloud provider01"
Get-VBRDefaultGatewayConfiguration -CloudProvider $cloudprovider
```
Perform the following steps:
1. Run the [`Get-VBRCloudProvider`](get-vbrcloudprovider.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$cloudprovider` variable.
2. Run the `Get-VBRDefaultGatewayConfiguration` cmdlet. Set the `$cloudprovider` variable as the `CloudProvider` parameter value.
:::
## Related Commands
[`Get-VBRCloudProvider`](get-vbrcloudprovider.md)