Cmdlet
Remove-OfficeConfluencePage
Plans or deletes a Confluence Cloud page.
Syntax
Remove-OfficeConfluencePage
[-Draft]
[-PageId] <String>
[-PassThru]
[-PlanOnly]
[-Purge]
[-Session <ConfluenceSession>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Inspect a permanent-delete request without contacting Confluence.
Remove-OfficeConfluencePage -PageId 12345 -Purge -PlanOnlyReturns the exact DELETE request plan without using a session.
Move a current page to the trash.
Remove-OfficeConfluencePage -Session $session -PageId 12345Uses PowerShell ShouldProcess before sending the non-retried delete request.
Parameters
- -Draft SwitchParameter
- Delete a draft page.
- -PageId String
- Page identifier.
- -PassThru SwitchParameter
- Return the completed delete plan after a live operation.
- -PlanOnly SwitchParameter
- Return the exact delete plan without contacting Confluence.
- -Purge SwitchParameter
- Permanently delete a page that is already in the trash.
- -Session ConfluenceSession
- Configured session required for a live delete operation.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.