Get-VBRAzureResourceGroup

Short Description

Returns Microsoft Azure resource groups available for a subscription.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRAzureResourceGroup -Subscription <VBRAzureSubscription> [-Name <string[]>] [-Location <VBRAzureLocation>]  [<CommonParameters>]

Detailed Description

This cmdlet returns resource groups available for a selected subscription.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Subscription

Specifies the subscription. The cmdlet will return resource groups associated with this subscription.

Accepts the VBRAzureSubscription object. To create this object, run the Get-VBRAzureSubscription cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

Name

Specifies the array of names. The cmdlet will return resource groups that match the specified names.

String[]

False

Named

False

Location

Specifies geographic locations of Microsoft Azure datacenters available for a resource group.

Accepts the VBRAzureLocation object. To get this object, run the Get-VBRAzureLocation cmdlet.

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRAzureResourceGroup

Examples

Get-VBRAzureResourceGroupExample 1. Getting All Resource Groups Available for Subscription

Get-VBRAzureResourceGroupExample 2. Getting Resource Group by Name

Related Commands

Get-VBRAzureSubscription

Page updated 2/28/2024

Page content applies to build 12.3.1.1139