DataSource Parameter (Connect-OracleOci Cmdlet)
Specifies the Oracle database to connect to, using the Net Services Name, Connect Descriptor (TNS Connect String), or connection name.
Syntax
Connect-OracleOci -DataSource string
Data Type
cstr
Default Value
""
Remarks
Specifies the Oracle database to connect to, using the Net Services Name, Connect Descriptor (TNS Connect String), or connection name. This value is found in your tnsnames.ora file at ORACLE_HOME/network/admin/tnsnames.ora.
For example: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=my.company.net)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ORCLPDB1.localdomain)))