Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 17, 2023 23:16
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/bd6c1c0535357f14762b77ae7e608dc6 to your computer and use it in GitHub Desktop.
Save choco-bot/bd6c1c0535357f14762b77ae7e608dc6 to your computer and use it in GitHub Desktop.
lacework-cli v1.21.0 - Passed - Package Tests Results

lacework-cli v1.21.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/lacework-cli/1.21.0
  • Tested 17 May 2023 23:16:33 +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 failed (allowed). Note that the process may have hung, indicating a not completely silent uninstall. This is usually seen when the last entry in the log is calling the uninstall. This can also happen when a window pops up and needs to be closed to continue.
<?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\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt" checksum="1A3C9A4A467DD0392A57632DD3840946" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg" checksum="AAF9EC0B567BFFB0A0C08C5A1638A02F" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec" checksum="58EB90F59B0D83EE0A3CDCB21C645762" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1" checksum="926D9D7FAAFED4717245F4CA79828E8F" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1" checksum="8F4A25E065DCB4F56B305C2BBF09C751" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe" checksum="2A590D9881B279D50124C707C8999F4F" />
</files>
</fileSnapshot>
2023-05-17 23:15:45,208 2156 [DEBUG] - XmlConfiguration is now operational
2023-05-17 23:15:45,365 2156 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:15:45,365 2156 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:15:45,381 2156 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:15:45,381 2156 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:15:45,381 2156 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:15:45,396 2156 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-17 23:15:45,694 2156 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-17 23:15:45,694 2156 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-17 23:15:45,694 2156 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-17 23:15:45,709 2156 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-17 23:15:45,709 2156 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-17 23:15:45,725 2156 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-17 23:15:45,725 2156 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-17 23:15:45,725 2156 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-17 23:15:45,740 2156 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-17 23:15:45,740 2156 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-17 23:15:45,740 2156 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-17 23:15:45,755 2156 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-17 23:15:45,755 2156 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-17 23:15:45,755 2156 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-17 23:15:45,755 2156 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-17 23:15:45,771 2156 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-17 23:15:45,771 2156 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-17 23:15:45,771 2156 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-17 23:15:46,068 2156 [INFO ] - ============================================================
2023-05-17 23:15:46,443 2156 [INFO ] - Chocolatey v1.3.0
2023-05-17 23:15:46,537 2156 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-05-17 23:15:46,552 2156 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-17 23:15:46,568 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-17 23:15:46,584 2156 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.21.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-05-17 23:15:46,600 2156 [DEBUG] - Received arguments: install lacework-cli --version 1.21.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-05-17 23:15:46,771 2156 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-17 23:15:46,803 2156 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-17 23:15:46,834 2156 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-17 23:15:46,974 2156 [DEBUG] - Performing validation checks.
2023-05-17 23:15:46,991 2156 [DEBUG] - Global Configuration Validation Checks:
2023-05-17 23:15:46,991 2156 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-05-17 23:15:47,005 2156 [DEBUG] - System State Validation Checks:
2023-05-17 23:15:47,005 2156 [DEBUG] - Reboot Requirement Checks:
2023-05-17 23:15:47,021 2156 [DEBUG] - - Pending Computer Rename = Checked
2023-05-17 23:15:47,037 2156 [DEBUG] - - Pending Component Based Servicing = Checked
2023-05-17 23:15:47,037 2156 [DEBUG] - - Pending Windows Auto Update = Checked
2023-05-17 23:15:47,052 2156 [DEBUG] - - Pending File Rename Operations = Ignored
2023-05-17 23:15:47,052 2156 [DEBUG] - - Pending Windows Package Installer = Checked
2023-05-17 23:15:47,068 2156 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-05-17 23:15:47,084 2156 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-17 23:15:47,131 2156 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-05-17 23:15:47,146 2156 [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-05-17 23:15:47,178 2156 [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='lacework-cli'|
Version='1.21.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='lacework-cli'|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-AMBA6809VBM'|
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-05-17 23:15:47,208 2156 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-05-17 23:15:47,224 2156 [INFO ] - Installing the following packages:
2023-05-17 23:15:47,224 2156 [INFO ] - lacework-cli
2023-05-17 23:15:47,240 2156 [INFO ] - By installing, you accept licenses for the packages.
2023-05-17 23:15:47,256 2156 [DEBUG] - Current environment values (may contain sensitive data):
2023-05-17 23:15:47,271 2156 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-05-17 23:15:47,287 2156 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-17 23:15:47,287 2156 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-17 23:15:47,302 2156 [DEBUG] - * 'ChocolateyLastPathUpdate'='133288001022326891' ('User')
2023-05-17 23:15:47,302 2156 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-05-17 23:15:47,302 2156 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-05-17 23:15:47,318 2156 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-05-17 23:15:47,333 2156 [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-05-17 23:15:47,333 2156 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-05-17 23:15:47,333 2156 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-05-17 23:15:47,349 2156 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-05-17 23:15:47,349 2156 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-05-17 23:15:47,365 2156 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-05-17 23:15:47,365 2156 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-05-17 23:15:47,380 2156 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-05-17 23:15:47,380 2156 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-05-17 23:15:47,396 2156 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-05-17 23:15:47,396 2156 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-05-17 23:15:47,411 2156 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-05-17 23:15:47,411 2156 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-05-17 23:15:49,772 2156 [INFO ] - [NuGet] Installing 'lacework-cli 1.21.0'.
2023-05-17 23:15:49,787 2156 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'lacework-cli\tools'.
2023-05-17 23:15:49,803 2156 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'lacework-cli\tools'.
2023-05-17 23:15:49,818 2156 [DEBUG] - [NuGet] Added file 'lacework-cli.nupkg' to folder 'lacework-cli'.
2023-05-17 23:15:50,178 2156 [DEBUG] - [NuGet] Added file 'lacework-cli.nuspec' to folder 'lacework-cli'.
2023-05-17 23:15:50,178 2156 [INFO ] - [NuGet] Successfully installed 'lacework-cli 1.21.0'.
2023-05-17 23:15:50,193 2156 [INFO ] -
lacework-cli v1.21.0 (forced)
2023-05-17 23:15:50,225 2156 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2023-05-17 23:15:50,320 2156 [DEBUG] - Setting installer args for lacework-cli
2023-05-17 23:15:50,320 2156 [DEBUG] - Setting package parameters for lacework-cli
2023-05-17 23:15:50,334 2156 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2023-05-17 23:15:50,350 2156 [DEBUG] - <#
.SYNOPSIS
Installs the Lacework CLI.
Authors: Technology Alliances <tech-ally@lacework.net>
.DESCRIPTION
This script installs the Lacework Command Line Interface.
#>
$ErrorActionPreference = "stop"
$version = 1.21.0
$packageName = 'lacework-cli'
$toolsDir = "$( Split-Path -parent $MyInvocation.MyCommand.Definition )"
$url = "https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-386.exe.zip"
$url64 = "https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'zip'
url = $url
url64bit = $url64
softwareName = 'Lacework*'
checksum = 'f4ff71086b7a650402a43961d5e22ea4f685036a043b69ebaa9e856c82d5d4e2'
checksumType = 'sha256'
checksum64 = 'c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18'
checksumType64 = 'sha256'
}
Install-ChocolateyZipPackage @packageArgs
Function Set-Environment-Variables
{
$isAdmin = $false
try
{
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
$isAdmin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
}
finally
{
if ($isAdmin)
{
$machinePath = [System.Environment]::GetEnvironmentVariable("PATH", "Machine")
$machinePath = New-PathString -StartingPath $machinePath -Path $laceworkPath
[System.Environment]::SetEnvironmentVariable("PATH", $machinePath, "Machine")
## Set Chocolatey environment variable
[System.Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", 1, "Machine")
}
else
{
$userPath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
$userPath = New-PathString -StartingPath $userPath -Path $laceworkPath
[System.Environment]::SetEnvironmentVariable("PATH", $userPath, "User")
## Set Chocolatey environment variable
[System.Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", 1, "Machine")
}
}
}
2023-05-17 23:15:50,943 2156 [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\lacework-cli\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-05-17 23:15:50,943 2156 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-17 23:15:51,600 2156 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-05-17 23:15:52,053 2156 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 23:15:52,053 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 23:15:52,068 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 23:15:52,068 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 23:15:52,083 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 23:15:52,083 2156 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 23:15:52,099 2156 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 23:15:52,099 2156 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 23:15:52,115 2156 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 23:15:52,115 2156 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 23:15:52,115 2156 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:15:52,130 2156 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 23:15:52,146 2156 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 23:15:52,146 2156 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 23:15:52,162 2156 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 23:15:52,162 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 23:15:52,162 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 23:15:52,177 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 23:15:52,177 2156 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 23:15:52,193 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:52,193 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:15:52,209 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:15:52,240 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:15:52,255 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 23:15:52,271 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 23:15:52,271 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:15:52,271 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:15:52,286 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 23:15:52,286 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:15:52,302 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 23:15:52,302 2156 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 23:15:52,318 2156 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 23:15:52,318 2156 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 23:15:52,318 2156 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:15:52,333 2156 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 23:15:52,333 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 23:15:52,349 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:52,349 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:15:52,365 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:15:52,365 2156 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 23:15:52,381 2156 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 23:15:52,396 2156 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 23:15:52,396 2156 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 23:15:52,412 2156 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 23:15:52,427 2156 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 23:15:52,427 2156 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 23:15:52,427 2156 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 23:15:52,443 2156 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:15:52,443 2156 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 23:15:52,458 2156 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 23:15:52,490 2156 [DEBUG] - Loading community extensions
2023-05-17 23:15:52,537 2156 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-17 23:15:52,537 2156 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-17 23:15:52,646 2156 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 23:15:52,646 2156 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 23:15:52,663 2156 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 23:15:52,678 2156 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 23:15:52,693 2156 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 23:15:52,693 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 23:15:52,709 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 23:15:52,709 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 23:15:52,725 2156 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 23:15:52,725 2156 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 23:15:52,741 2156 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 23:15:52,741 2156 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 23:15:52,755 2156 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 23:15:52,771 2156 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 23:15:52,771 2156 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:15:52,787 2156 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 23:15:52,787 2156 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 23:15:52,803 2156 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 23:15:52,818 2156 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 23:15:52,818 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 23:15:52,834 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 23:15:52,834 2156 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 23:15:52,849 2156 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 23:15:52,849 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:52,865 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:15:52,880 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:15:52,880 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:15:52,880 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 23:15:52,896 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 23:15:52,896 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:15:52,912 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:15:52,912 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 23:15:52,927 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:15:52,927 2156 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 23:15:52,943 2156 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 23:15:52,943 2156 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 23:15:52,958 2156 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 23:15:52,958 2156 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:15:52,974 2156 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 23:15:52,974 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 23:15:52,990 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:52,990 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:15:53,005 2156 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:15:53,005 2156 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 23:15:53,021 2156 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 23:15:53,021 2156 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 23:15:53,037 2156 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 23:15:53,037 2156 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 23:15:53,053 2156 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 23:15:53,053 2156 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 23:15:53,068 2156 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 23:15:53,068 2156 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 23:15:53,084 2156 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 23:15:53,084 2156 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:15:53,099 2156 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 23:15:53,099 2156 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 23:15:53,115 2156 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-17 23:15:53,115 2156 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-17 23:15:53,115 2156 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-17 23:15:53,130 2156 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-17 23:15:53,130 2156 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-17 23:15:53,146 2156 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-17 23:15:53,146 2156 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-17 23:15:53,162 2156 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-17 23:15:53,177 2156 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-17 23:15:53,177 2156 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-17 23:15:53,193 2156 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:15:53,193 2156 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-17 23:15:53,209 2156 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-17 23:15:53,209 2156 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-17 23:15:53,224 2156 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-17 23:15:53,239 2156 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-17 23:15:53,239 2156 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-17 23:15:53,255 2156 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-17 23:15:53,255 2156 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-17 23:15:53,271 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:53,271 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:15:53,287 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:15:53,287 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:15:53,302 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-17 23:15:53,318 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-17 23:15:53,334 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:15:53,334 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:15:53,349 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-17 23:15:53,349 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:15:53,365 2156 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-17 23:15:53,365 2156 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-17 23:15:53,380 2156 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 23:15:53,380 2156 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-17 23:15:53,396 2156 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-17 23:15:53,412 2156 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:15:53,412 2156 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-17 23:15:53,427 2156 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 23:15:53,427 2156 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-17 23:15:53,427 2156 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:15:53,443 2156 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:15:53,459 2156 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:15:53,459 2156 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-17 23:15:53,474 2156 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-17 23:15:53,490 2156 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-17 23:15:53,490 2156 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-17 23:15:53,505 2156 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-17 23:15:53,505 2156 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-17 23:15:53,521 2156 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-17 23:15:53,521 2156 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:15:53,537 2156 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-17 23:15:53,554 2156 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-17 23:15:53,569 2156 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-17 23:15:53,663 2156 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-17 23:15:53,678 2156 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.21.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-05-17 23:15:53,756 2156 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2023-05-17 23:15:53,928 2156 [DEBUG] - Running Install-ChocolateyZipPackage -url 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-386.exe.zip' -unzipLocation 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip' -checksum 'f4ff71086b7a650402a43961d5e22ea4f685036a043b69ebaa9e856c82d5d4e2' -checksum64 'c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18' -checksumType 'sha256' -packageName 'lacework-cli' -checksumType64 'sha256'
2023-05-17 23:15:54,068 2156 [DEBUG] - Running Get-ChocolateyWebFile -checksum 'f4ff71086b7a650402a43961d5e22ea4f685036a043b69ebaa9e856c82d5d4e2' -checksumType 'sha256' -checksum64 'c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'lacework-cli' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cliInstall.zip' -url 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-386.exe.zip' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip'
2023-05-17 23:15:54,240 2156 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-05-17 23:15:54,287 2156 [DEBUG] - CPU is 64 bit
2023-05-17 23:15:54,303 2156 [DEBUG] - Setting url to 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip' and bitPackage to 64
2023-05-17 23:15:54,412 2156 [DEBUG] - Running Get-WebFileName -url 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip' -defaultName 'lacework-cliInstall.zip'
2023-05-17 23:15:55,474 2156 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-05-17 23:15:55,505 2156 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2023-05-17 23:15:55,584 2156 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip' -ErrorAction 'Stop'
2023-05-17 23:15:55,599 2156 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-05-17 23:15:55,615 2156 [DEBUG] - Request Headers:
2023-05-17 23:15:55,631 2156 [DEBUG] - 'Accept':'*/*'
2023-05-17 23:15:55,647 2156 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-05-17 23:15:55,817 2156 [DEBUG] - Response Headers:
2023-05-17 23:15:55,835 2156 [DEBUG] - 'Connection':'keep-alive'
2023-05-17 23:15:55,849 2156 [DEBUG] - 'Content-MD5':'lGm73/BahmFp/snqc5+Hzw=='
2023-05-17 23:15:55,864 2156 [DEBUG] - 'x-ms-request-id':'10e7345c-a01e-0041-5815-89b9b1000000'
2023-05-17 23:15:55,881 2156 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-05-17 23:15:55,899 2156 [DEBUG] - 'x-ms-creation-time':'Wed, 17 May 2023 22:30:36 GMT'
2023-05-17 23:15:55,913 2156 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-05-17 23:15:55,928 2156 [DEBUG] - 'x-ms-lease-state':'available'
2023-05-17 23:15:55,928 2156 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-05-17 23:15:55,943 2156 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2023-05-17 23:15:55,943 2156 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-05-17 23:15:55,958 2156 [DEBUG] - 'Fastly-Restarts':'1'
2023-05-17 23:15:55,958 2156 [DEBUG] - 'Age':'0'
2023-05-17 23:15:55,974 2156 [DEBUG] - 'X-Served-By':'cache-iad-kcgs7200034-IAD, cache-mci680074-MCI'
2023-05-17 23:15:55,974 2156 [DEBUG] - 'X-Cache':'MISS, HIT'
2023-05-17 23:15:55,990 2156 [DEBUG] - 'X-Cache-Hits':'0, 0'
2023-05-17 23:15:55,990 2156 [DEBUG] - 'X-Timer':'S1684365356.764151,VS0,VE52'
2023-05-17 23:15:56,053 2156 [DEBUG] - 'Accept-Ranges':'bytes'
2023-05-17 23:15:56,069 2156 [DEBUG] - 'Content-Length':'23308796'
2023-05-17 23:15:56,069 2156 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-05-17 23:15:56,083 2156 [DEBUG] - 'Date':'Wed, 17 May 2023 23:15:55 GMT'
2023-05-17 23:15:56,083 2156 [DEBUG] - 'ETag':'"0x8DB572656308B77"'
2023-05-17 23:15:56,102 2156 [DEBUG] - 'Last-Modified':'Wed, 17 May 2023 22:30:36 GMT'
2023-05-17 23:15:56,115 2156 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-05-17 23:15:56,115 2156 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-05-17 23:15:56,147 2156 [INFO ] - Downloading lacework-cli 64 bit
from 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip'
2023-05-17 23:15:56,210 2156 [DEBUG] - Running Get-WebFile -url 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip' -options 'System.Collections.Hashtable'
2023-05-17 23:15:56,225 2156 [DEBUG] - Setting request timeout to 30000
2023-05-17 23:15:56,241 2156 [DEBUG] - Setting read/write timeout to 2700000
2023-05-17 23:15:56,255 2156 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-05-17 23:15:56,818 2156 [DEBUG] - Downloading https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip
2023-05-17 23:15:59,068 2156 [INFO ] -
2023-05-17 23:15:59,083 2156 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (22.23 MB) completed.
2023-05-17 23:16:02,146 2156 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-05-17 23:16:02,161 2156 [DEBUG] - Verifying package provided checksum of 'c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip'.
2023-05-17 23:16:02,208 2156 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip' -checksum 'c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18' -checksumType 'sha256' -originalUrl 'https://github.com/lacework/go-sdk/releases/download/v1.21.0/lacework-cli-windows-amd64.exe.zip'
2023-05-17 23:16:02,240 2156 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-05-17 23:16:02,240 2156 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip"]
2023-05-17 23:16:02,958 2156 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="c1cb7b0e288e6916f06f0bdbd42554f174635aebd75750181e13356e41b8fe18" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2023-05-17 23:16:03,036 2156 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip' -destination 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -specificFolder '' -packageName 'lacework-cli'
2023-05-17 23:16:03,052 2156 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-05-17 23:16:03,083 2156 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip to C:\ProgramData\chocolatey\lib\lacework-cli\tools...
2023-05-17 23:16:03,099 2156 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-05-17 23:16:03,146 2156 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\lacework-cli\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip"]
2023-05-17 23:16:04,271 2156 [INFO ] - VERBOSE:
2023-05-17 23:16:04,286 2156 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-05-17 23:16:04,303 2156 [INFO ] - VERBOSE:
2023-05-17 23:16:04,318 2156 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-05-17 23:16:04,318 2156 [INFO ] - VERBOSE: 1 file, 23308796 bytes (23 MiB)
2023-05-17 23:16:04,333 2156 [INFO ] - VERBOSE:
2023-05-17 23:16:04,349 2156 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip
2023-05-17 23:16:04,349 2156 [INFO ] - VERBOSE: --
2023-05-17 23:16:04,364 2156 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip
2023-05-17 23:16:04,364 2156 [INFO ] - VERBOSE: Type = zip
2023-05-17 23:16:04,380 2156 [INFO ] - VERBOSE: Physical Size = 23308796
2023-05-17 23:16:04,396 2156 [INFO ] - VERBOSE:
2023-05-17 23:16:04,396 2156 [INFO ] - VERBOSE: - bin\lacework.exe
2023-05-17 23:16:04,427 2156 [INFO ] - VERBOSE: Everything is Ok
2023-05-17 23:16:04,443 2156 [INFO ] - VERBOSE:
2023-05-17 23:16:04,443 2156 [INFO ] - VERBOSE: Size: 55055984
2023-05-17 23:16:04,458 2156 [INFO ] - VERBOSE: Compressed: 23308796
2023-05-17 23:16:04,521 2156 [DEBUG] - $exitCode was passed null
2023-05-17 23:16:04,521 2156 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\lacework-cli\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.21.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2023-05-17 23:16:04,583 2156 [DEBUG] - 7z exit code: 0
2023-05-17 23:16:04,599 2156 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2023-05-17 23:16:04,630 2156 [DEBUG] - ----------------------------------------------------------------------
2023-05-17 23:16:04,645 2156 [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\lacework-cli\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-05-17 23:16:04,661 2156 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-05-17 23:16:04,786 2156 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-05-17 23:16:04,974 2156 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2023-05-17 23:16:04,974 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2023-05-17 23:16:04,990 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'AAF9EC0B567BFFB0A0C08C5A1638A02F'
2023-05-17 23:16:04,990 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '58EB90F59B0D83EE0A3CDCB21C645762'
2023-05-17 23:16:05,005 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '926D9D7FAAFED4717245F4CA79828E8F'
2023-05-17 23:16:05,005 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum '8F4A25E065DCB4F56B305C2BBF09C751'
2023-05-17 23:16:05,224 2156 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '2A590D9881B279D50124C707C8999F4F'
2023-05-17 23:16:05,271 2156 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\lacework-cli\tools\bin\lacework.exe" --output="C:\ProgramData\chocolatey\bin\lacework.exe" --iconpath="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe"']
2023-05-17 23:16:06,458 2156 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-05-17 23:16:06,458 2156 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-05-17 23:16:06,818 2156 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-05-17 23:16:06,818 2156 [DEBUG] - [ShimGen] for C# 5
2023-05-17 23:16:06,833 2156 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-05-17 23:16:06,833 2156 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2023-05-17 23:16:06,849 2156 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2023-05-17 23:16:06,911 2156 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\lacework-cli\tools\bin\lacework.exe" --output="C:\ProgramData\chocolatey\bin\lacework.exe" --iconpath="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe"'] exited with '0'
2023-05-17 23:16:06,927 2156 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2023-05-17 23:16:06,927 2156 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2023-05-17 23:16:06,989 2156 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0".
2023-05-17 23:16:07,037 2156 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0\.files'
2023-05-17 23:16:07,052 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0\.extra".
2023-05-17 23:16:07,068 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0\.version".
2023-05-17 23:16:07,068 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0\.sxs".
2023-05-17 23:16:07,083 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.21.0\.pin".
2023-05-17 23:16:07,099 2156 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-05-17 23:16:07,099 2156 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2023-05-17 23:16:07,114 2156 [INFO ] - The install of lacework-cli was successful.
2023-05-17 23:16:07,130 2156 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2023-05-17 23:16:07,130 2156 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\lacework-cli.1.21.0.nupkg".
2023-05-17 23:16:07,177 2156 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-05-17 23:16:07,192 2156 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-17 23:16:07,224 2156 [DEBUG] - Exiting with 0
2023-05-17 23:16:20,442 3412 [DEBUG] - XmlConfiguration is now operational
2023-05-17 23:16:20,598 3412 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:16:20,598 3412 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:16:20,598 3412 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:16:20,614 3412 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:16:20,614 3412 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-17 23:16:20,614 3412 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-17 23:16:20,896 3412 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-17 23:16:20,910 3412 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-17 23:16:20,910 3412 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-17 23:16:20,910 3412 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-17 23:16:20,910 3412 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-17 23:16:20,926 3412 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-17 23:16:20,926 3412 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-17 23:16:20,926 3412 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-17 23:16:20,926 3412 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-17 23:16:20,942 3412 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-17 23:16:20,942 3412 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-17 23:16:20,942 3412 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-17 23:16:20,958 3412 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-17 23:16:20,958 3412 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-17 23:16:20,958 3412 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-17 23:16:20,973 3412 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-17 23:16:20,973 3412 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-17 23:16:20,973 3412 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-17 23:16:21,302 3412 [INFO ] - ============================================================
2023-05-17 23:16:21,677 3412 [INFO ] - Chocolatey v1.3.0
2023-05-17 23:16:21,708 3412 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-05-17 23:16:21,708 3412 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-17 23:16:21,724 3412 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-17 23:16:21,739 3412 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.21.0 -dvy --execution-timeout=2700
2023-05-17 23:16:21,755 3412 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.21.0 -dvy --execution-timeout=2700
2023-05-17 23:16:21,926 3412 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-17 23:16:21,959 3412 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-17 23:16:21,990 3412 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-17 23:16:22,146 3412 [DEBUG] - Performing validation checks.
2023-05-17 23:16:22,161 3412 [DEBUG] - Global Configuration Validation Checks:
2023-05-17 23:16:22,177 3412 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-05-17 23:16:22,193 3412 [DEBUG] - System State Validation Checks:
2023-05-17 23:16:22,208 3412 [DEBUG] - Reboot Requirement Checks:
2023-05-17 23:16:22,208 3412 [DEBUG] - - Pending Computer Rename = Checked
2023-05-17 23:16:22,224 3412 [DEBUG] - - Pending Component Based Servicing = Checked
2023-05-17 23:16:22,239 3412 [DEBUG] - - Pending Windows Auto Update = Checked
2023-05-17 23:16:22,239 3412 [DEBUG] - - Pending File Rename Operations = Ignored
2023-05-17 23:16:22,254 3412 [DEBUG] - - Pending Windows Package Installer = Checked
2023-05-17 23:16:22,254 3412 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-05-17 23:16:22,271 3412 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-17 23:16:22,333 3412 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-05-17 23:16:22,333 3412 [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-05-17 23:16:22,380 3412 [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='lacework-cli'|
Version='1.21.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='lacework-cli'|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-AMBA6809VBM'|
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-05-17 23:16:22,411 3412 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-05-17 23:16:22,427 3412 [INFO ] - Uninstalling the following packages:
2023-05-17 23:16:22,442 3412 [INFO ] - lacework-cli
2023-05-17 23:16:22,459 3412 [DEBUG] - Current environment values (may contain sensitive data):
2023-05-17 23:16:22,459 3412 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-05-17 23:16:22,474 3412 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-17 23:16:22,474 3412 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-05-17 23:16:22,489 3412 [DEBUG] - * 'ChocolateyLastPathUpdate'='133288001022326891' ('User')
2023-05-17 23:16:22,489 3412 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-05-17 23:16:22,504 3412 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-05-17 23:16:22,504 3412 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-05-17 23:16:22,520 3412 [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-05-17 23:16:22,520 3412 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-05-17 23:16:22,536 3412 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-05-17 23:16:22,536 3412 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-05-17 23:16:22,551 3412 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-05-17 23:16:22,551 3412 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-05-17 23:16:22,568 3412 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-05-17 23:16:22,568 3412 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-05-17 23:16:22,583 3412 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-05-17 23:16:22,583 3412 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-05-17 23:16:22,583 3412 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-05-17 23:16:22,599 3412 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-05-17 23:16:22,599 3412 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-05-17 23:16:22,755 3412 [DEBUG] - Running list with the following filter = ''
2023-05-17 23:16:22,755 3412 [DEBUG] - --- Start of List ---
2023-05-17 23:16:23,130 3412 [DEBUG] - lacework-cli 1.21.0
2023-05-17 23:16:23,145 3412 [DEBUG] - --- End of List ---
2023-05-17 23:16:23,427 3412 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-05-17 23:16:23,443 3412 [DEBUG] - Backing up existing lacework-cli prior to operation.
2023-05-17 23:16:23,459 3412 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli'
2023-05-17 23:16:25,489 3412 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2023-05-17 23:16:25,489 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt".
2023-05-17 23:16:25,505 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\lacework-cli.nupkg"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg".
2023-05-17 23:16:25,520 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\lacework-cli.nuspec"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec".
2023-05-17 23:16:25,520 3412 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2023-05-17 23:16:25,536 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1".
2023-05-17 23:16:25,536 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1".
2023-05-17 23:16:25,552 3412 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2023-05-17 23:16:25,552 3412 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\tools\bin\lacework.exe"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe".
2023-05-17 23:16:27,176 3412 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2023-05-17 23:16:27,192 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2023-05-17 23:16:27,207 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'AAF9EC0B567BFFB0A0C08C5A1638A02F'
2023-05-17 23:16:27,207 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '58EB90F59B0D83EE0A3CDCB21C645762'
2023-05-17 23:16:27,223 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '926D9D7FAAFED4717245F4CA79828E8F'
2023-05-17 23:16:27,223 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum '8F4A25E065DCB4F56B305C2BBF09C751'
2023-05-17 23:16:27,443 3412 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '2A590D9881B279D50124C707C8999F4F'
2023-05-17 23:16:27,959 3412 [INFO ] - [NuGet] Uninstalling 'lacework-cli 1.21.0'.
2023-05-17 23:16:27,973 3412 [INFO ] -
lacework-cli v1.21.0
2023-05-17 23:16:28,036 3412 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2023-05-17 23:16:28,036 3412 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2023-05-17 23:16:28,068 3412 [DEBUG] - Setting installer args for lacework-cli
2023-05-17 23:16:28,083 3412 [DEBUG] - Setting package parameters for lacework-cli
2023-05-17 23:16:28,083 3412 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2023-05-17 23:16:28,099 3412 [DEBUG] - <#
.SYNOPSIS
Uninstalls the Lacework CLI.
Authors: Technology Alliances <tech-ally@lacework.net>
.DESCRIPTION
This script removes any env vars created by Lacework CLI installation.
#>
$ErrorActionPreference = 'stop';
Uninstall-ChocolateyPackage -PackageName lacework-cli
[Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", $null, "Machine")
2023-05-17 23:16:28,161 3412 [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\lacework-cli\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-05-17 23:16:28,177 3412 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-05-17 23:16:28,864 3412 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-05-17 23:16:29,349 3412 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 23:16:29,363 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 23:16:29,363 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 23:16:29,379 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 23:16:29,379 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 23:16:29,395 3412 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 23:16:29,410 3412 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 23:16:29,410 3412 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 23:16:29,426 3412 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 23:16:29,426 3412 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 23:16:29,442 3412 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:16:29,442 3412 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 23:16:29,458 3412 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 23:16:29,458 3412 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 23:16:29,474 3412 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 23:16:29,489 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 23:16:29,489 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 23:16:29,505 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 23:16:29,523 3412 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 23:16:29,523 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:29,536 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:16:29,536 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:16:29,551 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:16:29,551 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 23:16:29,567 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 23:16:29,567 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:16:29,583 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:16:29,583 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 23:16:29,598 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:16:29,598 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 23:16:29,598 3412 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 23:16:29,614 3412 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 23:16:29,629 3412 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 23:16:29,631 3412 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:16:29,631 3412 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 23:16:29,645 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 23:16:29,661 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:29,677 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:16:29,677 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:16:29,692 3412 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 23:16:29,692 3412 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 23:16:29,707 3412 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 23:16:29,707 3412 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 23:16:29,724 3412 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 23:16:29,724 3412 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 23:16:29,739 3412 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 23:16:29,739 3412 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 23:16:29,755 3412 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:16:29,755 3412 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 23:16:29,770 3412 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 23:16:29,804 3412 [DEBUG] - Loading community extensions
2023-05-17 23:16:29,848 3412 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-05-17 23:16:29,848 3412 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-05-17 23:16:29,958 3412 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 23:16:29,974 3412 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 23:16:29,974 3412 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 23:16:29,989 3412 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 23:16:29,989 3412 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-05-17 23:16:30,004 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-05-17 23:16:30,020 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-05-17 23:16:30,020 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-05-17 23:16:30,035 3412 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-05-17 23:16:30,067 3412 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-05-17 23:16:30,083 3412 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-05-17 23:16:30,083 3412 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-05-17 23:16:30,098 3412 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-05-17 23:16:30,114 3412 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-05-17 23:16:30,114 3412 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:16:30,129 3412 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-05-17 23:16:30,129 3412 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-05-17 23:16:30,129 3412 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-05-17 23:16:30,145 3412 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-05-17 23:16:30,145 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-05-17 23:16:30,161 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-05-17 23:16:30,161 3412 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-05-17 23:16:30,176 3412 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-05-17 23:16:30,176 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:30,192 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:16:30,192 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:16:30,208 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:16:30,208 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-05-17 23:16:30,223 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-05-17 23:16:30,223 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:16:30,239 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:16:30,239 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-05-17 23:16:30,255 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:16:30,270 3412 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-05-17 23:16:30,270 3412 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-05-17 23:16:30,303 3412 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-05-17 23:16:30,303 3412 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-05-17 23:16:30,316 3412 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:16:30,316 3412 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-05-17 23:16:30,332 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-05-17 23:16:30,332 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:30,348 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:16:30,348 3412 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:16:30,364 3412 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-05-17 23:16:30,364 3412 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-05-17 23:16:30,380 3412 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-05-17 23:16:30,380 3412 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-05-17 23:16:30,395 3412 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-05-17 23:16:30,395 3412 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-05-17 23:16:30,410 3412 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-05-17 23:16:30,410 3412 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-05-17 23:16:30,410 3412 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-05-17 23:16:30,426 3412 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-05-17 23:16:30,442 3412 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:16:30,442 3412 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-05-17 23:16:30,442 3412 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-05-17 23:16:30,457 3412 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-05-17 23:16:30,473 3412 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-05-17 23:16:30,473 3412 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-05-17 23:16:30,488 3412 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-05-17 23:16:30,488 3412 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-05-17 23:16:30,488 3412 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-05-17 23:16:30,504 3412 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-05-17 23:16:30,504 3412 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-05-17 23:16:30,520 3412 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-05-17 23:16:30,520 3412 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-05-17 23:16:30,535 3412 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-05-17 23:16:30,535 3412 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-05-17 23:16:30,552 3412 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-05-17 23:16:30,552 3412 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-05-17 23:16:30,568 3412 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-05-17 23:16:30,583 3412 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-05-17 23:16:30,583 3412 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-05-17 23:16:30,598 3412 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-05-17 23:16:30,598 3412 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-05-17 23:16:30,614 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:30,614 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-05-17 23:16:30,614 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-05-17 23:16:30,630 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-05-17 23:16:30,630 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-05-17 23:16:30,646 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-05-17 23:16:30,646 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-05-17 23:16:30,660 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-05-17 23:16:30,676 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-05-17 23:16:30,676 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-05-17 23:16:30,692 3412 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-05-17 23:16:30,692 3412 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-05-17 23:16:30,707 3412 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-05-17 23:16:30,707 3412 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-05-17 23:16:30,723 3412 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-05-17 23:16:30,723 3412 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-05-17 23:16:30,739 3412 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-05-17 23:16:30,739 3412 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-05-17 23:16:30,754 3412 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-05-17 23:16:30,754 3412 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-05-17 23:16:30,770 3412 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-05-17 23:16:30,770 3412 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-05-17 23:16:30,786 3412 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-05-17 23:16:30,786 3412 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-05-17 23:16:30,801 3412 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-05-17 23:16:30,801 3412 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-05-17 23:16:30,817 3412 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-05-17 23:16:30,817 3412 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-05-17 23:16:30,832 3412 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-05-17 23:16:30,832 3412 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-05-17 23:16:30,848 3412 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-05-17 23:16:30,848 3412 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-05-17 23:16:30,864 3412 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-05-17 23:16:30,958 3412 [DEBUG] - ---------------------------Script Execution---------------------------
2023-05-17 23:16:30,989 3412 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.21.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-05-17 23:16:31,051 3412 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2023-05-17 23:16:31,146 3412 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2023-05-17 23:16:31,176 3412 [INFO ] - Uninstalling lacework-cli...
2023-05-17 23:16:31,317 3412 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2023-05-17 23:16:31,411 3412 [DEBUG] - Test-ProcessAdminRights: returning True
2023-05-17 23:16:31,474 3412 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2023-05-17 23:16:31,505 3412 [ERROR] - ERROR: Exception calling "GetFullPath" with "1" argument(s): "The path is not of a legal form."
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 197
at Uninstall-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Uninstall-ChocolateyPackage.ps1: line 152
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1: line 13
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 59
at <ScriptBlock>, <No file>: line 1
2023-05-17 23:16:31,537 3412 [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\lacework-cli\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2023-05-17 23:16:31,551 3412 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-05-17 23:16:31,678 3412 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-05-17 23:16:31,692 3412 [ERROR] - lacework-cli uninstall not successful.
2023-05-17 23:16:31,708 3412 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2023-05-17 23:16:31,708 3412 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2023-05-17 23:16:31,755 3412 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-05-17 23:16:31,755 3412 [INFO ] -
2023-05-17 23:16:31,770 3412 [ERROR] - Failures
2023-05-17 23:16:31,770 3412 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2023-05-17 23:16:31,786 3412 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `--skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
2023-05-17 23:16:31,801 3412 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-17 23:16:31,880 3412 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment