> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-publisher/manage/intune-tabs/scan-intune/export-csv-button.md).

# Export to CSV button in Patch My PC Publisher

*Applies to: Patch My PC Publisher V3.x*

The **Export to CSV** button on the **Scan Intune** tab of Patch My PC (PMPC) Publisher exports the results displayed in the query window to a comma-separated values (CSV) file for offline review or reporting.

This button is disabled when no query results are present in the window. After you run a query with valid results, the **Export to CSV** button becomes available.

## To export the results to a CSV

1. Run a query so that results are displayed in the window, then click **Export to CSV**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fw3pgiRAf0SelxLf1F4Lt%2Fimage.png?alt=media&amp;token=4591de40-f894-4807-817a-dec5e3d162d5" alt="Export to CSV" width="563"><figcaption></figcaption></figure>

2. Click the relevant button on the **Export** dialog for the results you want to export.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FaQm3qRysHb6Ms4EuWvAu%2Fimage.png?alt=media&amp;token=2d98125c-e0e6-4108-bfc0-3b1688d279b6" alt="&#x27;Export&#x27; dialog" width="306"><figcaption></figcaption></figure>

3. Select the save location, enter a file name if required.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FIz61rKmQ8guChTFXBaqA%2Fimage.png?alt=media&amp;token=403cd4f1-c51e-458a-9a57-1d995126038d" alt="Choose a save location" width="563"><figcaption></figcaption></figure>

4. Click **Save** to complete the export.

The generated CSV file includes the following columns:

* **Device Name -** The name of the device where the product was detected.
* **Product Name -** The application name as reported in inventory.
* **Product Version -** The version of the application detected on the device.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-publisher/manage/intune-tabs/scan-intune/export-csv-button.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
