Find-VBRViStoragePolicy
Short Description
Looks for VMware storage policy profiles.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Look for all VMware storage policy profiles.
Find-VBRViStoragePolicy -Server <CHost> [-Datastore <CViDatastoreItem>] [<CommonParameters>] |
- Look for a specific VMware storage policy profile by the storage policy profile name.
Find-VBRViStoragePolicy -Server <CHost> [-Datastore <CViDatastoreItem>] [-Name <string[]>] [<CommonParameters>] |
- Look for a specific VMware storage policy profile by the storage policy profile ID.
Find-VBRViStoragePolicy -Server <CHost> [-Datastore <CViDatastoreItem>] [-Id <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns VMware storage policy profiles created on a vCenter Server.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Server | Specifies the vCenter Server where the storage policy profiles are created. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | Named | True (ByValue, |
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-VBRViDatastore cmdlet. | False | Named | False |
Name | Specifies an array of storage policy profile names. The cmdlet will return profiles with these names. | String[] | False | Named | False |
Id | Specifies an array of storage policy profile IDs. The cmdlet will return profiles with these IDs. | String[] | False | Named | False |
<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
Example 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.
Perform the following steps:
|
Example 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.
Perform the following steps:
|
Example 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.
Perform the following steps:
|
Related Commands