API Reference
Cmdlet
Get-OfficePdfCompliance
Gets a generated PDF document compliance readiness report.
Remarks
Gets a generated PDF document compliance readiness report.
Examples
Check generated PDF compliance readiness.
PS>
$pdf = New-OfficePdf {
Set-OfficePdfCompliance -Profile PdfA3B -Groundwork
Add-OfficePdfHeading -Text 'Compliance readiness'
} -NoSave
$pdf | Get-OfficePdfCompliance -Profile PdfA3B
Returns the OfficeIMO.Pdf readiness report before saving.
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
Get-OfficePdfCompliance [-Document <PdfDocument>] [-ExternalArguments <String>] [-ExternalDiagnostic <String>] [-ExternalExecutablePath <String>] [-ExternalExitCode <Nullable`1>] [-ExternalProfile <String>] [-ExternalStatus <NotRun|Passed|Failed|Error>] [-ExternalSuccessExitCode <Int32>] [-ExternalValidation <PdfExternalValidationResult[]>] [-ExternalValidator <VeraPdf|PdfUaValidator|Mustang|Custom>] [-ExternalValidatorName <String>] [-ExternalValidatorVersion <String>] -Profile <Nullable`1> [-Proof] [<CommonParameters>]#Parameter set:
DocumentParameters
- Document PdfDocument
- Generated PDF document to assess outside the DSL context.
- ExternalArguments String
- External validator command-line arguments recorded in the proof evidence.
- ExternalDiagnostic String
- Human-readable external validation diagnostic.
- ExternalExecutablePath String
- External validator executable path recorded in the proof evidence.
- ExternalExitCode Nullable`1
- External validator process exit code. When provided, status is inferred from -ExternalSuccessExitCode.
- ExternalProfile String
- Profile string reported by the external validator, for example PDF/A-3b.
- ExternalStatus PdfExternalValidationStatus
- Unbound external validator status to attach when -ExternalValidator is provided.
- Possible values:
NotRun,Passed,Failed,Error - ExternalSuccessExitCode Int32
- External validator process exit code that means success.
- ExternalValidation PdfExternalValidationResult[]
- Artifact-bound results produced by the external validation lane. Use PdfExternalValidationResult.PassedForArtifact or FromExitCodeForArtifact with the exact validated bytes.
- ExternalValidator PdfExternalValidatorKind[]
- External validator families whose result should be attached to the proof report.
- Possible values:
VeraPdf,PdfUaValidator,Mustang,Custom - ExternalValidatorName String
- Human-readable external validator name.
- ExternalValidatorVersion String
- External validator version recorded in the artifact-bound proof evidence.
- Profile Nullable`1
- Compliance profile to assess. When omitted, the document's configured profile is used.
- Proof SwitchParameter
- Return a proof report that combines readiness with required external validator evidence placeholders.
Outputs
OfficeIMO.Pdf.PdfComplianceReadinessReport OfficeIMO.Pdf.PdfComplianceProofReport
Get-OfficePdfCompliance [-ExternalArguments <String>] [-ExternalDiagnostic <String>] [-ExternalExecutablePath <String>] [-ExternalExitCode <Nullable`1>] [-ExternalProfile <String>] [-ExternalStatus <NotRun|Passed|Failed|Error>] [-ExternalSuccessExitCode <Int32>] [-ExternalValidation <PdfExternalValidationResult[]>] [-ExternalValidator <VeraPdf|PdfUaValidator|Mustang|Custom>] [-ExternalValidatorName <String>] [-ExternalValidatorVersion <String>] [-Password <String>] -Path <String> -Profile <Nullable`1> [-Proof] [<CommonParameters>]#Parameter set:
PathParameters
- ExternalArguments String
- External validator command-line arguments recorded in the proof evidence.
- ExternalDiagnostic String
- Human-readable external validation diagnostic.
- ExternalExecutablePath String
- External validator executable path recorded in the proof evidence.
- ExternalExitCode Nullable`1
- External validator process exit code. When provided, status is inferred from -ExternalSuccessExitCode.
- ExternalProfile String
- Profile string reported by the external validator, for example PDF/A-3b.
- ExternalStatus PdfExternalValidationStatus
- Unbound external validator status to attach when -ExternalValidator is provided.
- Possible values:
NotRun,Passed,Failed,Error - ExternalSuccessExitCode Int32
- External validator process exit code that means success.
- ExternalValidation PdfExternalValidationResult[]
- Artifact-bound results produced by the external validation lane. Use PdfExternalValidationResult.PassedForArtifact or FromExitCodeForArtifact with the exact validated bytes.
- ExternalValidator PdfExternalValidatorKind[]
- External validator families whose result should be attached to the proof report.
- Possible values:
VeraPdf,PdfUaValidator,Mustang,Custom - ExternalValidatorName String
- Human-readable external validator name.
- ExternalValidatorVersion String
- External validator version recorded in the artifact-bound proof evidence.
- Password String
- Password used to inspect a Standard password-encrypted PDF.
- Path String
- Existing PDF file path to assess after generation.
- Profile Nullable`1
- Compliance profile to assess. When omitted, the document's configured profile is used.
- Proof SwitchParameter
- Return a proof report that combines readiness with required external validator evidence placeholders.
Outputs
OfficeIMO.Pdf.PdfComplianceReadinessReport OfficeIMO.Pdf.PdfComplianceProofReport