Get-VBRMoveBackupSession
Short Description
Returns move sessions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Session (Default)Get-VBRMoveBackupSession [-WhatIf] [-Confirm] [<CommonParameters>]
-
IdGet-VBRMoveBackupSession -Id <Guid> [-WhatIf] [-Confirm] [<CommonParameters>]
-
BackupGet-VBRMoveBackupSession -Backup <VBRBackup> [-WhatIf] [-Confirm] [<CommonParameters>]
-
MachineNameGet-VBRMoveBackupSession -MachineName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet returns move sessions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies the backup for which you want to get move sessions.
Accepts the |
|
True |
Named |
False |
|
Id |
Specifies the ID of the session. The cmdlet will return the session with this ID. |
|
True |
Named |
False |
|
MachineName |
Specifies the name of the machine for which you want to return the move sessions. |
|
True |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRMoveBackupSession[] object that contains settings of the move session.
Examples
Getting Move Sessions for Specific Backup
This example shows how to look for move sessions for the Cloud Webservices Backup backup job.
|
$backup = Get-VBRBackup -Name "Cloud Webservices Backup" Get-VBRMoveBackupSession -Backup $backup |
Perform the following steps:
- Run the
Get-VBRBackupReturns backups. cmdlet. Provide theNameparameter value. Save the result to the$backupvariable. - Run the
Get-VBRMoveBackupSessioncmdlet. Set the$backupvariable as theBackupparameter value.
Related Commands
Get-VBRBackupReturns backups.