Get-VEHANASystem
Short Description
Returns information about a backed-up SAP HANA system.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEHANASystem [-Session] <VEHANARestoreSession> [<CommonParameters>] |
Detailed Description
This cmdlet returns information about a backed-up SAP HANA system. After you get the SAP HANA system, you can use the Get-VEHANADatabaseReturns backed-up SAP HANA databases. cmdlet to get an array of the databases available on the system.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies a restore session initiated to perform operations with SAP HANA databases.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VEHANASystem object that contains information about the specified SAP HANA system.
Examples
Getting SAP HANA System
This example shows how to get the necessary SAP HANA system from the relevant restore session.
|
$session = Get-VEHANARestoreSession $system = Get-VEHANASystem -Session $session[0] |
Perform the following steps:
- Run the
Get-VEHANARestoreSessionReturns active restore sessions started to perform operations with backed-up SAP HANA databases. cmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In this example, it is the first restore session in the array.
- Run the
Get-VEHANASystemcmdlet. Set the$sessionvariable as theSessionparameter value and select the necessary restore session. Save the result to the$systemvariable to be able to use it with other cmdlets.
Related Commands
Get-VEHANARestoreSessionReturns active restore sessions started to perform operations with backed-up SAP HANA databases.