![]() |
VOOZH | about |
The CData Cmdlets Module for Raisers Edge NXT is a standard PowerShell module offering straightforward integration with Raisers Edge NXT. Below, you will find examples of using our RaiserEdgeNXT Cmdlets with native PowerShell cmdlets.
Before establishing a connection, supply the SubscriptionKey, found in the Blackbaud Raiser's Edge NXT Profile.
Blackbaud Raiser's Edge NXT uses the OAuth authentication standard. You can connect to without setting any connection properties using the embedded OAuth credentials.
Alternatively, you can authenticate by creating a custom app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties.
See the Help documentation for an authentication guide.
$conn = Connect-RaiserEdgeNXT -SubscriptionKey "$SubscriptionKey" -OAuthClientId "$OAuthClientId" -OAuthClientSecret "$OAuthClientSecret" -CallbackURL "$CallbackURL" -InitiateOAuth "$InitiateOAuth"
Follow the steps below to retrieve data from the Constituents table and pipe the result into to a CSV file:
Select-RaiserEdgeNXT -Connection $conn -Table Constituents | Select -Property * -ExcludeProperty Connection,Table,Columns | Export-Csv -Path c:\myConstituentsData.csv -NoTypeInformation
You will notice that we piped the results from Select-RaiserEdgeNXT 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 Raisers Edge NXT Cmdlets to get started:
Download NowLearn more:
👁 Raisers Edge NXT IconAn easy-to-use set of PowerShell Cmdlets offering real-time access to Raisers Edge NXT. The Cmdlets allow users to easily access live data - just like working with SQL server.