---
description: Export an arbitrary PIV data object.
---

# export

## <mark style="color:red;">ykman piv</mark> objects export <mark style="color:red;">OPTIONS</mark> OBJECT OUTPUT



<table><thead><tr><th width="220">Options</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;">-h, --help</mark></td><td>Show this message and exit.</td></tr><tr><td><mark style="color:red;">-P, --pin TEXT</mark></td><td>PIN code.</td></tr></tbody></table>



<table><thead><tr><th width="224">Arguments</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;">OBJECT</mark></td><td>Name of PIV data object, or ID in HEX.</td></tr><tr><td><mark style="color:red;">OUTPUT</mark></td><td>File to write objects to. <br>Use <mark style="color:red;"><code>'-'</code></mark> to use <mark style="color:red;"><code>stdout</code></mark>.</td></tr></tbody></table>





### <mark style="color:blue;">HELP</mark>

{% tabs %}
{% tab title="Help Command" %}
```properties
Usage: ykman.exe piv objects export [OPTIONS] OBJECT OUTPUT

  Export an arbitrary PIV data object.

  OBJECT          Name of PIV data object, or ID in HEX.
  OUTPUT          File to write object to. Use '-' to use stdout.

Options:
  -P, --pin TEXT  PIN code.
  -h, --help      Show this message and exit.
```
{% endtab %}
{% endtabs %}
