Created
July 29, 2017 23:38
-
-
Save danijeljw/b4ba80f52ec87538701c4b438d5487c1 to your computer and use it in GitHub Desktop.
Update drivers from extracted CAB file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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