浏览代码

Added missing } to end of CheckService function

Richard Newton 6 年之前
父节点
当前提交
5dd272e184
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Windows10SysPrepDebloater.ps1

+ 1 - 0
Windows10SysPrepDebloater.ps1

@@ -207,6 +207,7 @@ Function CheckService {
   
   
   If (Get-Service -Name dmwappushservice | Where-Object {$_.Status -eq "Stopped"}) {
   If (Get-Service -Name dmwappushservice | Where-Object {$_.Status -eq "Stopped"}) {
         Start-Service -Name dmwappushservice }
         Start-Service -Name dmwappushservice }
+}
 
 
 Write-Output "Initiating Sysprep"
 Write-Output "Initiating Sysprep"
 Begin-SysPrep
 Begin-SysPrep