API Reference
Get-OfficeProvenance
Collects structural, text-integrity, and optional provider verification evidence for a file.
Remarks
The result keeps carrier discovery, cryptographic verification, and provider signals separate; it does not infer authorship from their presence or absence.
Examples
Inspect embedded provenance without invoking an external verifier.
PS>
$evidence = Get-OfficeProvenance -Path .\Published\cover.png
$evidence.Structural | Select-Object Format, HasC2paManifest
$evidence.TextIntegrity
Ask an explicitly supplied c2patool installation to verify Content Credentials.
PS>
$evidence = Get-OfficeProvenance -Path .\Published\cover.png -C2paToolPath C:\Tools\c2patool.exe
$evidence.Verification | Select-Object Status, ProviderName, Findings
Network access remains disabled unless enabled in the supplied assessment options.
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-OfficeProvenance [-C2paToolPath <String>] [-Options <OfficeProvenanceAssessmentOptions>] -Path <String> [-SignalDetector <IOfficeProvenanceSignalDetector[]>] [<CommonParameters>]#All Parameter SetsParameters
- C2paToolPath String
- Explicit c2patool executable path or controlled command name used for cryptographic verification.
- Options OfficeProvenanceAssessmentOptions
- Structural, text-integrity, and provider verification limits and policy.
- Path String
- Asset or document path to inspect.
- SignalDetector IOfficeProvenanceSignalDetector[]
- Optional provider-specific watermark or disclosure detectors.
Outputs
OfficeIMO.Provenance.OfficeProvenanceAssessmentReport