> 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/powershell-modules/osdeploy/update-osdeploycoredrivers.md).

# Update-OSDeployCoreDrivers

Downloads and expands WinPE driver packages into the OSDeployCore library.

| Property | Value                           |
| -------- | ------------------------------- |
| Module   | OSDeploy                        |
| Platform | Windows 11 (amd64 / arm64)      |
| Requires | PowerShell 7.6, internet access |
| Output   | `System.IO.FileInfo`            |

## Description

Refreshes the requested catalog sources, resolves the matching WinPE driver packages, and downloads and expands the selected packages to `$env:ProgramData\OSDeployCore`.

All matching packages are processed automatically without prompting. Use `-Name` to limit the refresh to one or more specific sources, `-SkipWifiDrivers` to exclude wireless packages, and `-DownloadOnly` to cache files without expanding them.

Wi-Fi driver sources are excluded automatically when no imported OS sources are present — ADK WinPE does not support wireless hardware, so Wi-Fi drivers are only needed when a WinRE-based boot image will be built.

After downloading, drivers are injected into WinPE at build time by `Build-OSDeployBoot`.

## Syntax

```powershell
Update-OSDeployCoreDrivers [[-Name] <String[]>] [-Force] [-SkipWifiDrivers] [-DownloadOnly] [-WhatIf] [-Confirm]
```

## Parameters

| Parameter          | Type       | Required | Description                                                                                                                        |
| ------------------ | ---------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `-Name`            | `String[]` | No       | One or more source names to refresh and process. When omitted, all configured sources are refreshed.                               |
| `-Force`           | `Switch`   | No       | Re-downloads driver packages even when a matching cached file already exists.                                                      |
| `-SkipWifiDrivers` | `Switch`   | No       | Excludes Wi-Fi driver packages (`intel-wifi`, `microsoft-windows-wifi`). Enforced automatically when no imported OS sources exist. |
| `-DownloadOnly`    | `Switch`   | No       | Downloads packages to the cache without expanding them. No `package.json` metadata is written.                                     |

## Examples

```powershell
# Refresh the Dell catalog and download all matching packages
Update-OSDeployCoreDrivers -Name 'dell'
```

```powershell
# Refresh Dell and HP catalogs, preview without executing
Update-OSDeployCoreDrivers -Name 'dell', 'hp' -WhatIf
```

```powershell
# Refresh all configured sources and download all available packages
Update-OSDeployCoreDrivers
```

```powershell
# Refresh all configured sources, excluding Wi-Fi packages
Update-OSDeployCoreDrivers -SkipWifiDrivers
```


---

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

```
GET https://www.osdeploy.com/powershell-modules/osdeploy/update-osdeploycoredrivers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
