> 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/get-osdeploycoredrivers.md).

# Get-OSDeployCoreDrivers

Returns WinPE driver folders from the OSDeployCore library.

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

## Description

Enumerates the `amd64` and `arm64` WinPE driver folders under both the module-managed library (`winpe-drivers`) and the user-managed library (`library\user`) beneath `$env:ProgramData\OSDeployCore\OSDRepo`. Returns a `System.IO.DirectoryInfo` object for each discovered folder.

Results are sorted by `Name` then `FullName`. Use `-Architecture` to limit results to a single architecture, `-SkipWifiDrivers` to exclude wireless-related folders, and `-Interactive` to present an Out-GridView picker before output is returned.

## Syntax

```powershell
Get-OSDeployCoreDrivers [-Architecture <String>] [-SkipWifiDrivers] [-Interactive]
```

## Parameters

| Parameter          | Type     | Required | Description                                                                                             |
| ------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------- |
| `-Architecture`    | `String` | No       | Limits results to `amd64` or `arm64`. When omitted, both architectures are returned.                    |
| `-SkipWifiDrivers` | `Switch` | No       | Excludes folders whose name contains `wifi` or `wireless` (case-insensitive).                           |
| `-Interactive`     | `Switch` | No       | Presents discovered folders in an Out-GridView picker. Only selected rows are passed through to output. |

## Examples

```powershell
# Return all WinPE driver folders for both architectures
Get-OSDeployCoreDrivers
```

```powershell
# Return only amd64 WinPE driver folders
Get-OSDeployCoreDrivers -Architecture amd64
```

```powershell
# Return amd64 folders, excluding Wi-Fi and Wireless entries
Get-OSDeployCoreDrivers -Architecture amd64 -SkipWifiDrivers
```

```powershell
# Open an Out-GridView picker and return only the selected folders
Get-OSDeployCoreDrivers -Interactive
```


---

# 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/get-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.
