> 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/osd/save-msupcatdriver.md).

# Save-MsUpCatDriver

Downloads driver updates from Microsoft Update Catalog

| Property | Value                 |
| -------- | --------------------- |
| Module   | OSD                   |
| Platform | WinPE (amd64 / arm64) |

## Description

Searches Microsoft Update Catalog for drivers matching specified hardware IDs or Plug and Play device classes and downloads them to a destination directory.

## Syntax

### ByPNPClass (Default)

```powershell
Save-MsUpCatDriver [-DestinationDirectory <String>] [-PNPClass <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]
```

### ByHardwareID

```powershell
Save-MsUpCatDriver [-DestinationDirectory <String>] [-HardwareID <String[]>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## Parameters

| Parameter               | Type       | Required | Description                                                                                                                                                  |
| ----------------------- | ---------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `-DestinationDirectory` | `String`   | False    | Directory where downloaded drivers will be saved                                                                                                             |
| `-HardwareID`           | `String[]` | False    | One or more hardware IDs to search for drivers (ParameterSet: ByHardwareID)                                                                                  |
| `-PNPClass`             | `String`   | False    | Plug and Play device class to search for drivers. Valid values are DiskDrive, Display, Net, SCSIAdapter, SecurityDevices, or USB. (ParameterSet: ByPNPClass) |

## Examples

### Example

```powershell
Save-MsUpCatDriver -DestinationDirectory 'C:\Drivers' -PNPClass 'Net'
Downloads network driver updates to C:\Drivers
```

## Related

* <https://github.com/OSDeploy/OSD/tree/master/docs>


---

# 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/powershell-modules/osd/save-msupcatdriver.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.
