Closed Skatterbrainz closed 6 years ago
Hi Skatterbrainz,
I cannot seem to reproduce this regardless of what I run. Can you please provide a screenshot if it is continuing to still happen?
Any update on this? Otherwise if it works can I close this issue?
The issue is with having three param() blocks, it throws an error. It should be one param() block with the [switch] params nested.
param([switch]$Debloat)
param([switch]$SysPrep)
param([switch]$StopEdgePDF)
should be...
param (
[switch]$Debloat,
[switch]$SysPrep,
[switch]$StopEdgePDF
)
once I change that, everything appears to work fine.
Any update on this?
Hi,
I haven't gotten a chance due to some personal life things going on. I will update it today if I get the chance.
On Mon, Mar 12, 2018, 12:29 PM Skatterbrainz notifications@github.com wrote:
Any update on this?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sycnex/Windows10Debloater/issues/8#issuecomment-372434585, or mute the thread https://github.com/notifications/unsubscribe-auth/AHCc4HuNqJro58-zaOj7q199gCmb3Vn6ks5tdsyYgaJpZM4SPsrx .
This has been fixed as specified.
The Windows10Debloater.ps1 script appears to be missing a final closing "}" on the last function.