Cmdlets for Facebook

Build 24.0.9060

Remove-FB Cmdlet

Parameters   Output Objects  

Deletes Facebook data.

Syntax

Remove-FB [parameters]

Remarks

The Remove-FB cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Facebook data.

$conn = Connect-FB
Remove-FB -Connection $conn -Table "Posts" -Id "11111_22222"
The Where parameter can also be used to specify the primary key:
Remove-FB -Connection $conn -Table "exTablePowershell;" -Where "Id = 11111_22222"
The primary key can also be passed to the cmdlet along the pipeline:
Select-FB -Connection $conn -Table Posts -Where "Target = '11111'" | Remove-FB

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060