Get-VBRAzureRestoreSession
Short Description
Returns VM backup restore to Microsoft Azure sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Look for all restore to Azure sessions.
Get-VBRAzureRestoreSession [<CommonParameters>] |
- Look for a specific restore to Azure session.
Get-VBRAzureRestoreSession [-Session <VBRAzureRestoreSession>] [<CommonParameters>] |
- Look for for restore to Azure sessions by the session ID.
Get-VBRAzureRestoreSession [-Id <guid>] [<CommonParameters>] |
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 cmdlet to stop the running session.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Session | Specifies the restore to Microsoft Azure session you want to get. | Accepts the VBRAzureRestoreSession object. To get this object, run the Get-VBRAzureRestoreSession cmdlet. | False | Named | True (ByValue, |
Id | Specifies the ID of the Microsoft Azure session you want to get. | Guid | False | Named | True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting All Restore to Azure Sessions
This command gets all restore to Azure sessions that have been run on this Veeam backup server.
|
Example 2. Getting Restore Session and Its Status
This example shows how to get a restore session and check its status.
Perform the following steps:
|