Short Description
Stops a specific restore session.
Syntax
Stop-VBORestoreSession -Session <VBORestoreSession> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet stops a specific restore session.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Session | Specifies the restore session you want to stop. | True | Named | False | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example shows how to stop a restore session.
- Run Get-VBORestoreSession to get the restore session you want to stop. Save the result to the $session variable.
- Run Stop-VBORestoreSession with the $session variable.
PS C:\PS> $session = Get-VBORestoreSession PS C:\PS> Stop-VBORestoreSession -Session $session |