# Resolve-OfficeWordRevision

Accepts or rejects filtered Word revisions and returns an operation report.

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

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Word.WordDocument`

**Outputs**

`OfficeIMO.Word.WordRevisionOperationReport`

**Source**

[ResolveOfficeWordRevisionCommand.cs:18](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/ResolveOfficeWordRevisionCommand.cs#L18) 

Accepts or rejects filtered Word revisions and returns an operation report.

## Syntax

```
Resolve-OfficeWordRevision
-Action <Accept|Reject>
[-Filter <WordRevisionFilter>]
-OutputPath <String>
[-Path] <String>
[<CommonParameters>]
```

[#](#method-resolve-officewordrevision-wordrevisionoperationkind-wordrevisionfilter-string-string)

Parameter set: `Path`

```
Resolve-OfficeWordRevision
-Action <Accept|Reject>
-Document <WordDocument>
[-Filter <WordRevisionFilter>]
[-PassThru]
[<CommonParameters>]
```

[#](#method-resolve-officewordrevision-wordrevisionoperationkind-worddocument-wordrevisionfilter-switchparameter)

Parameter set: `Document`

## Examples

### Accept revisions by one author into a new document.

```powershell
$filter = New-OfficeWordRevisionFilter -Author 'Reviewer' -InContentControl
Resolve-OfficeWordRevision -Path .\Draft.docx -OutputPath .\Accepted.docx -Action Accept -Filter $filter
```

Applies only matching revisions, saves the result, and returns the matched revision report.

## Parameters

**-Action WordRevisionOperationKind required**

Accept or reject matching revisions.

Possible values: `Accept`, `Reject`

**-Filter WordRevisionFilter optional**

Optional author, id, type, date, location, part, or container filter.

**-OutputPath String requiredsets: Path**

Output document path. Required for path input.

**-Path String requiredposition: 0sets: Path**

Path to the Word document.

**-Document WordDocument requiredpipeline: True (ByValue)sets: Document**

Open Word document instance.

**-PassThru SwitchParameter optionalsets: Document**

Return the mutated document after the operation.

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