Cmdlets for Oracle

Build 25.0.9434

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

This connection property only applies when ConnectionType is set to OracleTNS.

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)))

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434