Cmdlets for Facebook

Build 24.0.9060

Update-FB Cmdlet

Parameters   Output Objects  

Updates Facebook data.

Syntax

Update-FB [parameters]

Remarks

The Update-FB cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Facebook data.

$conn = Connect-FB
Update-FB -Connection $conn -Table "Posts" -Columns @("FromName") -Values @("User") -Id "11111_22222"
The Where parameter can also be used to specify the primary key of the table:
Update-FB -Connection $conn -Table "Posts" -Columns @("FromName") -Values @("User") -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'" | Update-FB -Columns @("Target") -Values @("11111 2")

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