Added $SysPrep switch parameter and function
I added a $SysPrep switch parameter and function on lines 7 - 17. This will run the following command: get-appxpackage | remove-appxpackage. This is required in order to be used successfully with SysPrep. I also added a $StopEdgePDF parameter, for those who do not wish to stop Edge from being used as the default PDF viewer, or for those who worry about unintended consequences (not being able to potentially choose Edge without removing the specified registry keys). You can now run the script with the switch parameter -SysPrep, along with -Debloat, and -StopEdgePDF.pull/11/merge
parent
262777bb66
commit
12fe2f5aef
Loading…
Reference in New Issue