Project

PSWriteOffice

PowerShell document automation across Word, Excel, PowerPoint, PDF, Reader, Confluence, Visio, and open text formats.

Stars 159
Forks 14
PowerShell Gallery downloads 158,661
Release v3.0.5
Language: C# Updated: 2026-09-03

API Reference

Cmdlet

Export-OfficePdfXfdf

Namespace PSWriteOffice
Inputs
None
Outputs
System.String System.IO.FileInfo

Exports readable PDF form field values as XFDF.

Remarks

Exports readable PDF form field values as XFDF.

Examples

Authored help example

EXAMPLE 1


Export-OfficePdfXfdf -Path 'C:\Path'
        

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.

Syntax

Export-OfficePdfXfdf [-IgnorePermissionRestrictions] [-OutputPath <String>] [-PassThru] [-Password <String>] -Path <String> [-ReadOptions <PdfReadOptions>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

IgnorePermissionRestrictions SwitchParameter optionalposition: namedpipeline: False
After successful password authentication, explicitly ignore owner-imposed form-reading restrictions.
OutputPath String optionalposition: 1pipeline: False
Optional XFDF output path. Without it, the command returns XML.
PassThru SwitchParameter optionalposition: namedpipeline: False
Return the written file.
Password String optionalposition: namedpipeline: False
Password used to authenticate an encrypted PDF.
Path String requiredposition: 0pipeline: False
Source PDF path.
ReadOptions PdfReadOptions optionalposition: namedpipeline: False
Optional bounded PDF parsing and password settings.

Outputs

System.String, System.IO.FileInfo