Powershell Cmdlet to install drivers from a directory
Function seeks INF files in the specified directory and utilizes PnPUtil to install the drivers. This will overwrite existing ones, so use carefully.
Install-Driver -DriverPath "C:\\MyDrivers"
Install-Driver -DriverPath "C:\\MyDrivers" -Reboot
This will overwrite existing ones, so use carefully.