Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
telegraf v1.20.0 - Passed - Package Tests Results

telegraf v1.20.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/telegraf/1.20.0
  • Tested 21 Sep 2021 00:46:35 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.5.0-44-g6af96fb
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt" checksum="6F044B9313525E1F4AD094B1CB823359" />
<file path="C:\ProgramData\chocolatey\lib\telegraf\telegraf.nupkg" checksum="29BBFDF6D592687665E11C69CEE363E3" />
<file path="C:\ProgramData\chocolatey\lib\telegraf\telegraf.nuspec" checksum="F463CDDB94F4E2287AECE943398DBAA0" />
<file path="C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1" checksum="74ACF4E943D467123A556E513E05E666" />
<file path="C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1" checksum="DC1DB37325375B5C70B4057E67ADA203" />
<file path="C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1" checksum="CF9944D00B84784B0C5F349CFACD4605" />
</files>
</fileSnapshot>
2021-09-21 00:45:23,503 2420 [DEBUG] - XmlConfiguration is now operational
2021-09-21 00:45:23,566 2420 [INFO ] - ============================================================
2021-09-21 00:45:23,784 2420 [INFO ] - Chocolatey v0.11.1
2021-09-21 00:45:23,863 2420 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2021-09-21 00:45:23,863 2420 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2021-09-21 00:45:23,863 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2021-09-21 00:45:23,878 2420 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install telegraf --version 1.20.0 -fdvy --execution-timeout=2700 --allow-downgrade
2021-09-21 00:45:23,878 2420 [DEBUG] - Received arguments: install telegraf --version 1.20.0 -fdvy --execution-timeout=2700 --allow-downgrade
2021-09-21 00:45:23,925 2420 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2021-09-21 00:45:23,941 2420 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2021-09-21 00:45:23,941 2420 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2021-09-21 00:45:24,003 2420 [DEBUG] - Performing validation checks.
2021-09-21 00:45:24,003 2420 [DEBUG] - Global Configuration Validation Checks:
2021-09-21 00:45:24,003 2420 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2021-09-21 00:45:24,003 2420 [DEBUG] - System State Validation Checks:
2021-09-21 00:45:24,003 2420 [DEBUG] - Reboot Requirement Checks:
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending Computer Rename = Checked
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending Component Based Servicing = Checked
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending Windows Auto Update = Checked
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending File Rename Operations = Ignored
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending Windows Package Installer = Checked
2021-09-21 00:45:24,019 2420 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2021-09-21 00:45:24,019 2420 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2021-09-21 00:45:24,019 2420 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2021-09-21 00:45:24,019 2420 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2021-09-21 00:45:24,035 2420 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='telegraf'|Version='1.20.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='telegraf'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.11.1.0'|
Information.ChocolateyProductVersion='0.11.1'|
Information.FullName='choco, Version=0.11.1.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
2021-09-21 00:45:24,035 2420 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2021-09-21 00:45:24,050 2420 [INFO ] - Installing the following packages:
2021-09-21 00:45:24,050 2420 [INFO ] - telegraf
2021-09-21 00:45:24,050 2420 [INFO ] - By installing, you accept licenses for the packages.
2021-09-21 00:45:24,050 2420 [DEBUG] - Current environment values (may contain sensitive data):
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'ChocolateyLastPathUpdate'='132753192280200969' ('User')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2021-09-21 00:45:24,050 2420 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 60 Stepping 3, GenuineIntel' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'PROCESSOR_REVISION'='3c03' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2021-09-21 00:45:24,066 2420 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2021-09-21 00:45:27,113 2420 [INFO ] - [NuGet] Installing 'telegraf 1.20.0'.
2021-09-21 00:45:27,113 2420 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'telegraf\tools'.
2021-09-21 00:45:27,113 2420 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'telegraf\tools'.
2021-09-21 00:45:27,113 2420 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'telegraf\tools'.
2021-09-21 00:45:27,128 2420 [DEBUG] - [NuGet] Added file 'telegraf.nupkg' to folder 'telegraf'.
2021-09-21 00:45:27,394 2420 [DEBUG] - [NuGet] Added file 'telegraf.nuspec' to folder 'telegraf'.
2021-09-21 00:45:27,394 2420 [INFO ] - [NuGet] Successfully installed 'telegraf 1.20.0'.
2021-09-21 00:45:27,409 2420 [INFO ] -
telegraf v1.20.0 (forced)
2021-09-21 00:45:27,409 2420 [INFO ] - telegraf package files install completed. Performing other installation steps.
2021-09-21 00:45:27,457 2420 [DEBUG] - Setting installer args for telegraf
2021-09-21 00:45:27,457 2420 [DEBUG] - Setting package parameters for telegraf
2021-09-21 00:45:27,457 2420 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1':
2021-09-21 00:45:27,472 2420 [DEBUG] - $ErrorActionPreference = 'Stop';
$unzipFolder = $env:ProgramFiles
$installFolder = "$unzipFolder\telegraf"
$configDirectory = Join-Path $installFolder 'telegraf.d'
$packageName = 'telegraf'
$softwareName = 'telegraf*'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_i386.zip '
$url64 = 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip '
$fileLocation = Join-Path $installFolder 'telegraf.exe'
$telegrafRegPath = "HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\telegraf"
# Extract current version of telegraf
$versionSearch = $url -match '.*-(\d*\.\d*\.\d*)_.*'
if ($versionSearch) {
$version = $matches[1]
}
If(!(Test-Path -Path $configDirectory)){
New-Item -Path $configDirectory -ItemType Directory
}
If (Get-Service -Name "telegraf" -ErrorAction SilentlyContinue) {
$servicePath = (Get-WmiObject win32_service | ?{$_.Name -like 'telegraf'}).PathName.Split('--')[0].Trim().Replace("""","")
& $servicePath --service uninstall
}
If (Test-Path $telegrafRegPath) {
Remove-Item $telegrafRegPath -Force
}
If (Test-Path "$installFolder\telegraf.conf" -ErrorAction SilentlyContinue) {
Copy-Item -Force -Path "$installFolder\telegraf.conf" -Destination "$installFolder\telegraf.backup.conf"
}
$packageArgs = @{
packageName = $packageName
unzipLocation = $unzipFolder
fileType = 'EXE'
url = $url
url64bit = $url64
file = $fileLocation
file64 = $fileLocation
softwareName = 'telegraf*'
checksum = '245466d7a1042d7fcc5e1fa955a8200c09d262f809c146121facf9c8f9b29031'
checksumType = 'sha256'
checksum64 = 'd94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84'
checksumType64 = 'sha256'
silentArgs = "--config-directory `"$configDirectory`" --service install"
validExitCodes= @(0)
}
Install-ChocolateyZipPackage @packageArgs
# Move files to non versioned telegraf folder
If((Test-Path -Path "$installFolder-$version")){
Write-Host "Moving telegraf files"
Move-Item -Force -Path "$installFolder-$version\*" -Destination "$installFolder\"
Remove-Item -Path "$installFolder-$version" -Recurse -Force
}
Install-ChocolateyInstallPackage @packageArgs
If (Test-Path "$installFolder\telegraf.backup.conf" -ErrorAction SilentlyContinue) {
Move-Item -Force -Path "$installFolder\telegraf.backup.conf" -Destination "$installFolder\telegraf.conf"
Restart-Service -Name "telegraf"
}
2021-09-21 00:45:27,488 2420 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2021-09-21 00:45:27,503 2420 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2021-09-21 00:45:27,675 2420 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:45:27,768 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:45:27,784 2420 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:45:27,800 2420 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:45:27,816 2420 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:45:27,816 2420 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:45:27,816 2420 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:45:27,816 2420 [DEBUG] - Loading community extensions
2021-09-21 00:45:27,832 2420 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2021-09-21 00:45:27,832 2420 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2021-09-21 00:45:27,847 2420 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:45:27,847 2420 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:45:27,847 2420 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:45:27,847 2420 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:45:27,847 2420 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:45:27,863 2420 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:45:27,909 2420 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:45:27,925 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:45:27,940 2420 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:45:27,956 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-09-21 00:45:27,972 2420 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-09-21 00:45:27,987 2420 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-09-21 00:45:28,035 2420 [DEBUG] - ---------------------------Script Execution---------------------------
2021-09-21 00:45:28,035 2420 [DEBUG] - Running 'ChocolateyScriptRunner' for telegraf v1.20.0 with packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\telegraf', installArguments: '', packageParameters: '',
2021-09-21 00:45:28,050 2420 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1'
2021-09-21 00:45:28,066 2420 [INFO ] - C:\Program Files\telegraf\telegraf.d
2021-09-21 00:45:28,128 2420 [DEBUG] - Running Install-ChocolateyZipPackage -url64bit 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip ' -checksum64 'd94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84' -unzipLocation 'C:\Program Files' -file 'C:\Program Files\telegraf\telegraf.exe' -url 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_i386.zip ' -checksum '245466d7a1042d7fcc5e1fa955a8200c09d262f809c146121facf9c8f9b29031' -checksumType64 'sha256' -checksumType 'sha256' -packageName 'telegraf' -file64 'C:\Program Files\telegraf\telegraf.exe'
2021-09-21 00:45:28,175 2420 [DEBUG] - Running Get-ChocolateyWebFile -checksum '245466d7a1042d7fcc5e1fa955a8200c09d262f809c146121facf9c8f9b29031' -checksumType 'sha256' -checksum64 'd94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'telegraf' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegrafInstall.zip' -url 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_i386.zip ' -url64bit 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip '
2021-09-21 00:45:28,190 2420 [DEBUG] - Running Get-ProcessorBits -compare '64'
2021-09-21 00:45:28,207 2420 [DEBUG] - CPU is 64 bit
2021-09-21 00:45:28,207 2420 [DEBUG] - Setting url to 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip ' and bitPackage to 64
2021-09-21 00:45:28,269 2420 [DEBUG] - Running Get-WebFileName -url 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip ' -defaultName 'telegrafInstall.zip'
2021-09-21 00:45:29,409 2420 [DEBUG] - Using response url to determine file name. 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip'
2021-09-21 00:45:29,409 2420 [DEBUG] - File name determined from url is 'telegraf-1.20.0_windows_amd64.zip'
2021-09-21 00:45:29,425 2420 [DEBUG] - Running Get-WebHeaders -url 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip ' -ErrorAction 'Stop'
2021-09-21 00:45:29,425 2420 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-09-21 00:45:29,425 2420 [DEBUG] - Request Headers:
2021-09-21 00:45:29,425 2420 [DEBUG] - 'Accept':'*/*'
2021-09-21 00:45:29,425 2420 [DEBUG] - 'User-Agent':'chocolatey command line'
2021-09-21 00:45:29,581 2420 [DEBUG] - Response Headers:
2021-09-21 00:45:29,581 2420 [DEBUG] - 'Connection':'keep-alive'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'x-amz-version-id':'GmkKyRpk_5vkRm.he0H_3eYK6yD9fvIl'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'X-Edge-Origin-Shield-Skipped':'0'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'X-Amz-Cf-Pop':'MXP63-P4'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'X-Amz-Cf-Id':'1VZYeqtVHRUziWIcbt4Bfk2sVS0LeQE3mHyj-BzU4DG3DXJD3YwE3g=='
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Age':'30440'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Accept-Ranges':'bytes'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Content-Length':'32691564'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Content-Type':'application/zip'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Date':'Mon, 20 Sep 2021 16:18:09 GMT'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'ETag':'"713008193f5ed94aad06b97eee11a10f-4"'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Last-Modified':'Mon, 20 Sep 2021 14:07:33 GMT'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Server':'AmazonS3'
2021-09-21 00:45:29,597 2420 [DEBUG] - 'Via':'1.1 dcb150b6d29d870238d0b44e37d745a8.cloudfront.net (CloudFront)'
2021-09-21 00:45:29,612 2420 [INFO ] - Downloading telegraf 64 bit
from 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip '
2021-09-21 00:45:29,612 2420 [INFO ] -
2021-09-21 00:45:29,612 2420 [DEBUG] - Running Get-WebFile -url 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip ' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip' -options 'System.Collections.Hashtable'
2021-09-21 00:45:29,628 2420 [DEBUG] - Setting request timeout to 30000
2021-09-21 00:45:29,628 2420 [DEBUG] - Setting read/write timeout to 2700000
2021-09-21 00:45:29,628 2420 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-09-21 00:45:30,238 2420 [DEBUG] - Downloading https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip to C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip
2021-09-21 00:45:57,893 2420 [INFO ] -
2021-09-21 00:45:57,893 2420 [INFO ] - Download of telegraf-1.20.0_windows_amd64.zip (31.18 MB) completed.
2021-09-21 00:45:57,893 2420 [INFO ] -
2021-09-21 00:46:00,910 2420 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2021-09-21 00:46:00,910 2420 [DEBUG] - Verifying package provided checksum of 'd94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip'.
2021-09-21 00:46:00,941 2420 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip' -checksum 'd94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84' -checksumType 'sha256' -originalUrl 'https://dl.influxdata.com/telegraf/releases/telegraf-1.20.0_windows_amd64.zip '
2021-09-21 00:46:00,941 2420 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2021-09-21 00:46:00,941 2420 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip"]
2021-09-21 00:46:01,175 2420 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="d94475df292da995418f6c74baeb11728cb1870f8bf2561528e162c67af31f84" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip"] exited with '0'.
2021-09-21 00:46:01,191 2420 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip' -destination 'C:\Program Files' -specificFolder '' -packageName 'telegraf'
2021-09-21 00:46:01,191 2420 [DEBUG] - Running Get-ProcessorBits -compare '32'
2021-09-21 00:46:01,191 2420 [INFO ] - Extracting C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip to C:\Program Files...
2021-09-21 00:46:01,191 2420 [INFO ] -
2021-09-21 00:46:01,207 2420 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2021-09-21 00:46:01,207 2420 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files" -y "C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip"]
2021-09-21 00:46:02,332 2420 [INFO ] - VERBOSE:
2021-09-21 00:46:02,332 2420 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2021-09-21 00:46:02,332 2420 [INFO ] - VERBOSE:
2021-09-21 00:46:02,332 2420 [INFO ] - VERBOSE: Scanning the drive for archives:
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: 1 file, 32691564 bytes (32 MiB)
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE:
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: Extracting archive: C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: --
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: Path = C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: Type = zip
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: Physical Size = 32691564
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE:
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: - telegraf-1.20.0\telegraf.conf
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: - telegraf-1.20.0\telegraf.exe
2021-09-21 00:46:02,347 2420 [INFO ] - VERBOSE: Everything is Ok
2021-09-21 00:46:02,363 2420 [INFO ] - VERBOSE:
2021-09-21 00:46:02,363 2420 [INFO ] - VERBOSE: Files: 2
2021-09-21 00:46:02,363 2420 [INFO ] - VERBOSE: Size: 126412555
2021-09-21 00:46:02,363 2420 [INFO ] - VERBOSE: Compressed: 32691564
2021-09-21 00:46:02,379 2420 [DEBUG] - $exitCode was passed null
2021-09-21 00:46:02,379 2420 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files" -y "C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0\telegraf-1.20.0_windows_amd64.zip"] exited with '0'.
2021-09-21 00:46:02,379 2420 [DEBUG] - 7z exit code: 0
2021-09-21 00:46:02,379 2420 [INFO ] - C:\Program Files
2021-09-21 00:46:02,379 2420 [INFO ] - Moving telegraf files
2021-09-21 00:46:02,394 2420 [INFO ] -
2021-09-21 00:46:02,410 2420 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '--config-directory "C:\Program Files\telegraf\telegraf.d" --service install' -file 'C:\Program Files\telegraf\telegraf.exe' -packageName 'telegraf' -validExitCodes '0' -file64 'C:\Program Files\telegraf\telegraf.exe' -fileType 'EXE'
2021-09-21 00:46:02,410 2420 [DEBUG] - Running Get-ProcessorBits -compare '32'
2021-09-21 00:46:02,410 2420 [INFO ] - Installing 64-bit telegraf...
2021-09-21 00:46:02,410 2420 [INFO ] -
2021-09-21 00:46:02,440 2420 [DEBUG] - Ensuring 'C:\Program Files\telegraf' exists
2021-09-21 00:46:02,457 2420 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Program Files\telegraf' -statements '--config-directory "C:\Program Files\telegraf\telegraf.d" --service install ' -exeToRun 'C:\Program Files\telegraf\telegraf.exe'
2021-09-21 00:46:02,487 2420 [DEBUG] - Test-ProcessAdminRights: returning True
2021-09-21 00:46:02,487 2420 [DEBUG] - Elevating permissions and running ["C:\Program Files\telegraf\telegraf.exe" --config-directory "C:\Program Files\telegraf\telegraf.d" --service install ]. This may take a while, depending on the statements.
2021-09-21 00:46:12,850 2420 [DEBUG] - Command ["C:\Program Files\telegraf\telegraf.exe" --config-directory "C:\Program Files\telegraf\telegraf.d" --service install ] exited with '0'.
2021-09-21 00:46:12,850 2420 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-09-21 00:46:12,850 2420 [INFO ] - telegraf has been installed.
2021-09-21 00:46:12,850 2420 [INFO ] -
2021-09-21 00:46:12,863 2420 [DEBUG] - ----------------------------------------------------------------------
2021-09-21 00:46:12,863 2420 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2021-09-21 00:46:12,863 2420 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2021-09-21 00:46:12,878 2420 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2021-09-21 00:46:12,941 2420 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\telegraf'
2021-09-21 00:46:12,941 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt'
with checksum '6F044B9313525E1F4AD094B1CB823359'
2021-09-21 00:46:12,956 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf.nupkg'
with checksum '29BBFDF6D592687665E11C69CEE363E3'
2021-09-21 00:46:12,956 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf.nuspec'
with checksum 'F463CDDB94F4E2287AECE943398DBAA0'
2021-09-21 00:46:12,956 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1'
with checksum '74ACF4E943D467123A556E513E05E666'
2021-09-21 00:46:12,956 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1'
with checksum 'DC1DB37325375B5C70B4057E67ADA203'
2021-09-21 00:46:12,956 2420 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1'
with checksum 'CF9944D00B84784B0C5F349CFACD4605'
2021-09-21 00:46:12,972 2420 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0".
2021-09-21 00:46:12,988 2420 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0\.files'
2021-09-21 00:46:12,988 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0\.extra".
2021-09-21 00:46:12,988 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0\.version".
2021-09-21 00:46:12,988 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0\.sxs".
2021-09-21 00:46:12,988 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\telegraf.1.20.0\.pin".
2021-09-21 00:46:12,988 2420 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2021-09-21 00:46:12,988 2420 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\telegraf\.chocolateyPending".
2021-09-21 00:46:12,988 2420 [INFO ] - The install of telegraf was successful.
2021-09-21 00:46:13,003 2420 [INFO ] - Software installed to 'C:\Program Files'
2021-09-21 00:46:13,003 2420 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\telegraf.1.20.0.nupkg".
2021-09-21 00:46:13,019 2420 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-09-21 00:46:13,019 2420 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-09-21 00:46:13,035 2420 [DEBUG] - Exiting with 0
2021-09-21 00:46:22,894 336 [DEBUG] - XmlConfiguration is now operational
2021-09-21 00:46:22,957 336 [INFO ] - ============================================================
2021-09-21 00:46:23,175 336 [INFO ] - Chocolatey v0.11.1
2021-09-21 00:46:23,191 336 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2021-09-21 00:46:23,191 336 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2021-09-21 00:46:23,191 336 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2021-09-21 00:46:23,206 336 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall telegraf --version 1.20.0 -dvy --execution-timeout=2700
2021-09-21 00:46:23,206 336 [DEBUG] - Received arguments: uninstall telegraf --version 1.20.0 -dvy --execution-timeout=2700
2021-09-21 00:46:23,253 336 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2021-09-21 00:46:23,269 336 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2021-09-21 00:46:23,269 336 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2021-09-21 00:46:23,378 336 [DEBUG] - Performing validation checks.
2021-09-21 00:46:23,378 336 [DEBUG] - Global Configuration Validation Checks:
2021-09-21 00:46:23,378 336 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2021-09-21 00:46:23,378 336 [DEBUG] - System State Validation Checks:
2021-09-21 00:46:23,394 336 [DEBUG] - Reboot Requirement Checks:
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending Computer Rename = Checked
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending Component Based Servicing = Checked
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending Windows Auto Update = Checked
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending File Rename Operations = Ignored
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending Windows Package Installer = Checked
2021-09-21 00:46:23,394 336 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2021-09-21 00:46:23,394 336 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2021-09-21 00:46:23,410 336 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2021-09-21 00:46:23,410 336 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2021-09-21 00:46:23,426 336 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='telegraf'|Version='1.20.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='telegraf'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.11.1.0'|
Information.ChocolateyProductVersion='0.11.1'|
Information.FullName='choco, Version=0.11.1.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
2021-09-21 00:46:23,426 336 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2021-09-21 00:46:23,426 336 [INFO ] - Uninstalling the following packages:
2021-09-21 00:46:23,426 336 [INFO ] - telegraf
2021-09-21 00:46:23,426 336 [DEBUG] - Current environment values (may contain sensitive data):
2021-09-21 00:46:23,426 336 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-09-21 00:46:23,426 336 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2021-09-21 00:46:23,426 336 [DEBUG] - * 'ChocolateyLastPathUpdate'='132753192280200969' ('User')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 60 Stepping 3, GenuineIntel' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'PROCESSOR_REVISION'='3c03' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2021-09-21 00:46:23,440 336 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2021-09-21 00:46:23,535 336 [DEBUG] - Running list with the following filter = ''
2021-09-21 00:46:23,550 336 [DEBUG] - --- Start of List ---
2021-09-21 00:46:23,690 336 [DEBUG] - telegraf 1.20.0
2021-09-21 00:46:23,690 336 [DEBUG] - --- End of List ---
2021-09-21 00:46:23,738 336 [DEBUG] - Setting installer args for telegraf
2021-09-21 00:46:23,738 336 [DEBUG] - Setting package parameters for telegraf
2021-09-21 00:46:23,738 336 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1':
2021-09-21 00:46:23,738 336 [DEBUG] - If (Get-Service -Name "telegraf" -ErrorAction SilentlyContinue) {
Stop-Service -Name "telegraf"
}
2021-09-21 00:46:23,769 336 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters ''']
2021-09-21 00:46:23,769 336 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2021-09-21 00:46:23,941 336 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:24,050 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:24,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:24,082 336 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:46:24,097 336 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:46:24,112 336 [DEBUG] - Loading community extensions
2021-09-21 00:46:24,112 336 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2021-09-21 00:46:24,112 336 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:46:24,144 336 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,160 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:24,175 336 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-09-21 00:46:24,191 336 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-09-21 00:46:24,206 336 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:24,238 336 [DEBUG] - ---------------------------Script Execution---------------------------
2021-09-21 00:46:24,238 336 [DEBUG] - Running 'ChocolateyScriptRunner' for telegraf v1.20.0 with packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\telegraf', installArguments: '', packageParameters: '',
2021-09-21 00:46:24,253 336 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1'
2021-09-21 00:46:24,269 336 [DEBUG] - ----------------------------------------------------------------------
2021-09-21 00:46:24,269 336 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2021-09-21 00:46:24,331 336 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2021-09-21 00:46:24,331 336 [DEBUG] - Backing up existing telegraf prior to operation.
2021-09-21 00:46:24,331 336 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\telegraf'
to 'C:\ProgramData\chocolatey\lib-bkp\telegraf'
2021-09-21 00:46:26,347 336 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\telegraf".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\telegraf-1.20.0_windows_amd64.zip.txt"
to "C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\telegraf.nupkg"
to "C:\ProgramData\chocolatey\lib\telegraf\telegraf.nupkg".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\telegraf.nuspec"
to "C:\ProgramData\chocolatey\lib\telegraf\telegraf.nuspec".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\telegraf\tools".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1".
2021-09-21 00:46:28,237 336 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\telegraf\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1".
2021-09-21 00:46:29,769 336 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\telegraf'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt'
with checksum '6F044B9313525E1F4AD094B1CB823359'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf.nupkg'
with checksum '29BBFDF6D592687665E11C69CEE363E3'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf.nuspec'
with checksum 'F463CDDB94F4E2287AECE943398DBAA0'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateybeforemodify.ps1'
with checksum '74ACF4E943D467123A556E513E05E666'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyinstall.ps1'
with checksum 'DC1DB37325375B5C70B4057E67ADA203'
2021-09-21 00:46:29,769 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1'
with checksum 'CF9944D00B84784B0C5F349CFACD4605'
2021-09-21 00:46:29,894 336 [INFO ] - [NuGet] Uninstalling 'telegraf 1.20.0'.
2021-09-21 00:46:29,909 336 [INFO ] -
telegraf v1.20.0
2021-09-21 00:46:29,909 336 [DEBUG] - Setting installer args for telegraf
2021-09-21 00:46:29,909 336 [DEBUG] - Setting package parameters for telegraf
2021-09-21 00:46:29,909 336 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1':
2021-09-21 00:46:29,909 336 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageName = 'telegraf'
$softwareName = 'telegraf*'
$installerType = 'EXE'
$install_folder = Join-Path $env:ProgramFiles 'telegraf'
$silentArgs = '--service uninstall'
$validExitCodes = @(0)
$uninstalled = $false
$file = Join-Path $install_folder 'telegraf.exe'
Uninstall-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs "$silentArgs" `
-ValidExitCodes $validExitCodes `
-File "$file"
Start-Sleep -Seconds 3
Remove-Item -Path $install_folder -Recurse -Confirm:$false -Force
2021-09-21 00:46:29,909 336 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2021-09-21 00:46:29,909 336 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2021-09-21 00:46:29,956 336 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2021-09-21 00:46:29,956 336 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2021-09-21 00:46:29,956 336 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2021-09-21 00:46:29,956 336 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2021-09-21 00:46:30,019 336 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:30,050 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:30,066 336 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:46:30,081 336 [DEBUG] - Loading community extensions
2021-09-21 00:46:30,081 336 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:30,081 336 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:30,097 336 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,113 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:30,128 336 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-09-21 00:46:30,143 336 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-09-21 00:46:30,159 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-09-21 00:46:30,175 336 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-09-21 00:46:30,190 336 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-09-21 00:46:30,190 336 [DEBUG] - ---------------------------Script Execution---------------------------
2021-09-21 00:46:30,190 336 [DEBUG] - Running 'ChocolateyScriptRunner' for telegraf v1.20.0 with packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\telegraf', installArguments: '', packageParameters: '',
2021-09-21 00:46:30,190 336 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1'
2021-09-21 00:46:30,222 336 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'telegraf' -fileType 'EXE' -silentArgs '--service uninstall' -validExitCodes '0' -file 'C:\Program Files\telegraf\telegraf.exe'
2021-09-21 00:46:30,222 336 [INFO ] - Uninstalling telegraf...
2021-09-21 00:46:30,222 336 [INFO ] -
2021-09-21 00:46:30,284 336 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '--service uninstall ' -exeToRun 'C:\Program Files\telegraf\telegraf.exe'
2021-09-21 00:46:30,315 336 [DEBUG] - Test-ProcessAdminRights: returning True
2021-09-21 00:46:30,315 336 [DEBUG] - Elevating permissions and running ["C:\Program Files\telegraf\telegraf.exe" --service uninstall ]. This may take a while, depending on the statements.
2021-09-21 00:46:31,566 336 [DEBUG] - Command ["C:\Program Files\telegraf\telegraf.exe" --service uninstall ] exited with '0'.
2021-09-21 00:46:31,582 336 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2021-09-21 00:46:31,582 336 [INFO ] - 0
2021-09-21 00:46:31,582 336 [INFO ] - telegraf has been uninstalled.
2021-09-21 00:46:31,582 336 [INFO ] -
2021-09-21 00:46:34,612 336 [DEBUG] - ----------------------------------------------------------------------
2021-09-21 00:46:34,612 336 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\telegraf\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2021-09-21 00:46:34,612 336 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2021-09-21 00:46:34,612 336 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2021-09-21 00:46:34,628 336 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2021-09-21 00:46:34,644 336 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\telegraf".
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\telegraf\tools'.
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\telegraf\tools'.
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\telegraf\tools'.
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\telegraf\tools'.
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed file 'telegraf.nuspec' to folder 'C:\ProgramData\chocolatey\lib\telegraf'.
2021-09-21 00:46:34,660 336 [DEBUG] - [NuGet] Removed file 'telegraf.nupkg' to folder 'C:\ProgramData\chocolatey\lib\telegraf'.
2021-09-21 00:46:34,675 336 [DEBUG] - [NuGet] The directory is not empty.
2021-09-21 00:46:34,675 336 [INFO ] - [NuGet] Successfully uninstalled 'telegraf 1.20.0'.
2021-09-21 00:46:34,690 336 [INFO ] - telegraf has been successfully uninstalled.
2021-09-21 00:46:34,690 336 [DEBUG] - Removing nupkg if it still exists.
2021-09-21 00:46:34,690 336 [DEBUG] - Ensuring removal of installation files.
2021-09-21 00:46:34,690 336 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt'
with checksum '6F044B9313525E1F4AD094B1CB823359'
2021-09-21 00:46:34,690 336 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\telegraf\telegraf-1.20.0_windows_amd64.zip.txt".
2021-09-21 00:46:34,690 336 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\telegraf".
2021-09-21 00:46:34,690 336 [DEBUG] - Ensuring removal of package cache files.
2021-09-21 00:46:34,690 336 [DEBUG] - Attempting to delete directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\telegraf\1.20.0".
2021-09-21 00:46:34,706 336 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-09-21 00:46:34,706 336 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-09-21 00:46:34,722 336 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment