Get-VBOAzureVirtualNetwork

Short Description

Returns a network to which the Azure archiver appliance will be connected.

Syntax

Get-VBOAzureVirtualNetwork -ResourceGroup <VBOAzureResourceGroup> [-Name <String>]

[-Location <VBOAzureLocation>] [<CommonParameters>]

Detailed Description

This cmdlet returns the VBOAzureVirtualNetwork object.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Location

Specifies a Microsoft Entra region.

Accepts the VBOAzureLocation object.

To get this object, run the Get-VBOAzureLocationReturns a Microsoft Entra region. cmdlet.

VBOAzureLocation

False

Named

False

Name

Specifies a name of the virtual network. The cmdlet will return the virtual network with this name.

String

False

Named

False

ResourceGroup

Specifies a resource group that will be associated with the Azure archiver appliance.

Accepts the VBOAzureResourceGroup object.

To get this object, run the Get-VBOAzureResourceGroupReturns a resource group that will be associated with the Azure archiver appliance. cmdlet.

VBOAzureResourceGroup

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.

Output Object

The cmdlet returns the VBOAzureVirtualNetwork object.

Examples

Getting Virtual Network by Name

This example shows how to get a virtual network with the specified name.

$azureacc = Get-VBOAzureServiceAccount -Id f8e5ac3d-d883-4dd8-8de3-a8f315fb6ae2

$subscription = Get-VBOAzureSubscription -ServiceAccount $azureacc -Id "06b7354e-518f-4a10-b4c1-98f49d743012"

$rgroup = Get-VBOAzureResourceGroup -Subscription $subscription -Name "ResourceGroupName"

Get-VBOAzureVirtualNetwork -ResourceGroup $rgroup -Name "VirtualNetworkName"

Perform the following steps:

  1. Run the Get-VBOAzureServiceAccountReturns Microsoft Azure service account details. cmdlet. Specify the Id parameter value. Save the result to the $azureacc variable.
  2. Run the Get-VBOAzureSubscriptionReturns Microsoft Azure subscriptions associated with a user account that will be used to access Azure Blob Storage. cmdlet. Set the $azureacc variable as the ServiceAccount parameter value. Specify the Id parameter value. Save the result to the $subscription variable.
  3. Run the Get-VBOAzureResourceGroupReturns a resource group that will be associated with the Azure archiver appliance. cmdlet. Specify the $subscription variable as the Subscription parameter value. Specify the Name parameter value. Save the result to the $rgroup variable.
  4. Run the Get-VBOAzureVirtualNetwork cmdlet. Specify the $rgroup variable as the ResourceGroup parameter value. Specify the Name parameter value.

Page updated 2026-08-21

Page content applies to build 8.6.0.1102