The Get-OracleInstances
command lists the Oracle instances that are running a specified protected server.
Usage
The usage for the command is as follows:
Get-OracleInstances -core [host name] -user [user name] -password [password] -protectedserver [name | IP address]
Command Options
The following table describes the options available for the Get-OracleInstances
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-protectedserver |
The name or IP address of the protected machine. |
Example:
List the Oracle instances running on a specified protected server:
Get-OracleInstances -core 10.10.127.42 -user admin -password -676df#df -protectedserver 10.10.34.88