Ready to get started?

Download a free trial of the Oracle Financials Cloud Data Provider to get started:

 Download Now

Learn more:

Oracle Financials Cloud Icon Oracle Financials Cloud ADO.NET Provider

Rapidly create and deploy powerful .NET applications that integrate with Oracle Financials Cloud.

Automate Oracle Financials Cloud Integration Tasks from PowerShell

Are you in search of a quick and easy way to access Oracle Financials Cloud data from PowerShell? This article demonstrates how to utilize the Oracle Financials Cloud Cmdlets for tasks like connecting to Oracle Financials Cloud data, automating operations, downloading data, and more.

The CData Cmdlets for Oracle Financials Cloud are standard PowerShell cmdlets that make it easy to accomplish data cleansing, normalization, backup, and other integration tasks by enabling real-time access to Oracle Financials Cloud.

PowerShell Cmdlets or ADO.NET Provider?

The Cmdlets are not only a PowerShell interface to Oracle Financials Cloud, but also an SQL interface; this tutorial shows how to use both to retrieve Oracle Financials Cloud data. We also show examples of the ADO.NET equivalent, which is possible with the CData ADO.NET Provider for Oracle Financials Cloud. To access Oracle Financials Cloud data from other .NET applications, like LINQPad, use the CData ADO.NET Provider for Oracle Financials Cloud.

Once you have acquired the necessary connection properties, accessing Oracle Financials Cloud data in PowerShell can be enabled in three steps.

Using Basic Authentication

You must set the following to authenticate to Oracle ERP:

  • Url: The Url of the account to connect to. Typically, the URL of your Oracle Cloud service. For example,
  • User: The username of your account.
  • Password: The password of your account.


  1. Install the module:

    Install-Module OracleERPCmdlets
  2. Connect:

    $oracleerp = Connect-OracleERP -Url "$Url" -User "$User" -Password "$Password"
  3. Search for and retrieve data:

    $supplier = "CData Software" $invoices = Select-OracleERP -Connection $oracleerp -Table "Invoices" -Where "Supplier = `'$Supplier`'" $invoices

    You can also use the Invoke-OracleERP cmdlet to execute SQL commands:

    $invoices = Invoke-OracleERP -Connection $oracleerp -Query 'SELECT * FROM Invoices WHERE Supplier = @Supplier' -Params @{'@Supplier'='CData Software'}


  1. Load the provider's assembly:

    [Reflection.Assembly]::LoadFile("C:\Program Files\CData\CData ADO.NET Provider for Oracle Financials Cloud\lib\System.Data.CData.OracleERP.dll")
  2. Connect to Oracle Financials Cloud:

    $conn= New-Object System.Data.CData.OracleERP.OracleERPConnection("Url=;User=user;Password=password;") $conn.Open()
  3. Instantiate the OracleERPDataAdapter, execute an SQL query, and output the results:

    $sql="SELECT InvoiceId, Amount from Invoices" $da= New-Object System.Data.CData.OracleERP.OracleERPDataAdapter($sql, $conn) $dt= New-Object System.Data.DataTable $da.Fill($dt) $dt.Rows | foreach { Write-Host $_.invoiceid $_.amount }