How to Install Windows Drivers from a Folder Using PowerShell

This article is for you if

  • You are trying to Install Windows Drivers from a Folder Using PowerShell
  • You want to Install Windows Drivers from a Folder Using PowerShell
  • You are struggling with Installing Windows Drivers from a Folder Using PowerShell

Goal

  • Install Windows Drivers from a Folder Using PowerShell

Solution

Get-ChildItem "C:\mydrivers\" -Recurse -Filter "*.inf" | 
ForEach-Object { PNPUtil.exe /add-driver $_.FullName /install }

Words of caution

You are reading this guide with the knowledge that anything provided here is given as is, we do not hold any responsibility for damage or loss of property, customers, profits and or loss of data.

If you found this article helpful, would you consider buying me a Coffee?

Leave a Reply

Your email address will not be published. Required fields are marked *