Last active
October 5, 2016 13:09
-
-
Save brianfgonzalez/15d415c2faf58b6097235723c9641628 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Import-Module "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.psd1" | |
If (-not (Test-Path "C:\mount")) { New-item -Type Directory -Force "C:\mount" } | |
Mount-WindowsImage -ImagePath "D:\AiO\Operating Systems\10x64Ent-MSUpdated2016Jul20\10x64Ent-MSUpdated2016Jul20.wim" -Path "C:\mount\" -Index 1 | |
Get-WindowsDriver -Path "C:\mount" | % { Remove-WindowsDriver -Driver $_.Driver -Path "C:\mount" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment