Stop-VBRVMRestoreToOracleCloud
Short Description
Stops restore sessions to Oracle Cloud Infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRVMRestoreToOracleCloud -Session <VBROracleCloudRestoreSession> [-Wait] [<CommonParameters>] |
Detailed Description
This cmdlet stops the running session of restore to Oracle Cloud Infrastructure.
To start a restore session, run the Start-VBRVMRestoreToOracleCloudStarts a restore session to Oracle Cloud Infrastructure. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies the restore session that you want to stop.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Wait |
Defines that the cmdlet will wait for the session to stop before it returns the session. If you do not provide this parameter, the cmdlet will return the session immediately after it sends the stop request. |
|
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 VBROracleCloudRestoreSession object that contains the restore session details.
Examples
Stopping Restore Session
This example shows how to stop the restore session by the session ID.
|
$session = Get-VBROracleCloudRestoreSession -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c" Stop-VBRVMRestoreToOracleCloud -Session $session -Wait |
Perform the following steps:
- Run the
Get-VBROracleCloudRestoreSessionReturns restore sessions to Oracle Cloud Infrastructure. cmdlet. Specify theIdparameter value. Save the result to the$sessionvariable. - Run the
Stop-VBRVMRestoreToOracleCloudcmdlet. Set the$sessionvariable as theSessionparameter value. Provide theWaitparameter.