Cmdlets for Microsoft Office 365

Build 23.0.8839

Remove-Office365 Cmdlet

Parameters   Output Objects  

Deletes Microsoft Office 365 data.

Syntax

Remove-Office365 [parameters]

Remarks

The Remove-Office365 cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Microsoft Office 365 data.

$conn = Connect-Office365 -OAuthClientId 'MyApplicationId' -OAuthClientSecret 'MySecretKey' -CallbackURL 'http://localhost:33333'
Remove-Office365 -Connection $conn -Table "Events" -Id "Jq74mCczmFXk1tC10GB"
The Where parameter can also be used to specify the primary key:
Remove-Office365 -Connection $conn -Table "exTablePowershell;" -Where "Id = Jq74mCczmFXk1tC10GB"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Office365 -Connection $conn -Table Events -Where "Id = 'Jq74mCczmFXk1tC10GB'" | Remove-Office365

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