# Set-ImageExif

Sets an EXIF tag value in an image. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

Sets an EXIF tag value in an image.

## Syntax

```
Set-ImageExif
[-ExifTag] <ExifTag>
[-FilePath] <String>
[[-FilePathOutput] <String>]
[-Value] <Object>
[<CommonParameters>]
```

[#](#method-set-imageexif-exiftag-string-string-object)

Parameter set: `All Parameter Sets`

## Description

The value must match the type declared by the selected EXIF tag, including ImageSharp wrapper types such as Number or Rational.

## Examples

### Update DateTimeOriginal tag

```powershell
Set-ImageExif -FilePath img.jpg -ExifTag ([SixLabors.ImageSharp.Metadata.Profiles.Exif.ExifTag]::DateTimeOriginal) -Value (Get-Date)
```

## Parameters

**-ExifTag ExifTag requiredposition: 2**

Tag to set.

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

Image file to modify.

**-FilePathOutput String optionalposition: 1**

When not specified the source file is overwritten.

**-Value Object requiredposition: 3**

Value for the tag.

## 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:8FCD3CFA602839E657C8FCF5BFDB06C4BD906B3F24603CB9863B1FE2DE5A85B2 -->
