Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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:

Get-VBRDefaultGatewayConfiguration  [<CommonParameters>]

  • For looking for default gateways of a selected cloud service provider:

Get-VBRDefaultGatewayConfiguration [-CloudProvider <VBRCloudProvider[]>]  [<CommonParameters>]

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
Pipeline
Input

Accept
Wildcard
Characters

CloudProvider

Specifies the array of cloud providers. The cmdlet will return the default gateways of these cloud providers.

Accepts VBRCloudProvider type.

False

Named

True (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRDefaultGatewayConfiguration[]

Example 1

This command looks for configuration of default gateways of all cloud providers.

PS C:\PS> Get-VBRDefaultGatewayConfiguration

Example 2

This example shows how to look for configuration of default gateway of the selected cloud provider.

  1. Run Get-VBRCloudProvider to get the cloud service provider. Save the result to the $cloudprovider variable.
  2. Run Get-VBRDefaultGatewayConfiguration to get the configuration of default gateways of a selected cloud provider. Use the saved variable.

PS C:\PS> $cloudprovider = Get-VBRCloudprovider -Name "Cloud provider01"

PS C:\PS> Get-VBRDefaultGatewayConfiguration -CloudProvider $cloudprovider

Related Commands

Get-VBRCloudProvider

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation