![]() |
VOOZH | about |
The CData Cmdlets Module for Oracle Eloqua Reporting is a standard PowerShell module offering straightforward integration with Oracle Eloqua Reporting. Below, you will find examples of using our OracleEloquaReporting Cmdlets with native PowerShell cmdlets.
Oracle Eloqua Reporting supports the following authentication methods:
To perform authentication with a user and password, specify these properties:
To authenticate with the OAuth code grant flow, you must set AuthScheme to OAuth and create a custom OAuth application. For information about how to create a custom OAuth application, see the Help documentation.
Then set the following properties:
When you connect, the driver opens Oracle Eloqua Reporting's OAuth endpoint in your default browser. Log in and grant permissions to the application. When the access token expires, the driver refreshes it automatically.
With the OAuth password grant flow, you can use your OAuth application's credentials alongside your user credentials to authenticate without the need to grant permission manually via a browser prompt. You must create an OAuth app (see the Help documentation) to use this authentication method.
Set the following properties:
$conn = Connect-OracleEloquaReporting -AuthScheme "$AuthScheme" -User "$User" -Password "$Password" -Company "$Company"
Follow the steps below to retrieve data from the table and pipe the result into to a CSV file:
Select-OracleEloquaReporting -Connection $conn -Table | Select -Property * -ExcludeProperty Connection,Table,Columns | Export-Csv -Path c:\myData.csv -NoTypeInformation
You will notice that we piped the results from Select-OracleEloquaReporting into a Select-Object cmdlet and excluded some properties before piping them into an Export-Csv cmdlet. We do this because the CData Cmdlets append Connection, Table, and Columns information onto each "row" in the result set, and we do not necessarily want that information in our CSV file.
The Connection, Table, and Columns are appended to the results in order to facilitate piping results from one of the CData Cmdlets directly into another one.Download a free trial of the Oracle Eloqua Reporting Cmdlets to get started:
Download NowLearn more:
👁 Oracle Eloqua Reporting IconAn easy-to-use set of PowerShell Cmdlets offering real-time access to Oracle Eloqua Reporting. The Cmdlets allow users to easily read, write, update, and delete live data - just like working with SQL server.