> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/command-reference/osdeploy/update-osdeploycoreesd.md).

# Update-OSDeployCoreESD

Downloads Windows Enterprise ESD files from the latest OSDeploy OS catalog.

| Property | Value                                                                            |
| -------- | -------------------------------------------------------------------------------- |
| Module   | OSDeploy                                                                         |
| Platform | Windows 11 (amd64 / arm64)                                                       |
| Requires | PowerShell 7.6, Administrator rights, `curl.exe`, internet access, valid license |
| Output   | `System.IO.FileInfo[]` for verified usable ESD files                             |

## Description

Locates the newest XML catalog in the OSDeploy module, resolves eligible en-US Enterprise ESD entries, and downloads them to the release folder under `C:\ProgramData\OSDeployCore\OSDCloud\OS`, such as `Windows 11 25H2`.

Each current file is reused when its SHA256 checksum matches. A verified older-catalog file can be retained after an upgrade prompt. Pending URLs are tested before per-file confirmations and transfers begin.

SHA256 verification follows every download. Failed transfers and checksums use bounded automatic retry followed by an interactive retry decision and cleanup options.

{% hint style="info" %}
`Update-OSDeployCoreESD` is called automatically by `Update-OSDeployCore`. Run it directly when only the ESD cache needs updating, then use `Update-OSDeployCoreRE` to export recovery content.
{% endhint %}

## Syntax

```powershell
Update-OSDeployCoreESD [-Force] [[-Architecture] <String>] [-WhatIf] [-Confirm]
```

## Parameters

| Parameter       | Type     | Required | Description                                                                                                                                          |
| --------------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-Force`        | `Switch` | No       | Bypass verified cache reuse and request fresh downloads. It does not bypass `ShouldContinue` prompts.                                                |
| `-Architecture` | `String` | No       | `amd64` or `arm64`. AMD64 hosts consider x64 then ARM64 by default; ARM64 hosts consider ARM64 only.                                                 |
| `-WhatIf`       | `Switch` | No       | Suppress gated directory, deletion, download, retry, and cleanup operations. Initialization, hashing, URL tests, and Yes/No prompts can still occur. |
| `-Confirm`      | `Switch` | No       | Add confirmation at `ShouldProcess` boundaries; independent `ShouldContinue` prompts still appear.                                                   |

## Examples

```powershell
# Test reachability, confirm, then download any missing ESD files
Update-OSDeployCoreESD
```

```powershell
# Re-download both ESD files regardless of whether they are already cached
Update-OSDeployCoreESD -Force
```

```powershell
# Preview which ESD files would be downloaded without performing any work
Update-OSDeployCoreESD -WhatIf
```


---

# 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://www.osdeploy.com/command-reference/osdeploy/update-osdeploycoreesd.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.
