Get-VBRCDPTaskSession
Short Description
Returns VMs processed during CDP policy sessions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Session (Default)Get-VBRCDPTaskSession -Session <VBRCDPSession> [-Last] [<CommonParameters>]
-
IdGet-VBRCDPTaskSession [-Id <Guid>] [<CommonParameters>]
-
ObjectIdGet-VBRCDPTaskSession [-Last] [-ObjectId <Guid>] [<CommonParameters>]
-
ObjectNameGet-VBRCDPTaskSession [-Last] [-ObjectName <String>] [<CommonParameters>]
Detailed Description
This cmdlet returns VMs performed during CDP policy sessions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an ID of a session that you want to get. |
|
False |
Named |
True (ByPropertyName) |
|
Last |
Defines that the cmdlet will return the last VMs that were processed during a CDP policy session. |
|
False |
Named |
False |
|
ObjectId |
Specifies an ID of VMs that processed during a CDP policy session. |
|
False |
Named |
False |
|
ObjectName |
Specifies a name of VMs that processed during a CDP policy session. |
|
False |
Named |
False |
|
Session |
Specifies a CDP policy session that processes VMs. The cmdlet will return these VMs.
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
The cmdlet returns the VBRCDPTaskSession object that contains information on VMs performed during CDP policy sessions.
Examples
Example 1. Getting VMs Processed During Specific CDP Policy Session
|
This example shows how to get VMs processed during the CDP policy session.
Perform the following steps:
|
Example 2. Getting VMs Processed During CDP Policy Session by Session ID
|
This command returns the VMs processed during the
|
Example 3. Getting VM Processed During CDP Policy Session by VMs ID
|
This command returns the
|
Example 4. Getting Last VM Processed During CDP Policy Session
|
This command returns the last VMs processed during a CDP policy session.
|
Related Commands
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRCDPSessionReturns CDP policy sessions.