Remove-SageIntacct Cmdlet
Deletes Sage Intacct data.
Syntax
Remove-SageIntacct [parameters]
Remarks
The Remove-SageIntacct cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Sage Intacct data.
$conn = Connect-SageIntacct -User 'myusername' -CompanyID 'TestCompany' -Password 'mypassword' -SenderID 'Test' -SenderPassword 'abcde123' Remove-SageIntacct -Connection $conn -Table "Customer" -Id "1"The Where parameter can also be used to specify the primary key:
Remove-SageIntacct -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"The primary key can also be passed to the cmdlet along the pipeline:
Select-SageIntacct -Connection $conn -Table Customer -Where "CustomerId = '12345'" | Remove-SageIntacct