Cmdlets for AWS Data Management

Build 20.0.7654

Invoke-AWSDataManagement Cmdlet

Parameters   Output Objects  

Searches and updates AWS Data Management data.


Invoke-AWSDataManagement [parameters]


The Invoke-AWSDataManagement cmdlet allows you to use SQL statements to execute any SQL statement directly. Below is the syntax for a parameterized query:

$query = Invoke-AWSDataManagement -Connection $connection -Query 'SELECT * FROM NorthwindProducts WHERE Industry=@Industry' -Params @{'@Industry'='Floppy Disks'}
This cmdlet is also useful for executing stored procedures. Use the EXEC keyword to call a stored procedure:
$query = Invoke-AWSDataManagement -Connection $connection -Query 'EXEC CreateTable ObjectName = @ObjectName' -Params @{"NorthwindProducts"}

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654