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>]
-
NameFind-VBRViStoragePolicy -Server <CHost> [-Datastore <VBRViDatastoreBase>] [-Name <String[]>] [<CommonParameters>]
-
IdFind-VBRViStoragePolicy -Server <CHost> [-Datastore <VBRViDatastoreBase>] [-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 |
|---|---|---|---|---|---|
|
Datastore |
Specifies a datastore. The cmdlet will return storage policy profiles compatible with this datastore.
Accepts the |
|
False |
Named |
False |
|
Id |
Specifies an array of storage policy profile IDs. The cmdlet will return profiles with these IDs. |
|
False |
Named |
False |
|
Name |
Specifies an array of storage policy profile names. The cmdlet will return profiles with these names. |
|
False |
Named |
False |
|
Server |
Specifies the vCenter Server where the storage policy profiles are created.
Accepts the |
|
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
Example 1. Looking for all Storage Policy Profiles
|
This example shows how to get a list of all storage policy profiles registered for the
Perform the following steps:
|
Example 2. Looking for Storage Policy Profile by its Name
|
This example shows how to get the
Perform the following steps:
|
Example 3. Looking for Storage Policy Profile by its ID
|
This example shows how to get the
Perform the following steps:
|
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViDatastoreLooks for VMware datastores.