# Get-OfficeConfluencePage

Reads one page or streams a filtered Confluence Cloud page listing.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Confluence.ConfluencePage` `OfficeIMO.Confluence.ConfluencePageBatch` `OfficeIMO.Confluence.ConfluenceContentConversionResult[System.String]`

**Source**

[GetOfficeConfluencePageCommand.cs:19](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Confluence/GetOfficeConfluencePageCommand.cs#L19) 

Reads one page or streams a filtered Confluence Cloud page listing.

## Syntax

```
Get-OfficeConfluencePage
[-AsHtml]
[-AsMarkdown]
[-AsPage]
[-BodyFormat <Storage|AtlasDocFormat>]
[-Cursor <String>]
[-FailOnLoss]
[-Limit <Int32>]
-Session <ConfluenceSession>
[-SpaceId <String>]
[-Title <String>]
[<CommonParameters>]
```

[#](#method-get-officeconfluencepage-switchparameter-switchparameter-switchparameter-confluencebodyformat-string-switchparameter-int32-confluencesession-string-string)

Parameter set: `List`

```
Get-OfficeConfluencePage
[-AsHtml]
[-AsMarkdown]
[-BodyFormat <Storage|AtlasDocFormat>]
[-FailOnLoss]
[-PageId] <String>
-Session <ConfluenceSession>
[<CommonParameters>]
```

[#](#method-get-officeconfluencepage-switchparameter-switchparameter-confluencebodyformat-switchparameter-string-confluencesession)

Parameter set: `ById`

## Examples

### Read a page as Markdown with fidelity evidence.

```powershell
Get-OfficeConfluencePage -Session $session -PageId 12345 -AsMarkdown
```

Returns the converted Markdown value and its ADF conversion report.

## Parameters

**-AsHtml SwitchParameter optional**

Project each page body to HTML and include conversion evidence.

**-AsMarkdown SwitchParameter optional**

Project each page body to Markdown and include conversion evidence.

**-AsPage SwitchParameter optionalsets: List**

Return listing batches rather than enumerating their pages.

**-BodyFormat ConfluenceBodyFormat optional**

Body representation requested from Confluence.

Possible values: `Storage`, `AtlasDocFormat`

**-Cursor String optionalsets: List**

Optional cursor at which to resume a page listing.

**-FailOnLoss SwitchParameter optional**

Throw when a requested projection reports reduced fidelity.

**-Limit Int32 optionalsets: List**

Maximum pages requested in each listing batch.

**-Session ConfluenceSession required**

Configured Confluence session.

**-SpaceId String optionalsets: List**

Optional space identifier used when listing pages.

**-Title String optionalsets: List**

Optional exact title used when listing pages.

**-PageId String requiredposition: 0sets: ById**

Page identifier.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:0314F2CF66781F9B8C76002A9CBEBE5D20CCAB498DDF3E42AF424F4F619493C4 -->
