From 405d4584f34e503466a32ba6543786c380bcbf11 Mon Sep 17 00:00:00 2001 From: Richard Newton Date: Mon, 16 Jul 2018 18:43:31 -0700 Subject: [PATCH] Added Add-Type -AssemblyName PresentationCore,PresentationFramework --- Windows10Debloater.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Windows10Debloater.ps1 b/Windows10Debloater.ps1 index 72c97fa..2287f6d 100644 --- a/Windows10Debloater.ps1 +++ b/Windows10Debloater.ps1 @@ -15,6 +15,8 @@ Else { Start-Transcript -OutputDirectory "C:\Windows10Debloater" +Add-Type -AssemblyName PresentationCore,PresentationFramework + Function Start-Debloat { [CmdletBinding()]