소스 검색

Fixed CheckInstallService Function

Richard Newton 6 년 전
부모
커밋
0762b0a8d0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Windows10SysPrepDebloater.ps1

+ 2 - 0
Windows10SysPrepDebloater.ps1

@@ -216,6 +216,8 @@ Function CheckInstallService {
   If (Get-Service -Name InstallService | Where-Object ($_.Status -eq "Stopped"}) {
       Start-Service -Name InstallService
       Set-Service -Name InstallService -StartupType Automatic
+      }
+ }
 
 Write-Output "Initiating Sysprep"
 Begin-SysPrep