CAB + pnputil offers the best balance of control, automation, and reliability for IT pros. Scenario : Deploying Windows 10 to 500 NVMe-equipped workstations. The Windows image lacks native NVMe drivers.
:
Expand-Archive -Path .\driver.cab -DestinationPath .\extracted Add-WindowsDriver -Path C:\ -Driver .\extracted -Recurse For online installation (running OS), pnputil is simpler; PowerShell is more useful for offline images. When servicing an offline Windows image (WIM, VHD, or running OS offline): install drivers from cab file
# Install all CAB files in a folder and subfolders Get-ChildItem -Path "C:\DriverRepo" -Filter *.cab -Recurse | ForEach-Object Write-Host "Installing $($_.FullName)" & pnputil /add-driver $_.FullName /install if ($LASTEXITCODE -ne 0) Write-Error "Failed: $($_.FullName)" CAB + pnputil offers the best balance of