--- title: "Get-VBROracleCloudShape" description: "This cmdlet returns an array of compute shapes that the specified availability domain offers." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbroraclecloudshape.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Restore to Oracle Cloud Infrastructure > Recovery > Get-VBROracleCloudShape" dateModified: "2026-11-09" --- # Get-VBROracleCloudShape ## Short Description Returns compute shapes available in Oracle Cloud Infrastructure. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VBROracleCloudShape -AvailabilityDomain -Compartment [-Name ] [] ``` ## Detailed Description This cmdlet returns an array of compute shapes that the specified availability domain offers. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AvailabilityDomain

Specifies the availability domain. The cmdlet will return shapes that this availability domain offers.

Note: The availability domain must belong to the same OCI account as the compartment that you specify in the Compartment parameter.

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

VBROracleCloudAvailabilityDomain

True

Named

True (ByPropertyName, ByValue)

Compartment

Specifies the compartment. The cmdlet will return shapes that are available in this compartment.

Note: The compartment must belong to the same OCI account as the availability domain that you specify in the AvailabilityDomain parameter.

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

VBROracleCloudCompartment

True

Named

True (ByPropertyName)

Name

Specifies an array of names of shapes. For example, VM.Standard.E5.Flex. The cmdlet will return shapes with these names.

You can use wildcard characters in the names.

String[]

False

Named

False

`` 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 The cmdlet returns the [`VBROracleCloudShape`](vbroraclecloudshape.md) object that contains the shape settings. ## Examples ::: example ### Example 1. Getting Shape by Name This example shows how to get a compute shape by its name. ``` $account = Get-VBROracleCloudAccount -Name "My OCI Account" $region = Get-VBROracleCloudRegion -Account $account -Name "eu-frankfurt-1" $compartment = Get-VBROracleCloudCompartment -Account $account -Name "Restore" $domain = Get-VBROracleCloudAvailabilityDomain -Region $region -Name "*AD-1" $shape = Get-VBROracleCloudShape -Compartment $compartment -AvailabilityDomain $domain -Name "VM.Standard.E5.Flex" ``` Perform the following steps: 1. Run the [`Get-VBROracleCloudAccount`](get-vbroraclecloudaccount.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$account` variable. 2. Run the [`Get-VBROracleCloudRegion`](get-vbroraclecloudregion.md) cmdlet. Set the `$account` variable as the `Account` parameter value. Specify the `Name` parameter value. Save the result to the `$region` variable. 3. Run the [`Get-VBROracleCloudCompartment`](get-vbroraclecloudcompartment.md) cmdlet. Set the `$account` variable as the `Account` parameter value. Specify the `Name` parameter value. Save the result to the `$compartment` variable. 4. Run the [`Get-VBROracleCloudAvailabilityDomain`](get-vbroraclecloudavailabilitydomain.md) cmdlet. Set the `$region` variable as the `Region` parameter value. Specify the `Name` parameter value. Save the result to the `$domain` variable. 5. Run the `Get-VBROracleCloudShape` cmdlet. Specify the following settings: - Set the `$compartment` variable as the `Compartment` parameter value. - Set the `$domain` variable as the `AvailabilityDomain` parameter value. - Specify the `Name` parameter value. Save the result to the `$shape` variable to use it when you run the [`Start-VBRVMRestoreToOracleCloud`](start-vbrvmrestoretooraclecloud.md) cmdlet. :::