Remove-ExactOnline Cmdlet
Deletes Exact Online data.
Syntax
Remove-ExactOnline [parameters]
Remarks
The Remove-ExactOnline cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Exact Online data.
$conn = Connect-ExactOnline -Region 'United States' -Division '5512' Remove-ExactOnline -Connection $conn -Table "Accounts" -Id "a1f7b7c1-1ea9-4305-82b8-ab482db90a5f"The Where parameter can also be used to specify the primary key:
Remove-ExactOnline -Connection $conn -Table "exTablePowershell;" -Where "Id = a1f7b7c1-1ea9-4305-82b8-ab482db90a5f"The primary key can also be passed to the cmdlet along the pipeline:
Select-ExactOnline -Connection $conn -Table Accounts -Where "City = 'Raleigh'" | Remove-ExactOnline