Browse Source

Added missing curling brace to FixWhitelistedApps Function

Richard Newton 6 years ago
parent
commit
d17757c7d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Windows10SysPrepDebloater.ps1

+ 1 - 0
Windows10SysPrepDebloater.ps1

@@ -256,6 +256,7 @@ Function FixWhitelistedApps {
     Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
     Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
     Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
+    }
 
 Write-Output "Initiating Sysprep"
 Begin-SysPrep