# Get-OfficeProvenance

Collects structural, text-integrity, and optional provider verification evidence for a file.

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

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.String`

**Outputs**

`OfficeIMO.Provenance.OfficeProvenanceAssessmentReport`

**Source**

[GetOfficeProvenanceCommand.cs:25](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Security/GetOfficeProvenanceCommand.cs#L25) 

Collects structural, text-integrity, and optional provider verification evidence for a file.

## Syntax

```
Get-OfficeProvenance
[-C2paToolPath <String>]
[-Options <OfficeProvenanceAssessmentOptions>]
[-Path] <String>
[-SignalDetector <IOfficeProvenanceSignalDetector[]>]
[<CommonParameters>]
```

[#](#method-get-officeprovenance-string-officeprovenanceassessmentoptions-string-iofficeprovenancesignaldetector)

Parameter set: `All Parameter Sets`

## Description

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.

```powershell
$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.

```powershell
$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.

## Parameters

**-C2paToolPath String optional**

Explicit c2patool executable path or controlled command name used for cryptographic verification.

**-Options OfficeProvenanceAssessmentOptions optional**

Structural, text-integrity, and provider verification limits and policy.

**-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath**

Asset or document path to inspect.

**-SignalDetector IOfficeProvenanceSignalDetector[] optional**

Optional provider-specific watermark or disclosure detectors.

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