Skip to content

Instantly share code, notes, and snippets.

@danijeljw
Created July 29, 2017 23:38
Show Gist options
  • Save danijeljw/b4ba80f52ec87538701c4b438d5487c1 to your computer and use it in GitHub Desktop.
Save danijeljw/b4ba80f52ec87538701c4b438d5487c1 to your computer and use it in GitHub Desktop.
Update drivers from extracted CAB file
$K = Read-Host "Full UNC path of friver folder"
CD $K
Get-ChilItem *.inf -recurse | ForEach-Object {
pnputil /i /a $_.FullName
}
shutdown /r /t 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment