Created
April 25, 2019 23:48
-
-
Save heyseus1/771a931b7ad3f8333c3b5a1a64b7f30d to your computer and use it in GitHub Desktop.
Initializes Sysprep to factory reset Windows 10
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
$sysprep = 'C:\Windows\System32\Sysprep\Sysprep.exe' | |
$args = '/generalize','/oobe','/reboot','quiet' | |
& $sysprep $args |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment