Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 26, 2023 11:29
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/41b868a571ef91271200276c9bc16b0e to your computer and use it in GitHub Desktop.
Save choco-bot/41b868a571ef91271200276c9bc16b0e to your computer and use it in GitHub Desktop.
lacework-cli v1.24.0 - Passed - Package Tests Results

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

  • https://community.chocolatey.org/packages/lacework-cli/1.24.0
  • Tested 26 Jun 2023 11:29:30 +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="59E97D4822816A583F4495789336E93C" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec" checksum="4B7FE54345F8EE6C743A281D68F37A42" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1" checksum="43B9F49F894CF0C06979EBD56B4CF760" />
<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="FBCA1908EFD75FFCFAD2C556CBB5430C" />
</files>
</fileSnapshot>
2023-06-26 11:28:43,057 1676 [DEBUG] - XmlConfiguration is now operational
2023-06-26 11:28:43,213 1676 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:28:43,213 1676 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:28:43,213 1676 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:28:43,213 1676 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:28:43,229 1676 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:28:43,229 1676 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-26 11:28:43,511 1676 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-26 11:28:43,526 1676 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-26 11:28:43,526 1676 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-26 11:28:43,526 1676 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-26 11:28:43,541 1676 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-26 11:28:43,541 1676 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-26 11:28:43,541 1676 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-26 11:28:43,557 1676 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-26 11:28:43,557 1676 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-26 11:28:43,557 1676 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-26 11:28:43,557 1676 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-26 11:28:43,572 1676 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-26 11:28:43,572 1676 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-26 11:28:43,572 1676 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-26 11:28:43,572 1676 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-26 11:28:43,588 1676 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-26 11:28:43,588 1676 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-26 11:28:43,588 1676 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-26 11:28:43,869 1676 [INFO ] - ============================================================
2023-06-26 11:28:44,260 1676 [INFO ] - Chocolatey v1.3.0
2023-06-26 11:28:44,292 1676 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-26 11:28:44,308 1676 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-26 11:28:44,308 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-26 11:28:44,338 1676 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.24.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-26 11:28:44,354 1676 [DEBUG] - Received arguments: install lacework-cli --version 1.24.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-26 11:28:44,526 1676 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-26 11:28:44,558 1676 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-26 11:28:44,589 1676 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-26 11:28:44,729 1676 [DEBUG] - Performing validation checks.
2023-06-26 11:28:44,744 1676 [DEBUG] - Global Configuration Validation Checks:
2023-06-26 11:28:44,761 1676 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-26 11:28:44,776 1676 [DEBUG] - System State Validation Checks:
2023-06-26 11:28:44,776 1676 [DEBUG] - Reboot Requirement Checks:
2023-06-26 11:28:44,792 1676 [DEBUG] - - Pending Computer Rename = Checked
2023-06-26 11:28:44,807 1676 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-26 11:28:44,807 1676 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-26 11:28:44,823 1676 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-26 11:28:44,838 1676 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-26 11:28:44,838 1676 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-26 11:28:44,855 1676 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-26 11:28:44,933 1676 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-26 11:28:44,933 1676 [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-06-26 11:28:44,978 1676 [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.24.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-JV9MJ4IE0P8'|
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-06-26 11:28:45,010 1676 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-26 11:28:45,026 1676 [INFO ] - Installing the following packages:
2023-06-26 11:28:45,041 1676 [INFO ] - lacework-cli
2023-06-26 11:28:45,057 1676 [INFO ] - By installing, you accept licenses for the packages.
2023-06-26 11:28:45,073 1676 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-26 11:28:45,073 1676 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-26 11:28:45,088 1676 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-26 11:28:45,088 1676 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-26 11:28:45,104 1676 [DEBUG] - * 'ChocolateyLastPathUpdate'='133321685053103346' ('User')
2023-06-26 11:28:45,104 1676 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-26 11:28:45,119 1676 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-26 11:28:45,119 1676 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-26 11:28:45,136 1676 [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-06-26 11:28:45,136 1676 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-26 11:28:45,151 1676 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-26 11:28:45,151 1676 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-26 11:28:45,166 1676 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-26 11:28:45,166 1676 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-26 11:28:45,182 1676 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-26 11:28:45,182 1676 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-26 11:28:45,182 1676 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-26 11:28:45,198 1676 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-26 11:28:45,214 1676 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-26 11:28:45,214 1676 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-26 11:28:45,228 1676 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-26 11:28:47,479 1676 [INFO ] - [NuGet] Installing 'lacework-cli 1.24.0'.
2023-06-26 11:28:47,510 1676 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'lacework-cli\tools'.
2023-06-26 11:28:47,541 1676 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'lacework-cli\tools'.
2023-06-26 11:28:47,557 1676 [DEBUG] - [NuGet] Added file 'lacework-cli.nupkg' to folder 'lacework-cli'.
2023-06-26 11:28:47,917 1676 [DEBUG] - [NuGet] Added file 'lacework-cli.nuspec' to folder 'lacework-cli'.
2023-06-26 11:28:47,933 1676 [INFO ] - [NuGet] Successfully installed 'lacework-cli 1.24.0'.
2023-06-26 11:28:47,947 1676 [INFO ] -
lacework-cli v1.24.0 (forced)
2023-06-26 11:28:47,995 1676 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2023-06-26 11:28:48,073 1676 [DEBUG] - Setting installer args for lacework-cli
2023-06-26 11:28:48,073 1676 [DEBUG] - Setting package parameters for lacework-cli
2023-06-26 11:28:48,089 1676 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2023-06-26 11:28:48,103 1676 [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.24.0
$packageName = 'lacework-cli'
$toolsDir = "$( Split-Path -parent $MyInvocation.MyCommand.Definition )"
$url = "https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-386.exe.zip"
$url64 = "https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'zip'
url = $url
url64bit = $url64
softwareName = 'Lacework*'
checksum = 'd1c675cf86bc4c0f6f3365ab143b70ce65ef7c24168894ad10fb0333022e85c8'
checksumType = 'sha256'
checksum64 = '9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b'
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-06-26 11:28:48,167 1676 [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-06-26 11:28:48,182 1676 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-26 11:28:49,322 1676 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-26 11:28:49,853 1676 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-26 11:28:49,869 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-26 11:28:49,869 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-26 11:28:49,884 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-26 11:28:49,884 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-26 11:28:49,900 1676 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-26 11:28:49,900 1676 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-26 11:28:49,917 1676 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-26 11:28:49,917 1676 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-26 11:28:49,932 1676 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-26 11:28:49,948 1676 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:28:49,948 1676 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-26 11:28:49,963 1676 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-26 11:28:49,963 1676 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-26 11:28:49,978 1676 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-26 11:28:49,978 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-26 11:28:49,994 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-26 11:28:49,994 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-26 11:28:50,009 1676 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-26 11:28:50,009 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:50,025 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:28:50,041 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:28:50,041 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:28:50,056 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-26 11:28:50,056 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-26 11:28:50,072 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:28:50,072 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:28:50,072 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-26 11:28:50,088 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:28:50,103 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-26 11:28:50,103 1676 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-26 11:28:50,118 1676 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-26 11:28:50,118 1676 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-26 11:28:50,134 1676 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:28:50,134 1676 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-26 11:28:50,150 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-26 11:28:50,150 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:50,150 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:28:50,165 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:28:50,165 1676 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-26 11:28:50,181 1676 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-26 11:28:50,197 1676 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-26 11:28:50,197 1676 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-26 11:28:50,212 1676 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-26 11:28:50,212 1676 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-26 11:28:50,228 1676 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-26 11:28:50,228 1676 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-26 11:28:50,244 1676 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:28:50,259 1676 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-26 11:28:50,259 1676 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-26 11:28:50,292 1676 [DEBUG] - Loading community extensions
2023-06-26 11:28:50,338 1676 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-26 11:28:50,353 1676 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-26 11:28:50,464 1676 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-26 11:28:50,479 1676 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-26 11:28:50,479 1676 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-26 11:28:50,494 1676 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-26 11:28:50,509 1676 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-26 11:28:50,509 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-26 11:28:50,525 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-26 11:28:50,525 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-26 11:28:50,540 1676 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-26 11:28:50,540 1676 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-26 11:28:50,556 1676 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-26 11:28:50,556 1676 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-26 11:28:50,572 1676 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-26 11:28:50,572 1676 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-26 11:28:50,587 1676 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:28:50,587 1676 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-26 11:28:50,603 1676 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-26 11:28:50,603 1676 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-26 11:28:50,619 1676 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-26 11:28:50,619 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-26 11:28:50,635 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-26 11:28:50,635 1676 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-26 11:28:50,650 1676 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-26 11:28:50,650 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:50,666 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:28:50,666 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:28:50,681 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:28:50,681 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-26 11:28:50,697 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-26 11:28:50,697 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:28:50,712 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:28:50,712 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-26 11:28:50,728 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:28:50,728 1676 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-26 11:28:50,744 1676 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-26 11:28:50,744 1676 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-26 11:28:50,759 1676 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-26 11:28:50,775 1676 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:28:50,775 1676 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-26 11:28:50,775 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-26 11:28:50,791 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:50,807 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:28:50,807 1676 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:28:50,822 1676 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-26 11:28:50,822 1676 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-26 11:28:50,837 1676 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-26 11:28:50,837 1676 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-26 11:28:50,853 1676 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-26 11:28:50,853 1676 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-26 11:28:50,869 1676 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-26 11:28:50,869 1676 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-26 11:28:50,885 1676 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-26 11:28:50,885 1676 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-26 11:28:50,900 1676 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:28:50,900 1676 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-26 11:28:50,916 1676 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-26 11:28:50,916 1676 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-26 11:28:50,931 1676 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-26 11:28:50,947 1676 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-26 11:28:50,947 1676 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-26 11:28:50,962 1676 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-26 11:28:50,962 1676 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-26 11:28:50,962 1676 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-26 11:28:50,978 1676 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-26 11:28:50,993 1676 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-26 11:28:50,993 1676 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-26 11:28:51,009 1676 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:28:51,009 1676 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-26 11:28:51,026 1676 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-26 11:28:51,057 1676 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-26 11:28:51,057 1676 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-26 11:28:51,072 1676 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-26 11:28:51,072 1676 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-26 11:28:51,087 1676 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-26 11:28:51,087 1676 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-26 11:28:51,103 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:51,119 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:28:51,119 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:28:51,135 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:28:51,150 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-26 11:28:51,150 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-26 11:28:51,166 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:28:51,166 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:28:51,181 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-26 11:28:51,181 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:28:51,181 1676 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-26 11:28:51,197 1676 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-26 11:28:51,197 1676 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-26 11:28:51,212 1676 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-26 11:28:51,212 1676 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-26 11:28:51,228 1676 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:28:51,244 1676 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-26 11:28:51,244 1676 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-26 11:28:51,259 1676 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-26 11:28:51,259 1676 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:28:51,259 1676 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:28:51,275 1676 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:28:51,275 1676 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-26 11:28:51,290 1676 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-26 11:28:51,307 1676 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-26 11:28:51,322 1676 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-26 11:28:51,322 1676 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-26 11:28:51,337 1676 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-26 11:28:51,337 1676 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-26 11:28:51,353 1676 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:28:51,353 1676 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-26 11:28:51,369 1676 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-26 11:28:51,369 1676 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-26 11:28:51,479 1676 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-26 11:28:51,494 1676 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.24.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-26 11:28:51,557 1676 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2023-06-26 11:28:51,759 1676 [DEBUG] - Running Install-ChocolateyZipPackage -url 'https://github.com/lacework/go-sdk/releases/download/v1.24.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.24.0/lacework-cli-windows-amd64.exe.zip' -checksum 'd1c675cf86bc4c0f6f3365ab143b70ce65ef7c24168894ad10fb0333022e85c8' -checksum64 '9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b' -checksumType 'sha256' -packageName 'lacework-cli' -checksumType64 'sha256'
2023-06-26 11:28:51,933 1676 [DEBUG] - Running Get-ChocolateyWebFile -checksum 'd1c675cf86bc4c0f6f3365ab143b70ce65ef7c24168894ad10fb0333022e85c8' -checksumType 'sha256' -checksum64 '9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'lacework-cli' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cliInstall.zip' -url 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-386.exe.zip' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip'
2023-06-26 11:28:52,088 1676 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-06-26 11:28:52,119 1676 [DEBUG] - CPU is 64 bit
2023-06-26 11:28:52,151 1676 [DEBUG] - Setting url to 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip' and bitPackage to 64
2023-06-26 11:28:52,259 1676 [DEBUG] - Running Get-WebFileName -url 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip' -defaultName 'lacework-cliInstall.zip'
2023-06-26 11:28:53,182 1676 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2023-06-26 11:28:53,306 1676 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2023-06-26 11:28:53,369 1676 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip' -ErrorAction 'Stop'
2023-06-26 11:28:53,385 1676 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-26 11:28:53,385 1676 [DEBUG] - Request Headers:
2023-06-26 11:28:53,416 1676 [DEBUG] - 'Accept':'*/*'
2023-06-26 11:28:53,416 1676 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-06-26 11:28:53,712 1676 [DEBUG] - Response Headers:
2023-06-26 11:28:53,728 1676 [DEBUG] - 'Connection':'keep-alive'
2023-06-26 11:28:53,744 1676 [DEBUG] - 'Content-MD5':'2hMm3vJd/ASVyaaJxAinpg=='
2023-06-26 11:28:53,744 1676 [DEBUG] - 'x-ms-request-id':'e052d31d-101e-0026-0e21-a8a94d000000'
2023-06-26 11:28:53,759 1676 [DEBUG] - 'x-ms-version':'2020-04-08'
2023-06-26 11:28:53,775 1676 [DEBUG] - 'x-ms-creation-time':'Mon, 26 Jun 2023 10:40:35 GMT'
2023-06-26 11:28:53,775 1676 [DEBUG] - 'x-ms-lease-status':'unlocked'
2023-06-26 11:28:53,791 1676 [DEBUG] - 'x-ms-lease-state':'available'
2023-06-26 11:28:53,791 1676 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2023-06-26 11:28:53,806 1676 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2023-06-26 11:28:53,806 1676 [DEBUG] - 'x-ms-server-encrypted':'true'
2023-06-26 11:28:53,822 1676 [DEBUG] - 'Fastly-Restarts':'1'
2023-06-26 11:28:53,822 1676 [DEBUG] - 'Age':'1'
2023-06-26 11:28:53,837 1676 [DEBUG] - 'X-Served-By':'cache-iad-kcgs7200142-IAD, cache-mci680024-MCI'
2023-06-26 11:28:53,837 1676 [DEBUG] - 'X-Cache':'MISS, HIT'
2023-06-26 11:28:53,853 1676 [DEBUG] - 'X-Cache-Hits':'0, 0'
2023-06-26 11:28:53,853 1676 [DEBUG] - 'X-Timer':'S1687778934.659994,VS0,VE51'
2023-06-26 11:28:53,916 1676 [DEBUG] - 'Accept-Ranges':'bytes'
2023-06-26 11:28:53,916 1676 [DEBUG] - 'Content-Length':'23311136'
2023-06-26 11:28:53,932 1676 [DEBUG] - 'Content-Type':'application/octet-stream'
2023-06-26 11:28:53,946 1676 [DEBUG] - 'Date':'Mon, 26 Jun 2023 11:28:53 GMT'
2023-06-26 11:28:53,946 1676 [DEBUG] - 'ETag':'"0x8DB7631C6443EFF"'
2023-06-26 11:28:53,962 1676 [DEBUG] - 'Last-Modified':'Mon, 26 Jun 2023 10:40:35 GMT'
2023-06-26 11:28:53,962 1676 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2023-06-26 11:28:53,978 1676 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2023-06-26 11:28:54,024 1676 [INFO ] - Downloading lacework-cli 64 bit
from 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip'
2023-06-26 11:28:54,087 1676 [DEBUG] - Running Get-WebFile -url 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip' -options 'System.Collections.Hashtable'
2023-06-26 11:28:54,104 1676 [DEBUG] - Setting request timeout to 30000
2023-06-26 11:28:54,104 1676 [DEBUG] - Setting read/write timeout to 2700000
2023-06-26 11:28:54,104 1676 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-06-26 11:28:54,916 1676 [DEBUG] - Downloading https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip
2023-06-26 11:28:57,618 1676 [INFO ] -
2023-06-26 11:28:57,665 1676 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (22.23 MB) completed.
2023-06-26 11:29:00,884 1676 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-06-26 11:29:00,900 1676 [DEBUG] - Verifying package provided checksum of '9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip'.
2023-06-26 11:29:00,947 1676 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip' -checksum '9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b' -checksumType 'sha256' -originalUrl 'https://github.com/lacework/go-sdk/releases/download/v1.24.0/lacework-cli-windows-amd64.exe.zip'
2023-06-26 11:29:00,978 1676 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-06-26 11:29:00,978 1676 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip"]
2023-06-26 11:29:01,385 1676 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="9feeb5c414db4fca880cea6065b6229916eff584421694c810099f2ce114af5b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2023-06-26 11:29:01,480 1676 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip' -destination 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -specificFolder '' -packageName 'lacework-cli'
2023-06-26 11:29:01,493 1676 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-26 11:29:01,525 1676 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip to C:\ProgramData\chocolatey\lib\lacework-cli\tools...
2023-06-26 11:29:01,540 1676 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-06-26 11:29:01,602 1676 [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.24.0\lacework-cli-windows-amd64.exe.zip"]
2023-06-26 11:29:02,509 1676 [INFO ] - VERBOSE:
2023-06-26 11:29:02,524 1676 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-06-26 11:29:02,540 1676 [INFO ] - VERBOSE:
2023-06-26 11:29:02,540 1676 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-06-26 11:29:02,555 1676 [INFO ] - VERBOSE: 1 file, 23311136 bytes (23 MiB)
2023-06-26 11:29:02,571 1676 [INFO ] - VERBOSE:
2023-06-26 11:29:02,571 1676 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip
2023-06-26 11:29:02,587 1676 [INFO ] - VERBOSE: --
2023-06-26 11:29:02,587 1676 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.24.0\lacework-cli-windows-amd64.exe.zip
2023-06-26 11:29:02,603 1676 [INFO ] - VERBOSE: Type = zip
2023-06-26 11:29:02,618 1676 [INFO ] - VERBOSE: Physical Size = 23311136
2023-06-26 11:29:02,618 1676 [INFO ] - VERBOSE:
2023-06-26 11:29:02,634 1676 [INFO ] - VERBOSE: - bin\lacework.exe
2023-06-26 11:29:02,665 1676 [INFO ] - VERBOSE: Everything is Ok
2023-06-26 11:29:02,665 1676 [INFO ] - VERBOSE:
2023-06-26 11:29:02,681 1676 [INFO ] - VERBOSE: Size: 55079784
2023-06-26 11:29:02,681 1676 [INFO ] - VERBOSE: Compressed: 23311136
2023-06-26 11:29:02,744 1676 [DEBUG] - $exitCode was passed null
2023-06-26 11:29:02,759 1676 [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.24.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2023-06-26 11:29:02,805 1676 [DEBUG] - 7z exit code: 0
2023-06-26 11:29:02,838 1676 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2023-06-26 11:29:02,852 1676 [DEBUG] - ----------------------------------------------------------------------
2023-06-26 11:29:02,884 1676 [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-06-26 11:29:02,899 1676 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-26 11:29:03,009 1676 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-26 11:29:03,650 1676 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2023-06-26 11:29:03,650 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2023-06-26 11:29:03,665 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '59E97D4822816A583F4495789336E93C'
2023-06-26 11:29:03,665 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '4B7FE54345F8EE6C743A281D68F37A42'
2023-06-26 11:29:03,680 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '43B9F49F894CF0C06979EBD56B4CF760'
2023-06-26 11:29:03,680 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum '8F4A25E065DCB4F56B305C2BBF09C751'
2023-06-26 11:29:03,901 1676 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'FBCA1908EFD75FFCFAD2C556CBB5430C'
2023-06-26 11:29:03,946 1676 [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-06-26 11:29:05,056 1676 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2023-06-26 11:29:05,056 1676 [DEBUG] - [ShimGen] Selected Icon is invalid
2023-06-26 11:29:05,401 1676 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2023-06-26 11:29:05,415 1676 [DEBUG] - [ShimGen] for C# 5
2023-06-26 11:29:05,415 1676 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2023-06-26 11:29:05,415 1676 [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-06-26 11:29:05,446 1676 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2023-06-26 11:29:05,508 1676 [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-06-26 11:29:05,508 1676 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2023-06-26 11:29:05,524 1676 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2023-06-26 11:29:05,571 1676 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0".
2023-06-26 11:29:05,618 1676 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0\.files'
2023-06-26 11:29:05,634 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0\.extra".
2023-06-26 11:29:05,634 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0\.version".
2023-06-26 11:29:05,649 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0\.sxs".
2023-06-26 11:29:05,665 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.24.0\.pin".
2023-06-26 11:29:05,680 1676 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-26 11:29:05,680 1676 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2023-06-26 11:29:05,696 1676 [INFO ] - The install of lacework-cli was successful.
2023-06-26 11:29:05,712 1676 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2023-06-26 11:29:05,712 1676 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\lacework-cli.1.24.0.nupkg".
2023-06-26 11:29:05,759 1676 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-26 11:29:05,774 1676 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-26 11:29:05,806 1676 [DEBUG] - Exiting with 0
2023-06-26 11:29:17,712 1504 [DEBUG] - XmlConfiguration is now operational
2023-06-26 11:29:17,868 1504 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:29:17,868 1504 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:29:17,868 1504 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:29:17,868 1504 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:29:17,883 1504 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-26 11:29:17,883 1504 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-26 11:29:18,165 1504 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-26 11:29:18,165 1504 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-26 11:29:18,180 1504 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-26 11:29:18,180 1504 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-26 11:29:18,180 1504 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-26 11:29:18,180 1504 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-26 11:29:18,196 1504 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-26 11:29:18,196 1504 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-26 11:29:18,196 1504 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-26 11:29:18,196 1504 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-26 11:29:18,211 1504 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-26 11:29:18,211 1504 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-26 11:29:18,211 1504 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-26 11:29:18,211 1504 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-26 11:29:18,227 1504 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-26 11:29:18,227 1504 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-26 11:29:18,227 1504 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-26 11:29:18,242 1504 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-26 11:29:18,540 1504 [INFO ] - ============================================================
2023-06-26 11:29:18,930 1504 [INFO ] - Chocolatey v1.3.0
2023-06-26 11:29:18,946 1504 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-26 11:29:18,961 1504 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-26 11:29:18,961 1504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-26 11:29:18,993 1504 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.24.0 -dvy --execution-timeout=2700
2023-06-26 11:29:18,993 1504 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.24.0 -dvy --execution-timeout=2700
2023-06-26 11:29:19,181 1504 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-26 11:29:19,196 1504 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-26 11:29:19,228 1504 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-26 11:29:19,400 1504 [DEBUG] - Performing validation checks.
2023-06-26 11:29:19,400 1504 [DEBUG] - Global Configuration Validation Checks:
2023-06-26 11:29:19,414 1504 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-26 11:29:19,430 1504 [DEBUG] - System State Validation Checks:
2023-06-26 11:29:19,447 1504 [DEBUG] - Reboot Requirement Checks:
2023-06-26 11:29:19,461 1504 [DEBUG] - - Pending Computer Rename = Checked
2023-06-26 11:29:19,461 1504 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-26 11:29:19,477 1504 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-26 11:29:19,477 1504 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-26 11:29:19,492 1504 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-26 11:29:19,492 1504 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-26 11:29:19,508 1504 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-26 11:29:19,572 1504 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-26 11:29:19,586 1504 [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-06-26 11:29:19,617 1504 [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.24.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-JV9MJ4IE0P8'|
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-06-26 11:29:19,649 1504 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-26 11:29:19,665 1504 [INFO ] - Uninstalling the following packages:
2023-06-26 11:29:19,665 1504 [INFO ] - lacework-cli
2023-06-26 11:29:19,696 1504 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-26 11:29:19,696 1504 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-26 11:29:19,711 1504 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-26 11:29:19,711 1504 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-26 11:29:19,711 1504 [DEBUG] - * 'ChocolateyLastPathUpdate'='133321685053103346' ('User')
2023-06-26 11:29:19,727 1504 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-26 11:29:19,727 1504 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-26 11:29:19,743 1504 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-26 11:29:19,743 1504 [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-06-26 11:29:19,743 1504 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-26 11:29:19,758 1504 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-26 11:29:19,758 1504 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-26 11:29:19,774 1504 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-26 11:29:19,774 1504 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-26 11:29:19,789 1504 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-26 11:29:19,789 1504 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-26 11:29:19,805 1504 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-26 11:29:19,805 1504 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-26 11:29:19,821 1504 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-26 11:29:19,821 1504 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-26 11:29:19,836 1504 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-26 11:29:19,993 1504 [DEBUG] - Running list with the following filter = ''
2023-06-26 11:29:19,993 1504 [DEBUG] - --- Start of List ---
2023-06-26 11:29:20,368 1504 [DEBUG] - lacework-cli 1.24.0
2023-06-26 11:29:20,383 1504 [DEBUG] - --- End of List ---
2023-06-26 11:29:20,851 1504 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-26 11:29:20,868 1504 [DEBUG] - Backing up existing lacework-cli prior to operation.
2023-06-26 11:29:20,868 1504 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli'
2023-06-26 11:29:22,898 1504 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2023-06-26 11:29:22,898 1504 [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-06-26 11:29:22,915 1504 [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-06-26 11:29:22,930 1504 [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-06-26 11:29:22,930 1504 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2023-06-26 11:29:22,945 1504 [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-06-26 11:29:22,945 1504 [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-06-26 11:29:22,961 1504 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2023-06-26 11:29:22,961 1504 [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-06-26 11:29:24,649 1504 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2023-06-26 11:29:24,665 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2023-06-26 11:29:24,665 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '59E97D4822816A583F4495789336E93C'
2023-06-26 11:29:24,680 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '4B7FE54345F8EE6C743A281D68F37A42'
2023-06-26 11:29:24,696 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '43B9F49F894CF0C06979EBD56B4CF760'
2023-06-26 11:29:24,696 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum '8F4A25E065DCB4F56B305C2BBF09C751'
2023-06-26 11:29:24,931 1504 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'FBCA1908EFD75FFCFAD2C556CBB5430C'
2023-06-26 11:29:25,336 1504 [INFO ] - [NuGet] Uninstalling 'lacework-cli 1.24.0'.
2023-06-26 11:29:25,336 1504 [INFO ] -
lacework-cli v1.24.0
2023-06-26 11:29:25,399 1504 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2023-06-26 11:29:25,399 1504 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2023-06-26 11:29:25,445 1504 [DEBUG] - Setting installer args for lacework-cli
2023-06-26 11:29:25,445 1504 [DEBUG] - Setting package parameters for lacework-cli
2023-06-26 11:29:25,445 1504 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2023-06-26 11:29:25,463 1504 [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-06-26 11:29:25,508 1504 [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-06-26 11:29:25,540 1504 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-26 11:29:26,321 1504 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-26 11:29:26,854 1504 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-26 11:29:26,867 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-26 11:29:26,867 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-26 11:29:26,883 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-26 11:29:26,883 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-26 11:29:26,898 1504 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-26 11:29:26,898 1504 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-26 11:29:26,915 1504 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-26 11:29:26,915 1504 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-26 11:29:26,930 1504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-26 11:29:26,930 1504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:29:26,946 1504 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-26 11:29:26,946 1504 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-26 11:29:26,961 1504 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-26 11:29:26,976 1504 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-26 11:29:26,977 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-26 11:29:26,977 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-26 11:29:26,993 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-26 11:29:26,993 1504 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-26 11:29:27,008 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:27,008 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:29:27,025 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:29:27,040 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:29:27,057 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-26 11:29:27,071 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-26 11:29:27,071 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:29:27,087 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:29:27,087 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-26 11:29:27,102 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:29:27,117 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-26 11:29:27,118 1504 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-26 11:29:27,133 1504 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-26 11:29:27,133 1504 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-26 11:29:27,133 1504 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:29:27,148 1504 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-26 11:29:27,148 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-26 11:29:27,164 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:27,180 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:29:27,180 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:29:27,195 1504 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-26 11:29:27,211 1504 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-26 11:29:27,211 1504 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-26 11:29:27,227 1504 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-26 11:29:27,244 1504 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-26 11:29:27,244 1504 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-26 11:29:27,258 1504 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-26 11:29:27,258 1504 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-26 11:29:27,274 1504 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:29:27,274 1504 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-26 11:29:27,289 1504 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-26 11:29:27,321 1504 [DEBUG] - Loading community extensions
2023-06-26 11:29:27,352 1504 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-26 11:29:27,367 1504 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-26 11:29:27,493 1504 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-26 11:29:27,509 1504 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-26 11:29:27,509 1504 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-26 11:29:27,523 1504 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-26 11:29:27,523 1504 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-26 11:29:27,539 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-26 11:29:27,540 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-26 11:29:27,540 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-26 11:29:27,555 1504 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-26 11:29:27,571 1504 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-26 11:29:27,571 1504 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-26 11:29:27,571 1504 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-26 11:29:27,586 1504 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-26 11:29:27,586 1504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-26 11:29:27,601 1504 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:29:27,617 1504 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-26 11:29:27,617 1504 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-26 11:29:27,633 1504 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-26 11:29:27,633 1504 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-26 11:29:27,633 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-26 11:29:27,649 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-26 11:29:27,649 1504 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-26 11:29:27,664 1504 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-26 11:29:27,664 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:27,680 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:29:27,680 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:29:27,695 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:29:27,695 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-26 11:29:27,711 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-26 11:29:27,711 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:29:27,726 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:29:27,726 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-26 11:29:27,742 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:29:27,758 1504 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-26 11:29:27,758 1504 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-26 11:29:27,774 1504 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-26 11:29:27,774 1504 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-26 11:29:27,789 1504 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:29:27,789 1504 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-26 11:29:27,805 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-26 11:29:27,805 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:27,821 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:29:27,821 1504 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:29:27,836 1504 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-26 11:29:27,836 1504 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-26 11:29:27,852 1504 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-26 11:29:27,852 1504 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-26 11:29:27,852 1504 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-26 11:29:27,867 1504 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-26 11:29:27,883 1504 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-26 11:29:27,883 1504 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-26 11:29:27,898 1504 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-26 11:29:27,914 1504 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-26 11:29:27,914 1504 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:29:27,930 1504 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-26 11:29:27,930 1504 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-26 11:29:27,945 1504 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-26 11:29:27,945 1504 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-26 11:29:27,961 1504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-26 11:29:27,961 1504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-26 11:29:27,977 1504 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-26 11:29:27,977 1504 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-26 11:29:27,992 1504 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-26 11:29:27,992 1504 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-26 11:29:28,008 1504 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-26 11:29:28,025 1504 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-26 11:29:28,025 1504 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-26 11:29:28,039 1504 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-26 11:29:28,039 1504 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-26 11:29:28,055 1504 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-26 11:29:28,055 1504 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-26 11:29:28,071 1504 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-26 11:29:28,071 1504 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-26 11:29:28,086 1504 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-26 11:29:28,118 1504 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-26 11:29:28,118 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:28,133 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-26 11:29:28,149 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-26 11:29:28,149 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-26 11:29:28,164 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-26 11:29:28,164 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-26 11:29:28,180 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-26 11:29:28,196 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-26 11:29:28,196 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-26 11:29:28,211 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-26 11:29:28,211 1504 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-26 11:29:28,227 1504 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-26 11:29:28,227 1504 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-26 11:29:28,242 1504 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-26 11:29:28,242 1504 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-26 11:29:28,258 1504 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-26 11:29:28,258 1504 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-26 11:29:28,274 1504 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-26 11:29:28,274 1504 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-26 11:29:28,289 1504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-26 11:29:28,320 1504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-26 11:29:28,336 1504 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-26 11:29:28,336 1504 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-26 11:29:28,351 1504 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-26 11:29:28,351 1504 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-26 11:29:28,367 1504 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-26 11:29:28,367 1504 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-26 11:29:28,383 1504 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-26 11:29:28,383 1504 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-26 11:29:28,398 1504 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-26 11:29:28,398 1504 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-26 11:29:28,414 1504 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-26 11:29:28,414 1504 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-26 11:29:28,540 1504 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-26 11:29:28,571 1504 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.24.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-26 11:29:28,633 1504 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2023-06-26 11:29:28,758 1504 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2023-06-26 11:29:28,806 1504 [INFO ] - Uninstalling lacework-cli...
2023-06-26 11:29:28,994 1504 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2023-06-26 11:29:29,071 1504 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-26 11:29:29,133 1504 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2023-06-26 11:29:29,181 1504 [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-06-26 11:29:29,195 1504 [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-06-26 11:29:29,213 1504 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-26 11:29:29,416 1504 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-26 11:29:29,431 1504 [ERROR] - lacework-cli uninstall not successful.
2023-06-26 11:29:29,446 1504 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2023-06-26 11:29:29,462 1504 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2023-06-26 11:29:29,493 1504 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-26 11:29:29,509 1504 [INFO ] -
2023-06-26 11:29:29,524 1504 [ERROR] - Failures
2023-06-26 11:29:29,524 1504 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2023-06-26 11:29:29,539 1504 [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-06-26 11:29:29,555 1504 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-26 11:29:29,586 1504 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment