PowerShell Logo Small

Add-WindowsDriver



This is the built-in help made by Microsoft for the command 'Add-WindowsDriver', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Adds a driver to an offline Windows image.

SYNTAX


Add-WindowsDriver [-AdvancedDriverObject <AdvancedDriverObject>] [-BasicDriverObject <BasicDriverObject>] [-ForceUnsigned] [-LogLevel <LogLevel>] [-LogPath <String>]
[-Recurse] [-ScratchDirectory <String>] [-SystemDrive <String>] [-WindowsDirectory <String>] -Driver <String> -Path <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-Driver cmdlet adds third-party driver packages to an offline Windows image.


Use the Path parameter to specify the location of a mounted Windows image.


Use the Driver parameter to specify the location of an .inf driver file or a folder containing one or more .inf driver files.


Use the ForceUnsigned parameter to add unsigned .inf files to an x64-based image.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=289348
Get-WindowsDriver
Remove-WindowsDriver

REMARKS

<

Examples


Example 1

PS C:\>Add-WindowsDriver –Path c:\offline –Driver c:\test\drivers –Recurse



This command adds any drivers in the c:\test\drivers folder or any of its subdirectories to the Windows image that is mounted to c:\offline.






Example 2

PS C:\>Add-WindowsDriver –Path c:\offline –Driver c:\test\drivers\Usb\Usb.inf -ForceUnsigned



This command adds the unsigned driver package, Usb.inf, to the Windows image that is mounted to c:\offline.