From b071e06f77b66a726d0db3c9c33e25bb24357a44 Mon Sep 17 00:00:00 2001 From: Simon Lee Date: Tue, 5 Mar 2019 14:10:32 +0000 Subject: [PATCH] Update Windows10SysPrepDebloater.ps1 #> is in the wrong place and creates an error Missing closing '}' in statement block or type definition. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : MissingEndCurlyBrace --- Windows10SysPrepDebloater.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Windows10SysPrepDebloater.ps1 b/Windows10SysPrepDebloater.ps1 index a7852d3..df40b78 100644 --- a/Windows10SysPrepDebloater.ps1 +++ b/Windows10SysPrepDebloater.ps1 @@ -25,7 +25,8 @@ Function Begin-SysPrep { #Stop WindowsStore Installer Service and set to Disabled Write-Verbose -Message ('Stopping InstallService') Stop-Service InstallService - } #> + #> + } #Creates a PSDrive to be able to access the 'HKCR' tree New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT