Get-VEORPublishedDatabase
Short Description
Returns published Oracle databases.
Applies to
Veeam Backup & Replication
Product Edition: Community, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VEORPublishedDatabase [-Session] <VEORRestoreSession> [[-Name] <string[]>] [-Server <string[]>] [-OracleHome <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns published Oracle databases.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Session | Specifies a restore session. The cmdlet will return information about a published Oracle database added to the specified restore session. | Accepts the VEORRestoreSession object. To get this object, run the Get-VEORRestoreSession cmdlet | True | 0 | True |
Name | Specifies an array of names for Oracle databases. The cmdlet will return information about published databases with the specified names. | String[] | False | 1 | False |
Server | Specifies an array of the target Oracle servers. The cmdlet will return information about published databases located on these server. | String[] | False | Named | False |
OracleHome | Specifies an array of the target Oracle home paths. The cmdlet will return information about published databases with the specified target Oracle home paths. | String[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEORPublishedDatabase[] object that contains settings of published Oracle databases.
Examples
Example 1. Getting List of All Published Oracle Databases
This example shows how to get a list of all published Oracle databases.
Perform the following steps:
- Run the Get-VEORRestoreSession cmdlet. Save the result to the $session variable.
The Get-VEORRestoreSession cmdlet will return an array of restore sessions. Mind the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
- Run the Get-VEORPublishedDatabase cmdlet. Set the $session variable as the Session parameter value.
Related Commands