浏览代码

Update Windows10SysPrepDebloater.ps1

you had one extra bracket on line 48, preventing it from running.
seanlundin 7 年之前
父节点
当前提交
1ebd897297
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Windows10SysPrepDebloater.ps1

+ 1 - 2
Windows10SysPrepDebloater.ps1

@@ -44,8 +44,7 @@ Function Begin-SysPrep {
         Stop-Service InstallService
         Stop-Service InstallService
         Write-Verbose -Message ('Setting InstallService Startup to Disabled')
         Write-Verbose -Message ('Setting InstallService Startup to Disabled')
         & sc config InstallService start=disabled
         & sc config InstallService start=disabled
-    }
-}
+ }
 
 
 
 
 Function Start-Debloat {
 Function Start-Debloat {