Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 16, 2023 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/69f15244d0da417b260ecc8922d673e6 to your computer and use it in GitHub Desktop.
Save choco-bot/69f15244d0da417b260ecc8922d673e6 to your computer and use it in GitHub Desktop.
zabbix-agent v6.4.4 - Passed - Package Tests Results

zabbix-agent v6.4.4 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/zabbix-agent/6.4.4
  • Tested 16 Jul 2023 11:13:19 +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 v1.0.1
  • 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\zabbix-agent\zabbix-agent.nupkg" checksum="55E98EC7BB0F7C4924CF655B8CDC9893" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec" checksum="3A9698E96DF59A977316A0ADC9890A30" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt" checksum="C2F6C8C445F13624D85250D0ACBBB898" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt" checksum="82B4494D3EFC80FBF5EA0B125B93B37D" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt" checksum="8F3D82CCBDAAE12EB9E16BC8BB4D99A1" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1" checksum="FEB27D385FA59212B9582443AF42408E" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1" checksum="1EF7B5D5AA4FC966D564939253252F18" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip" checksum="D750335E890F8DD248919CA60CE6C179" />
<file path="C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip" checksum="DEDDD08C08C40DD673655C82632C5AC3" />
</files>
</fileSnapshot>
2023-07-16 11:12:33,078 4808 [DEBUG] - XmlConfiguration is now operational
2023-07-16 11:12:33,235 4808 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:12:33,249 4808 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:12:33,249 4808 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:12:33,249 4808 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:12:33,249 4808 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:12:33,265 4808 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-16 11:12:33,578 4808 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-16 11:12:33,578 4808 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-16 11:12:33,578 4808 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-16 11:12:33,578 4808 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-16 11:12:33,594 4808 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-16 11:12:33,594 4808 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-16 11:12:33,594 4808 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-16 11:12:33,609 4808 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-16 11:12:33,609 4808 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-16 11:12:33,609 4808 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-16 11:12:33,625 4808 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-16 11:12:33,625 4808 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-16 11:12:33,625 4808 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-16 11:12:33,625 4808 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-16 11:12:33,640 4808 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-16 11:12:33,640 4808 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-16 11:12:33,640 4808 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-16 11:12:33,640 4808 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-16 11:12:33,953 4808 [INFO ] - ============================================================
2023-07-16 11:12:34,375 4808 [INFO ] - Chocolatey v1.3.0
2023-07-16 11:12:34,422 4808 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-16 11:12:34,438 4808 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-16 11:12:34,438 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-16 11:12:34,469 4808 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install zabbix-agent --version 6.4.4 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-16 11:12:34,485 4808 [DEBUG] - Received arguments: install zabbix-agent --version 6.4.4 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-16 11:12:34,672 4808 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-16 11:12:34,688 4808 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-16 11:12:34,719 4808 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-16 11:12:34,860 4808 [DEBUG] - Performing validation checks.
2023-07-16 11:12:34,875 4808 [DEBUG] - Global Configuration Validation Checks:
2023-07-16 11:12:34,890 4808 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-16 11:12:34,890 4808 [DEBUG] - System State Validation Checks:
2023-07-16 11:12:34,907 4808 [DEBUG] - Reboot Requirement Checks:
2023-07-16 11:12:34,922 4808 [DEBUG] - - Pending Computer Rename = Checked
2023-07-16 11:12:34,937 4808 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-16 11:12:34,937 4808 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-16 11:12:34,937 4808 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-16 11:12:34,953 4808 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-16 11:12:34,953 4808 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-16 11:12:34,984 4808 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-16 11:12:35,048 4808 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-16 11:12:35,062 4808 [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.
2023-07-16 11:12:35,109 4808 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='zabbix-agent'|
Version='6.4.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-UI3ECTLM959'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
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'|
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'|
TemplateCommand.Command='unknown'|
2023-07-16 11:12:35,125 4808 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-16 11:12:35,141 4808 [INFO ] - Installing the following packages:
2023-07-16 11:12:35,172 4808 [INFO ] - zabbix-agent
2023-07-16 11:12:35,187 4808 [INFO ] - By installing, you accept licenses for the packages.
2023-07-16 11:12:35,203 4808 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-16 11:12:35,203 4808 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-16 11:12:35,219 4808 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 11:12:35,219 4808 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 11:12:35,234 4808 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339031112854838' ('User')
2023-07-16 11:12:35,250 4808 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-16 11:12:35,250 4808 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-16 11:12:35,266 4808 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-16 11:12:35,282 4808 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-07-16 11:12:35,282 4808 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-16 11:12:35,297 4808 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-16 11:12:35,297 4808 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-16 11:12:35,312 4808 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 11:12:35,312 4808 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 11:12:35,312 4808 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-16 11:12:35,328 4808 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-16 11:12:35,328 4808 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-16 11:12:35,344 4808 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-16 11:12:35,344 4808 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-16 11:12:35,359 4808 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-16 11:12:35,375 4808 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-16 11:12:38,031 4808 [INFO ] - [NuGet] Installing 'zabbix-agent 6.4.4'.
2023-07-16 11:12:38,078 4808 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'zabbix-agent\tools'.
2023-07-16 11:12:38,078 4808 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'zabbix-agent\tools'.
2023-07-16 11:12:38,109 4808 [DEBUG] - [NuGet] Added file 'zabbix_agent-6.4.4-windows-amd64-openssl.zip' to folder 'zabbix-agent\tools'.
2023-07-16 11:12:38,125 4808 [DEBUG] - [NuGet] Added file 'zabbix_agent-6.4.4-windows-i386-openssl.zip' to folder 'zabbix-agent\tools'.
2023-07-16 11:12:38,125 4808 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'zabbix-agent\legal'.
2023-07-16 11:12:38,140 4808 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'zabbix-agent\legal'.
2023-07-16 11:12:38,174 4808 [DEBUG] - [NuGet] Added file 'zabbix-agent.nupkg' to folder 'zabbix-agent'.
2023-07-16 11:12:38,688 4808 [DEBUG] - [NuGet] Added file 'zabbix-agent.nuspec' to folder 'zabbix-agent'.
2023-07-16 11:12:38,703 4808 [INFO ] - [NuGet] Successfully installed 'zabbix-agent 6.4.4'.
2023-07-16 11:12:38,718 4808 [INFO ] -
zabbix-agent v6.4.4 (forced)
2023-07-16 11:12:38,751 4808 [INFO ] - zabbix-agent package files install completed. Performing other installation steps.
2023-07-16 11:12:38,845 4808 [DEBUG] - Setting installer args for zabbix-agent
2023-07-16 11:12:38,845 4808 [DEBUG] - Setting package parameters for zabbix-agent
2023-07-16 11:12:38,875 4808 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1':
2023-07-16 11:12:38,907 4808 [DEBUG] - $ErrorActionPreference = 'Stop';
$version = '6.4.4'
$title = 'Zabbix Agent'
$configDir = Join-Path $env:PROGRAMDATA 'zabbix'
$zabbixConf = Join-Path $configDir 'zabbix_agentd.conf'
$installDir = Join-Path $env:PROGRAMFILES $title
$zabbixAgentd = Join-Path $installDir 'zabbix_agentd.exe'
$tempDir = Join-Path $env:TEMP 'chocolatey\zabbix'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$binDir = Join-Path $tempDir 'bin'
$binFiles = @('zabbix_agentd.exe', 'zabbix_get.exe', 'zabbix_sender.exe')
$sampleConfig = Join-Path $tempDir 'conf\zabbix_agentd.conf'
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
$PackageArgs = @{
PackageName = $env:ChocolateyPackageName
unzipLocation = $tempDir
file = "$toolsDir\zabbix_agent-6.4.4-windows-i386-openssl.zip"
file64 = "$toolsDir\zabbix_agent-6.4.4-windows-amd64-openssl.zip"
SilentArgs = $SilentArgs
ValidExitCodes = @(0, 3010, 1641)
}
try {
Get-ChocolateyUnzip @PackageArgs
if (!(Test-Path $configDir)) {
New-Item $configDir -type directory
}
if (!(Test-Path $installDir)) {
New-Item $installDir -type directory
}
foreach ($executable in $binFiles ) {
$file = Join-Path $binDir $executable
Move-Item $file $installDir -Force
}
if (Test-Path "$installDir\zabbix_agentd.conf") {
if ($service) {
$service.Delete()
Clear-Variable -Name $service
}
Move-Item "$installDir\zabbix_agentd.conf" "$configDir\zabbix_agentd.conf" -Force
}
elseif (Test-Path "$configDir\zabbix_agentd.conf") {
$configFile = "$configDir\zabbix_agentd-$version.conf"
Move-Item $sampleConfig $configFile -Force
}
else {
$configFile = "$configDir\zabbix_agentd.conf"
Move-Item $sampleConfig $configFile
}
if (!($service)) {
Start-ChocolateyProcessAsAdmin "--config `"$zabbixConf`" --install" "$zabbixAgentd"
}
Start-Service -Name $title
Install-ChocolateyPath $installDir 'Machine'
}
catch {
Write-Host 'Error installing Zabbix Agent'
throw $_.Exception
}
2023-07-16 11:12:39,047 4808 [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\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-16 11:12:39,079 4808 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-16 11:12:40,078 4808 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-16 11:12:40,594 4808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 11:12:40,609 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 11:12:40,625 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 11:12:40,625 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 11:12:40,625 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 11:12:40,641 4808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 11:12:40,641 4808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 11:12:40,656 4808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 11:12:40,672 4808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 11:12:40,672 4808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 11:12:40,688 4808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:12:40,703 4808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 11:12:40,703 4808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 11:12:40,718 4808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 11:12:40,718 4808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 11:12:40,734 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 11:12:40,734 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 11:12:40,750 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 11:12:40,750 4808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 11:12:40,766 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:40,781 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:12:40,781 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:12:40,797 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:12:40,797 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 11:12:40,812 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 11:12:40,828 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:12:40,828 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:12:40,844 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 11:12:40,844 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:12:40,860 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 11:12:40,875 4808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 11:12:40,875 4808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 11:12:40,891 4808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 11:12:40,891 4808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:12:40,906 4808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 11:12:40,922 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 11:12:40,938 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:40,953 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:12:40,969 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:12:41,015 4808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 11:12:41,015 4808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 11:12:41,031 4808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 11:12:41,046 4808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 11:12:41,046 4808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 11:12:41,063 4808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 11:12:41,063 4808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 11:12:41,078 4808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 11:12:41,078 4808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:12:41,093 4808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 11:12:41,093 4808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 11:12:41,140 4808 [DEBUG] - Loading community extensions
2023-07-16 11:12:41,234 4808 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-16 11:12:41,234 4808 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-16 11:12:41,516 4808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 11:12:41,593 4808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 11:12:41,609 4808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 11:12:41,609 4808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 11:12:41,625 4808 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 11:12:41,640 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 11:12:41,640 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 11:12:41,640 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 11:12:41,656 4808 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 11:12:41,656 4808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 11:12:41,671 4808 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 11:12:41,671 4808 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 11:12:41,687 4808 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 11:12:41,688 4808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 11:12:41,704 4808 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:12:41,704 4808 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 11:12:41,718 4808 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 11:12:41,718 4808 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 11:12:41,734 4808 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 11:12:41,734 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 11:12:41,750 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 11:12:41,750 4808 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 11:12:41,765 4808 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 11:12:41,765 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:41,781 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:12:41,781 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:12:41,796 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:12:41,812 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 11:12:41,812 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 11:12:41,828 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:12:41,828 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:12:41,844 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 11:12:41,859 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:12:41,859 4808 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 11:12:41,875 4808 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 11:12:41,875 4808 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 11:12:41,890 4808 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 11:12:41,890 4808 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:12:41,906 4808 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 11:12:41,906 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 11:12:41,922 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:41,937 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:12:41,953 4808 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:12:41,953 4808 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 11:12:41,969 4808 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 11:12:41,969 4808 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 11:12:41,985 4808 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 11:12:42,000 4808 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 11:12:42,015 4808 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 11:12:42,015 4808 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 11:12:42,031 4808 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 11:12:42,031 4808 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 11:12:42,047 4808 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 11:12:42,047 4808 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:12:42,062 4808 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 11:12:42,062 4808 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 11:12:42,078 4808 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-16 11:12:42,094 4808 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-16 11:12:42,110 4808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-16 11:12:42,125 4808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-16 11:12:42,125 4808 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-16 11:12:42,140 4808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-16 11:12:42,156 4808 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-16 11:12:42,156 4808 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-16 11:12:42,172 4808 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-16 11:12:42,172 4808 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-16 11:12:42,188 4808 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:12:42,188 4808 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-16 11:12:42,203 4808 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-16 11:12:42,203 4808 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-16 11:12:42,219 4808 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-16 11:12:42,219 4808 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-16 11:12:42,234 4808 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-16 11:12:42,234 4808 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-16 11:12:42,250 4808 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-16 11:12:42,250 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:42,265 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:12:42,265 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:12:42,281 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:12:42,281 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-16 11:12:42,296 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-16 11:12:42,296 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:12:42,313 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:12:42,313 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-16 11:12:42,328 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:12:42,328 4808 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-16 11:12:42,328 4808 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-16 11:12:42,344 4808 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 11:12:42,344 4808 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-16 11:12:42,359 4808 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-16 11:12:42,359 4808 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:12:42,375 4808 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-16 11:12:42,391 4808 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 11:12:42,391 4808 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-16 11:12:42,406 4808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:12:42,406 4808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:12:42,422 4808 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:12:42,422 4808 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-16 11:12:42,437 4808 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-16 11:12:42,437 4808 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-16 11:12:42,453 4808 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-16 11:12:42,453 4808 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-16 11:12:42,469 4808 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-16 11:12:42,469 4808 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-16 11:12:42,484 4808 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:12:42,484 4808 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-16 11:12:42,499 4808 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-16 11:12:42,499 4808 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-16 11:12:42,609 4808 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-16 11:12:42,642 4808 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.4 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-16 11:12:42,719 4808 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
2023-07-16 11:12:44,906 4808 [DEBUG] - Running Get-ChocolateyUnzip -destination 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix' -fileFullPath64 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip' -fileFullPath 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip' -packageName 'zabbix-agent'
2023-07-16 11:12:44,938 4808 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-07-16 11:12:45,016 4808 [INFO ] - Extracting 64-bit C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix...
2023-07-16 11:12:45,062 4808 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-07-16 11:12:45,125 4808 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip"]
2023-07-16 11:12:45,610 4808 [INFO ] - VERBOSE:
2023-07-16 11:12:45,625 4808 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-07-16 11:12:45,640 4808 [INFO ] - VERBOSE:
2023-07-16 11:12:45,687 4808 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-07-16 11:12:45,703 4808 [INFO ] - VERBOSE: 1 file, 4096756 bytes (4001 KiB)
2023-07-16 11:12:45,719 4808 [INFO ] - VERBOSE:
2023-07-16 11:12:45,719 4808 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip
2023-07-16 11:12:45,734 4808 [INFO ] - VERBOSE: --
2023-07-16 11:12:45,750 4808 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip
2023-07-16 11:12:45,750 4808 [INFO ] - VERBOSE: Type = zip
2023-07-16 11:12:45,765 4808 [INFO ] - VERBOSE: Physical Size = 4096756
2023-07-16 11:12:45,781 4808 [INFO ] - VERBOSE:
2023-07-16 11:12:45,797 4808 [INFO ] - VERBOSE: - bin\zabbix_agentd.exe
2023-07-16 11:12:45,829 4808 [INFO ] - VERBOSE: - bin\zabbix_get.exe
2023-07-16 11:12:45,829 4808 [INFO ] - VERBOSE: - bin\zabbix_sender.exe
2023-07-16 11:12:45,844 4808 [INFO ] - VERBOSE: - conf\zabbix_agentd.conf
2023-07-16 11:12:45,859 4808 [INFO ] - VERBOSE: Everything is Ok
2023-07-16 11:12:45,859 4808 [INFO ] - VERBOSE:
2023-07-16 11:12:45,875 4808 [INFO ] - VERBOSE: Files: 4
2023-07-16 11:12:45,890 4808 [INFO ] - VERBOSE: Size: 8973084
2023-07-16 11:12:45,890 4808 [INFO ] - VERBOSE: Compressed: 4096756
2023-07-16 11:12:45,985 4808 [DEBUG] - $exitCode was passed null
2023-07-16 11:12:46,000 4808 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix" -y "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip"] exited with '0'.
2023-07-16 11:12:46,064 4808 [DEBUG] - 7z exit code: 0
2023-07-16 11:12:46,110 4808 [INFO ] - C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix
2023-07-16 11:12:46,126 4808 [INFO ] - C:\ProgramData\zabbix
2023-07-16 11:12:46,141 4808 [INFO ] - C:\Program Files\Zabbix Agent
2023-07-16 11:12:46,282 4808 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements '--config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install' -exeToRun 'C:\Program Files\Zabbix Agent\zabbix_agentd.exe'
2023-07-16 11:12:46,375 4808 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-16 11:12:46,406 4808 [DEBUG] - Elevating permissions and running ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install]. This may take a while, depending on the statements.
2023-07-16 11:12:46,984 4808 [ERROR] - zabbix_agentd.exe [5068]: service [Zabbix Agent] installed successfully
2023-07-16 11:12:47,000 4808 [ERROR] - zabbix_agentd.exe [5068]: event source [Zabbix Agent] installed successfully
2023-07-16 11:12:47,017 4808 [DEBUG] - Command ["C:\Program Files\Zabbix Agent\zabbix_agentd.exe" --config "C:\ProgramData\zabbix\zabbix_agentd.conf" --install] exited with '0'.
2023-07-16 11:12:47,047 4808 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-07-16 11:12:47,251 4808 [INFO ] - 0
2023-07-16 11:12:47,766 4808 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\Program Files\Zabbix Agent' -pathType 'Machine'
2023-07-16 11:12:47,938 4808 [DEBUG] - Running Update-SessionEnvironment
2023-07-16 11:12:47,938 4808 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-16 11:12:48,625 4808 [INFO ] - PATH environment variable does not have C:\Program Files\Zabbix Agent in it. Adding...
2023-07-16 11:12:48,640 4808 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-16 11:12:48,891 4808 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-16 11:12:49,000 4808 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' -Scope 'Machine'
2023-07-16 11:12:49,157 4808 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-16 11:12:49,203 4808 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-07-16 11:12:50,765 4808 [DEBUG] - Running Update-SessionEnvironment
2023-07-16 11:12:50,781 4808 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-16 11:12:50,985 4808 [DEBUG] - ----------------------------------------------------------------------
2023-07-16 11:12:51,000 4808 [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\zabbix-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-16 11:12:51,015 4808 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2023-07-16 11:12:51,031 4808 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-16 11:12:51,142 4808 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-16 11:12:51,172 4808 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-16 11:12:51,172 4808 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-16 11:12:51,187 4808 [DEBUG] - * ChocolateyLastPathUpdate='133339795707195659' (User)
2023-07-16 11:12:51,187 4808 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' (Machine)
2023-07-16 11:12:51,344 4808 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2023-07-16 11:12:51,391 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '55E98EC7BB0F7C4924CF655B8CDC9893'
2023-07-16 11:12:51,391 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum '3A9698E96DF59A977316A0ADC9890A30'
2023-07-16 11:12:51,406 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 11:12:51,406 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2023-07-16 11:12:51,422 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '8F3D82CCBDAAE12EB9E16BC8BB4D99A1'
2023-07-16 11:12:51,422 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum 'FEB27D385FA59212B9582443AF42408E'
2023-07-16 11:12:51,437 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2023-07-16 11:12:51,501 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip'
with checksum 'D750335E890F8DD248919CA60CE6C179'
2023-07-16 11:12:51,515 4808 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip'
with checksum 'DEDDD08C08C40DD673655C82632C5AC3'
2023-07-16 11:12:51,593 4808 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4".
2023-07-16 11:12:51,625 4808 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4\.files'
2023-07-16 11:12:51,640 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4\.extra".
2023-07-16 11:12:51,640 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4\.version".
2023-07-16 11:12:51,656 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4\.sxs".
2023-07-16 11:12:51,672 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\zabbix-agent.6.4.4\.pin".
2023-07-16 11:12:51,687 4808 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-16 11:12:51,687 4808 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\.chocolateyPending".
2023-07-16 11:12:51,703 4808 [INFO ] - The install of zabbix-agent was successful.
2023-07-16 11:12:51,718 4808 [INFO ] - Software installed to 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\chocolatey\zabbix'
2023-07-16 11:12:51,734 4808 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\zabbix-agent.6.4.4.nupkg".
2023-07-16 11:12:51,766 4808 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-16 11:12:51,781 4808 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-16 11:12:51,828 4808 [DEBUG] - Exiting with 0
2023-07-16 11:13:05,187 1244 [DEBUG] - XmlConfiguration is now operational
2023-07-16 11:13:05,359 1244 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:13:05,374 1244 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:13:05,374 1244 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:13:05,374 1244 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:13:05,390 1244 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-16 11:13:05,390 1244 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-16 11:13:05,671 1244 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-16 11:13:05,671 1244 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-16 11:13:05,671 1244 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-16 11:13:05,671 1244 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-16 11:13:05,687 1244 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-16 11:13:05,687 1244 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-16 11:13:05,687 1244 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-16 11:13:05,703 1244 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-16 11:13:05,703 1244 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-16 11:13:05,703 1244 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-16 11:13:05,718 1244 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-16 11:13:05,718 1244 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-16 11:13:05,718 1244 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-16 11:13:05,718 1244 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-16 11:13:05,749 1244 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-16 11:13:05,749 1244 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-16 11:13:05,749 1244 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-16 11:13:05,765 1244 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-16 11:13:06,078 1244 [INFO ] - ============================================================
2023-07-16 11:13:06,484 1244 [INFO ] - Chocolatey v1.3.0
2023-07-16 11:13:06,516 1244 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-16 11:13:06,531 1244 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-16 11:13:06,531 1244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-16 11:13:06,563 1244 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall zabbix-agent --version 6.4.4 -dvy --execution-timeout=2700
2023-07-16 11:13:06,563 1244 [DEBUG] - Received arguments: uninstall zabbix-agent --version 6.4.4 -dvy --execution-timeout=2700
2023-07-16 11:13:06,734 1244 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-16 11:13:06,766 1244 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-16 11:13:06,797 1244 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-16 11:13:06,954 1244 [DEBUG] - Performing validation checks.
2023-07-16 11:13:06,969 1244 [DEBUG] - Global Configuration Validation Checks:
2023-07-16 11:13:06,985 1244 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-16 11:13:07,000 1244 [DEBUG] - System State Validation Checks:
2023-07-16 11:13:07,000 1244 [DEBUG] - Reboot Requirement Checks:
2023-07-16 11:13:07,016 1244 [DEBUG] - - Pending Computer Rename = Checked
2023-07-16 11:13:07,031 1244 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-16 11:13:07,046 1244 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-16 11:13:07,046 1244 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-16 11:13:07,062 1244 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-16 11:13:07,062 1244 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-16 11:13:07,078 1244 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-16 11:13:07,141 1244 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-16 11:13:07,156 1244 [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.
2023-07-16 11:13:07,203 1244 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='zabbix-agent'|
Version='6.4.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='zabbix-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-UI3ECTLM959'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
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'|
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'|
TemplateCommand.Command='unknown'|
2023-07-16 11:13:07,218 1244 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-16 11:13:07,250 1244 [INFO ] - Uninstalling the following packages:
2023-07-16 11:13:07,250 1244 [INFO ] - zabbix-agent
2023-07-16 11:13:07,282 1244 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-16 11:13:07,282 1244 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-16 11:13:07,297 1244 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 11:13:07,313 1244 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-16 11:13:07,313 1244 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339795707195659' ('User')
2023-07-16 11:13:07,313 1244 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-16 11:13:07,328 1244 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-16 11:13:07,328 1244 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-16 11:13:07,344 1244 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\Zabbix Agent;' ('Machine')
2023-07-16 11:13:07,344 1244 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-16 11:13:07,375 1244 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-16 11:13:07,375 1244 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-16 11:13:07,375 1244 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 11:13:07,390 1244 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-16 11:13:07,390 1244 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-16 11:13:07,406 1244 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-16 11:13:07,406 1244 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-16 11:13:07,422 1244 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-16 11:13:07,422 1244 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-16 11:13:07,437 1244 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-16 11:13:07,437 1244 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-16 11:13:07,593 1244 [DEBUG] - Running list with the following filter = ''
2023-07-16 11:13:07,609 1244 [DEBUG] - --- Start of List ---
2023-07-16 11:13:07,969 1244 [DEBUG] - zabbix-agent 6.4.4
2023-07-16 11:13:07,984 1244 [DEBUG] - --- End of List ---
2023-07-16 11:13:08,281 1244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-16 11:13:08,296 1244 [DEBUG] - Backing up existing zabbix-agent prior to operation.
2023-07-16 11:13:08,296 1244 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\zabbix-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\zabbix-agent'
2023-07-16 11:13:10,328 1244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2023-07-16 11:13:10,328 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg".
2023-07-16 11:13:10,360 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec".
2023-07-16 11:13:10,375 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt".
2023-07-16 11:13:10,375 1244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\legal".
2023-07-16 11:13:10,391 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt".
2023-07-16 11:13:10,406 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt".
2023-07-16 11:13:10,406 1244 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\zabbix-agent\tools".
2023-07-16 11:13:10,422 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1".
2023-07-16 11:13:10,422 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1".
2023-07-16 11:13:10,437 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip".
2023-07-16 11:13:10,453 1244 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip"
to "C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip".
2023-07-16 11:13:11,999 1244 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\zabbix-agent'
2023-07-16 11:13:12,047 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nupkg'
with checksum '55E98EC7BB0F7C4924CF655B8CDC9893'
2023-07-16 11:13:12,062 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix-agent.nuspec'
with checksum '3A9698E96DF59A977316A0ADC9890A30'
2023-07-16 11:13:12,062 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 11:13:12,078 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\LICENSE.txt'
with checksum '82B4494D3EFC80FBF5EA0B125B93B37D'
2023-07-16 11:13:12,078 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal\VERIFICATION.txt'
with checksum '8F3D82CCBDAAE12EB9E16BC8BB4D99A1'
2023-07-16 11:13:12,093 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyInstall.ps1'
with checksum 'FEB27D385FA59212B9582443AF42408E'
2023-07-16 11:13:12,093 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
with checksum '1EF7B5D5AA4FC966D564939253252F18'
2023-07-16 11:13:12,156 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-amd64-openssl.zip'
with checksum 'D750335E890F8DD248919CA60CE6C179'
2023-07-16 11:13:12,172 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\zabbix_agent-6.4.4-windows-i386-openssl.zip'
with checksum 'DEDDD08C08C40DD673655C82632C5AC3'
2023-07-16 11:13:12,672 1244 [INFO ] - [NuGet] Uninstalling 'zabbix-agent 6.4.4'.
2023-07-16 11:13:12,688 1244 [INFO ] -
zabbix-agent v6.4.4
2023-07-16 11:13:12,750 1244 [DEBUG] - Setting installer args for zabbix-agent
2023-07-16 11:13:12,750 1244 [DEBUG] - Setting package parameters for zabbix-agent
2023-07-16 11:13:12,765 1244 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1':
2023-07-16 11:13:12,782 1244 [DEBUG] - $id = 'zabbix-agent'
$title = 'Zabbix Agent'
$installDir = Join-Path $env:PROGRAMFILES $title
$configDir = Join-Path $env:PROGRAMDATA 'zabbix'
try
{
$service = Get-WmiObject -Class Win32_Service -Filter "Name=`'$title`'"
if ($service) {
$service.StopService()
$service.Delete()
}
Remove-Item $installDir -Recurse
Remove-Item $configDir -Recurse
}
catch
{
Write-Host "Error uninstalling Zabbix Agent"
throw $_.Exception
}
2023-07-16 11:13:12,844 1244 [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\zabbix-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-16 11:13:12,860 1244 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-16 11:13:13,657 1244 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-16 11:13:14,220 1244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 11:13:14,220 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 11:13:14,234 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 11:13:14,234 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 11:13:14,250 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 11:13:14,250 1244 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 11:13:14,265 1244 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 11:13:14,281 1244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 11:13:14,281 1244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 11:13:14,297 1244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 11:13:14,312 1244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:13:14,328 1244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 11:13:14,344 1244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 11:13:14,360 1244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 11:13:14,376 1244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 11:13:14,391 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 11:13:14,406 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 11:13:14,422 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 11:13:14,437 1244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 11:13:14,437 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:14,453 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:13:14,500 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:13:14,500 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:13:14,516 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 11:13:14,531 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 11:13:14,547 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:13:14,547 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:13:14,562 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 11:13:14,562 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:13:14,578 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 11:13:14,578 1244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 11:13:14,593 1244 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 11:13:14,593 1244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 11:13:14,612 1244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:13:14,626 1244 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 11:13:14,640 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 11:13:14,677 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:14,687 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:13:14,687 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:13:14,703 1244 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 11:13:14,703 1244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 11:13:14,718 1244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 11:13:14,718 1244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 11:13:14,734 1244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 11:13:14,734 1244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 11:13:14,750 1244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 11:13:14,750 1244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 11:13:14,765 1244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:13:14,765 1244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 11:13:14,765 1244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 11:13:14,813 1244 [DEBUG] - Loading community extensions
2023-07-16 11:13:14,890 1244 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-16 11:13:14,906 1244 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-16 11:13:15,031 1244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 11:13:15,031 1244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 11:13:15,047 1244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 11:13:15,063 1244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 11:13:15,078 1244 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-16 11:13:15,078 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-16 11:13:15,094 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-16 11:13:15,109 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-16 11:13:15,109 1244 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-16 11:13:15,125 1244 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-16 11:13:15,125 1244 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-16 11:13:15,140 1244 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-16 11:13:15,140 1244 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-16 11:13:15,156 1244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-16 11:13:15,156 1244 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:13:15,172 1244 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-16 11:13:15,172 1244 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-16 11:13:15,187 1244 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-16 11:13:15,187 1244 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-16 11:13:15,203 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-16 11:13:15,219 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-16 11:13:15,234 1244 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-16 11:13:15,250 1244 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-16 11:13:15,250 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:15,265 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:13:15,281 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:13:15,281 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:13:15,297 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-16 11:13:15,297 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-16 11:13:15,312 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:13:15,328 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:13:15,344 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-16 11:13:15,344 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:13:15,359 1244 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-16 11:13:15,359 1244 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-16 11:13:15,375 1244 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-16 11:13:15,375 1244 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-16 11:13:15,391 1244 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:13:15,391 1244 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-16 11:13:15,406 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-16 11:13:15,406 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:15,421 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:13:15,421 1244 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:13:15,437 1244 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-16 11:13:15,453 1244 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-16 11:13:15,453 1244 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-16 11:13:15,468 1244 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-16 11:13:15,468 1244 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-16 11:13:15,484 1244 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-16 11:13:15,500 1244 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-16 11:13:15,500 1244 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-16 11:13:15,500 1244 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-16 11:13:15,515 1244 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-16 11:13:15,515 1244 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:13:15,531 1244 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-16 11:13:15,531 1244 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-16 11:13:15,547 1244 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-16 11:13:15,562 1244 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-16 11:13:15,577 1244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-16 11:13:15,594 1244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-16 11:13:15,609 1244 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-16 11:13:15,609 1244 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-16 11:13:15,625 1244 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-16 11:13:15,641 1244 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-16 11:13:15,656 1244 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-16 11:13:15,656 1244 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-16 11:13:15,656 1244 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-16 11:13:15,672 1244 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-16 11:13:15,688 1244 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-16 11:13:15,703 1244 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-16 11:13:15,703 1244 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-16 11:13:15,719 1244 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-16 11:13:15,719 1244 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-16 11:13:15,735 1244 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-16 11:13:15,750 1244 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-16 11:13:15,750 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:15,765 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-16 11:13:15,765 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-16 11:13:15,781 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-16 11:13:15,781 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-16 11:13:15,796 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-16 11:13:15,812 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-16 11:13:15,812 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-16 11:13:15,827 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-16 11:13:15,828 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-16 11:13:15,843 1244 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-16 11:13:15,843 1244 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-16 11:13:15,859 1244 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-16 11:13:15,875 1244 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-16 11:13:15,875 1244 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-16 11:13:15,890 1244 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-16 11:13:15,890 1244 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-16 11:13:15,906 1244 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-16 11:13:15,906 1244 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-16 11:13:15,906 1244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-16 11:13:15,921 1244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-16 11:13:15,921 1244 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-16 11:13:15,937 1244 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-16 11:13:15,937 1244 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-16 11:13:15,953 1244 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-16 11:13:15,968 1244 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-16 11:13:15,984 1244 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-16 11:13:15,984 1244 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-16 11:13:15,984 1244 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-16 11:13:16,000 1244 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-16 11:13:16,000 1244 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-16 11:13:16,015 1244 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-16 11:13:16,015 1244 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-16 11:13:16,125 1244 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-16 11:13:16,156 1244 [DEBUG] - Running 'ChocolateyScriptRunner' for zabbix-agent v6.4.4 with packageScript 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\zabbix-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-16 11:13:16,219 1244 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools\chocolateyUninstall.ps1'
2023-07-16 11:13:17,859 1244 [INFO ] - System.Management.ManagementBaseObject
2023-07-16 11:13:17,906 1244 [INFO ] - System.Management.ManagementBaseObject
2023-07-16 11:13:17,954 1244 [ERROR] - Cannot remove item C:\Program Files\Zabbix Agent\zabbix_agentd.exe: Access to the path 'zabbix_agentd.exe' is denied.
2023-07-16 11:13:17,969 1244 [ERROR] - Directory C:\Program Files\Zabbix Agent cannot be removed because it is not empty.
2023-07-16 11:13:18,031 1244 [DEBUG] - ----------------------------------------------------------------------
2023-07-16 11:13:18,063 1244 [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\zabbix-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-16 11:13:18,078 1244 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2023-07-16 11:13:18,109 1244 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-16 11:13:18,125 1244 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-16 11:13:18,484 1244 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-16 11:13:18,500 1244 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\zabbix-agent".
2023-07-16 11:13:18,594 1244 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 11:13:18,609 1244 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 11:13:18,644 1244 [DEBUG] - [NuGet] Removed file 'zabbix_agent-6.4.4-windows-amd64-openssl.zip' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 11:13:18,689 1244 [DEBUG] - [NuGet] Removed file 'zabbix_agent-6.4.4-windows-i386-openssl.zip' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 11:13:18,703 1244 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\tools'.
2023-07-16 11:13:18,703 1244 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 11:13:18,719 1244 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 11:13:18,734 1244 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\zabbix-agent\legal'.
2023-07-16 11:13:18,734 1244 [DEBUG] - [NuGet] Removed file 'zabbix-agent.nuspec' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent'.
2023-07-16 11:13:18,750 1244 [DEBUG] - [NuGet] Removed file 'zabbix-agent.nupkg' to folder 'C:\ProgramData\chocolatey\lib\zabbix-agent'.
2023-07-16 11:13:18,750 1244 [DEBUG] - [NuGet] The directory is not empty.
2023-07-16 11:13:18,765 1244 [INFO ] - [NuGet] Successfully uninstalled 'zabbix-agent 6.4.4'.
2023-07-16 11:13:18,798 1244 [INFO ] - zabbix-agent has been successfully uninstalled.
2023-07-16 11:13:18,798 1244 [DEBUG] - Removing nupkg if it still exists.
2023-07-16 11:13:18,813 1244 [DEBUG] - Ensuring removal of installation files.
2023-07-16 11:13:18,828 1244 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt'
with checksum 'C2F6C8C445F13624D85250D0ACBBB898'
2023-07-16 11:13:18,828 1244 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\zabbix-agent\zabbix_agent-6.4.4-windows-amd64-openssl.zip.txt".
2023-07-16 11:13:18,843 1244 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\zabbix-agent".
2023-07-16 11:13:18,859 1244 [DEBUG] - Ensuring removal of package cache files.
2023-07-16 11:13:18,938 1244 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-16 11:13:18,953 1244 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-16 11:13:19,000 1244 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment