Get-VBRAzureRestoreSession
Short Description
Returns VM backup restore to Microsoft Azure sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides 3 parameter sets.
- For looking for all restore to Azure sessions:
- For looking for a specific restore to Azure session:
- For looking for restore to Azure sessions by the session ID:
Detailed Description
This cmdlet returns restore to Microsoft Azure sessions. You can look for a session to check its status or to pass it to the Stop-VBRVMRestoreToAzure to stop the running session.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Session | Specifies the restore to Microsoft Azure session you want to get. | False | Named | True (ByValue, | False |
Id | Specifies the ID of the Microsoft Azure session you want to get. | False | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example 1
This command gets all restore to Azure sessions that have been run on this Veeam backup server.
Example 2
This example shows how to get a restore session and check its status.
- Get all restore to Azure sessions and select the most recent one. Save it to the $session variable.
- Run Get-VBRAzureRestoreSession with the saved variable.