From 111676aa736070c7f1f56b5c8a9481688a04f00f Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Tue, 3 Jan 2017 21:12:07 -0600 Subject: [PATCH] (GH-1013) PowerShell external - set debug/verbose false --- .../helpers/functions/Start-ChocolateyProcessAsAdmin.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chocolatey.resources/helpers/functions/Start-ChocolateyProcessAsAdmin.ps1 b/src/chocolatey.resources/helpers/functions/Start-ChocolateyProcessAsAdmin.ps1 index 898d08a29f..9294b317b0 100644 --- a/src/chocolatey.resources/helpers/functions/Start-ChocolateyProcessAsAdmin.ps1 +++ b/src/chocolatey.resources/helpers/functions/Start-ChocolateyProcessAsAdmin.ps1 @@ -130,6 +130,8 @@ param( $importChocolateyHelpers = "& import-module -name '$helpersPath\chocolateyInstaller.psm1' -Verbose:`$false | Out-Null;" $block = @" `$noSleep = `$$noSleep + #`$env:ChocolateyEnvironmentDebug='false' + #`$env:ChocolateyEnvironmentVerbose='false' $importChocolateyHelpers try{ `$progressPreference="SilentlyContinue"