Hi, @~OSD~
Thank you for posting in Microsoft Q&A forum.
I think it is not possible to export only the drivers that are specific to a machine using the Export-WindowsDriver
command. This command exports all the drivers that are currently installed on the system.
However, when using the pnputil /add-driver
command, we can specify the exact driver package that we want to install, you may check if you use the command correctly.
For example, if we have a driver package located at C:\Drivers\MyDriver.inf
, we can install only that driver package by running the following command:
pnputil /add-driver C:\Drivers\MyDriver.inf /install
This should install only the driver package specified and ignore any other drivers that may be present in the same folder.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".