Find-VBRViStoragePolicy

Short Description

Looks for VMware storage policy profiles.

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

Syntax

This cmdlet provides the following parameter sets:

  • AllParameterSets (Default)

    Find-VBRViStoragePolicy -Server <CHost> [-Datastore <VBRViDatastoreBase>] [<CommonParameters>]

  • Name

    Find-VBRViStoragePolicy -Server <CHost> [-Datastore <VBRViDatastoreBase>] [-Name <String[]>] [<CommonParameters>]

  • Id

    Find-VBRViStoragePolicy -Server <CHost> [-Datastore <VBRViDatastoreBase>] [-Id <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns VMware storage policy profiles created on a vCenter Server.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Datastore

Specifies a datastore. The cmdlet will return storage policy profiles compatible with this datastore.

Accepts the CViDatastoreItem object. To get this object, run the Find-VBRViDatastoreLooks for VMware datastores. cmdlet.

VBRViDatastoreBase

False

Named

False

Id

Specifies an array of storage policy profile IDs. The cmdlet will return profiles with these IDs.

String[]

False

Named

False

Name

Specifies an array of storage policy profile names. The cmdlet will return profiles with these names.

String[]

False

Named

False

Server

Specifies the vCenter Server where the storage policy profiles are created.

Accepts the CHost object. To get this object, run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet.

CHost

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Output Object

This cmdlet returns the VBRViStoragePolicy[] object that contains information on VMware storage policy profiles created on a vCenter Server.

Examples

Find-VBRViStoragePolicyExample 1. Looking for all Storage Policy Profiles

This example shows how to get a list of all storage policy profiles registered for the tech.local host.

$server = Get-VBRServer -Type ESXi -Name "tech.local"

Find-VBRViStoragePolicy -Server $server

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Type and Name parameter values. Save the result to the $server variable.
  2. Run the Find-VBRViStoragePolicy cmdlet. Set the $server variable as the Server parameter value.

Find-VBRViStoragePolicyExample 2. Looking for Storage Policy Profile by its Name

This example shows how to get the Virtual SAN Default Storage Policy storage policy profile registered for the tech.local host.

$server = Get-VBRServer -Type ESXi -Name "tech.local"

Find-VBRViStoragePolicy -Server $server -Name "Virtual SAN Default Storage Policy"

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Type and Name parameter values. Save the result to the $server variable.
  2. Run the Find-VBRViStoragePolicy cmdlet. Set the $server variable as the Server parameter value. Specify the Name parameter value.

Find-VBRViStoragePolicyExample 3. Looking for Storage Policy Profile by its ID

This example shows how to get the 4da512dc-dee7-465b-a507-72d44a9ba752 storage policy profile registered for the tech.local host.

$server = Get-VBRServer -Type ESXi -Name "tech.local"

Find-VBRViStoragePolicy -Server $server -Id "4da512dc-dee7-465b-a507-72d44a9ba752"

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Type and Name parameter values. Save the result to the $server variable.
  2. Run the Find-VBRViStoragePolicy cmdlet. Set the $server variable as the Server parameter value. Specify the Id parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18