Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Export-OfficePdfXfdf

Module
PSWriteOffice
Inputs
OfficeIMO.Pdf.PdfDocument System.String[]
Outputs
System.String System.IO.FileInfo

Exports native PDF form values as XFDF XML or atomically published XFDF files.

Syntax

Export-OfficePdfXfdf
[-Document <PdfDocument>]
[-NoClobber]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Document
Export-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-OutputPath <String>]
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Path
Export-OfficePdfXfdf
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: PathDirectory
Export-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-OutputPath <String>]
[-PassThru]
[-Password <SecureString>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: LiteralPath
Export-OfficePdfXfdf
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: LiteralPathDirectory

Examples

Export each form in a folder.

Export-OfficePdfXfdf -Path './Forms/*.pdf' -OutputDirectory ./Values -NoClobber -PassThru

Parameters

-Document PdfDocument optionalpipeline: True (ByValue)sets: Document
Native caller-owned PDF; omission uses the enclosing content block.
-NoClobber SwitchParameter optional
NoClobber setting.
-PassThru SwitchParameter optional
Return native annotation edit reports.
-WhatIf SwitchParameter optional
Shows what would happen if the command runs.
-Confirm SwitchParameter optional
Prompts for confirmation before running the command.
-IgnorePermissionRestrictions SwitchParameter optionalsets: Path, PathDirectory, LiteralPath, LiteralPathDirectory
IgnorePermissionRestrictions setting.
-LoadOptions PdfLoadOptions optionalsets: Path, PathDirectory, LiteralPath, LiteralPathDirectory
Native parsing, authentication and resource policy.
-OutputPath String optionalsets: Path, LiteralPath
Single-file destination.
-Password SecureString optionalsets: Path, PathDirectory, LiteralPath, LiteralPathDirectory
Password setting.
-Path String[] requiredposition: 0sets: Path, PathDirectory
Input PDF paths with wildcard expansion.
-OutputDirectory String requiredsets: PathDirectory, LiteralPathDirectory
Batch destination retaining source names.
-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath, LiteralPathDirectory
Literal input PDF paths; accepts FileInfo.FullName.

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.