Fixed Parameter switches

This commit is contained in:
Richard Newton 2018-03-15 21:25:00 -07:00 committed by GitHub
parent b6e5b716f7
commit f4da442ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,10 @@
#Also, to note - This does NOT remove essential system services/software/etc such as .NET framework installations, Cortana, Edge, etc.
#This is the switch parameter for running this script as a 'silent' script, for use in MDT images or any type of mass deployment without user interaction.
param([switch]$Debloat)
param([switch]$SysPrep)
param([switch]$StopEdgePDF)
param (
[switch]$Debloat, [switch]$SysPrep, [switch]$StopEdgePDF
)
#This will run get-appxpackage | remove-appxpackage which is required for sysprep to provision the apps.
Function Begin-SysPrep {