This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRCDPTaskSession

Short Description

Returns VMs processed during CDP policy sessions.

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get VMs processed during specified CDP policy session.

Get-VBRCDPTaskSession -Session <VBRCDPSession> [-Last]  [<CommonParameters>]

  • Get VMs processed during specified CDP policy session by the session ID.

Get-VBRCDPTaskSession [-Id <guid>]  [<CommonParameters>]

  • Get the last VMs processed during a CDP policy session by VMs ID.

Get-VBRCDPTaskSession [-Last] [-ObjectId <guid>]  [<CommonParameters>]

  • Get the last VMs processed during a CDP policy session by VMs name.

Get-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

Session

Specifies a CDP policy session that processes VMs. The cmdlt will return these VMs.

Accepts the VBRCDPSession object. To create this object, run the Get-VBRCDPSession cmdlet.

True

Named

True (ByPropertyName)

Last

Defines that the cmdlet will return the last VMs that were processed during a CDP policy session.

SwitchParameter

False

Named

False

Id

Specifies an ID of a session that you want to get.

Guid

False

Named

False

ObjectId

Specifies an ID of VMs that processed during a CDP policy session.

Guid

False

Named

False

ObjectName

Specifies a name of VMs that processed during a CDP policy session.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRCDPTaskSession object that contains information on VMs performed during CDP policy sessions.

Examples

Get-VBRCDPTaskSessionExample 1. Getting VMs Processed During Specific CDP Policy Session

Get-VBRCDPTaskSessionExample 2. Getting VMs Processed During CDP Policy Session by Session ID

Get-VBRCDPTaskSessionExample 3. Getting VM Processed During CDP Policy Session by VMs ID

Get-VBRCDPTaskSessionExample 4. Getting Last VM Processed During CDP Policy Session

Related Commands