Unpublish-VBRBackupContent

Short Description

Unpublishes disks.

Applies to

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

Syntax

Unpublish-VBRBackupContent -Session <VBRBackupContentPublicationSession> [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet unpublishes disks.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies a session that is running to publish disks.

Accepts the VBRBackupContentPublicationSession object. To get this object, run the Get-VBRPublishedBackupContentSession cmdlet.

True

0

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Unpublishing Disks

This example shows how to unpublish dosks.

$session = Get-VBRPublishedBackupContentSession

Unpublish-VBRBackupContent -Session $session -RunAsync

Perform the following steps:

  1. Run the Get-VBRPublishedBackupContentSession cmdlet. Save the result to the $session variable.
  2. Run the Unpublish-VBRBackupContent cmdlet. Set the $session variable as the Session parameter value. Provide the RunAsync parameter.

Related Commands

Get-VBRPublishedBackupContentSession