Get-VBRCDPPolicy
Short Description
Returns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Name (Default)Get-VBRCDPPolicy [-Name <String[]>] [<CommonParameters>]
-
IdGet-VBRCDPPolicy [-Id <Guid[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies, universal CDP policies and so on.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an array of IDs of policies. The cmdlet will return a list of policies with the specified IDs. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies an array of names of policies. The cmdlet will return a list of policies with these names. |
|
False |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRCDPPolicyBase[] object that defines settings of CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
Examples
Example 1. Getting CDP Policy by Name
|
This command returns the
|
Example 2. Getting CDP Policy by ID
|
This command returns the
|
Example 3. Getting all CDP Policies
|
This command returns all CDP policies that are created on the backup server.
|