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

Unpublish-VBRBackupContent

Short Description

Unmounts content of backup files from iSCSI target servers.

Applies to

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

Syntax

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

Detailed Description

This cmdlet unmounts the content of backup files from iSCSI target servers.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies a session that is running to mount the content of backup files. The cmdlet will unmount this session from the iSCSI target server.

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

True

0

False

RunAsync

Indicates 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 the About CommonParameters section of Microsoft Docs.

Output Object

None.

Examples

Unmounting Content of Backup Files

This example shows how to unmount the content of backup files from the iSCSI target server.

$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