Remove-VBRRestoreSession (obsolete)
Short Description
Removes restore sessions.
Note  | 
This cmdlet is obsolete and not supported.  | 
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRRestoreSession -Session <CRestoreSession[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]  | 
Detailed Description
This cmdlet removes a selected restore session from Veeam Backup & Replication.
Parameters
Parameter  | Description  | Type  | Required  | Position  | Accept  | 
|---|---|---|---|---|---|
Session  | Specifies the restore session you want to remove.  | Accepts the CRestoreSession[] object. To get this object, run the Get-VBRRestoreSession cmdlet.  | True  | 1  | True (ByValue,  | 
WhatIf  | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.  | SwitchParameter  | False  | Named  | False  | 
Confirm  | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.  | SwitchParameter  | False  | Named  | False  | 
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Removing Last Restore Session [Using Pipeline]
This example shows how to remove the last restore session of the Fileserver 03 VM. 
 Perform the following steps: 
  | 
Example 2. Removing Selected Restore Session [Using Variable]
This example shows how to remove the Fileserver 03 restore session. 
 Perform the following steps: 
  | 
Related Commands