> 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). Agents can also search and read this documentation through its [MCP server](https://www.osdeploy.com/~gitbook/mcp).

# 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 recognized build 26300 XML catalog across the OSDeploy module and Core cache, resolves eligible en-US Enterprise ESD entries, and downloads them under `C:\ProgramData\OSDeployCore\OSDCloud\OS\Windows 11 26H2`.

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.osdeploy.com/command-reference/osdeploy/update-osdeploycoreesd.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
