# Export-OfficePdfXfdf

Exports readable PDF form field values as XFDF. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`System.String` `System.IO.FileInfo`

**Source**

[ExportOfficePdfXfdfCommand.cs:12](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/ExportOfficePdfXfdfCommand.cs#L12) 

Exports readable PDF form field values as XFDF.

## Syntax

```
Export-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[[-OutputPath] <String>]
[-PassThru]
[-Password <String>]
[-Path] <String>
[-ReadOptions <PdfLoadOptions>]
[<CommonParameters>]
```

[#](#method-export-officepdfxfdf-switchparameter-string-switchparameter-string-string-pdfloadoptions)

Parameter set: `All Parameter Sets`

## Examples

### Example 1

```powershell
Export-OfficePdfXfdf -Path 'C:\Path'
```

## Parameters

**-IgnorePermissionRestrictions SwitchParameter optional**

After successful password authentication, explicitly ignore owner-imposed form-reading restrictions.

**-OutputPath String optionalposition: 1**

Optional XFDF output path. Without it, the command returns XML.

**-PassThru SwitchParameter optional**

Return the written file.

**-Password String optional**

Password used to authenticate an encrypted PDF.

**-Path String requiredposition: 0**

Source PDF path.

**-ReadOptions PdfLoadOptions optional**

Optional bounded PDF parsing and password settings.

## 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:B83AF1277D52AC75CD361361B9987451D405A16C2EAAEF2D70491A8974395D03 -->
