Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created March 7, 2024 23:45
Show Gist options
  • Save choco-bot/817de4308d5d26a0f213c72f2485d8f8 to your computer and use it in GitHub Desktop.
Save choco-bot/817de4308d5d26a0f213c72f2485d8f8 to your computer and use it in GitHub Desktop.
lacework-cli v1.47.1 - Passed - Package Tests Results

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

  • https://community.chocolatey.org/packages/lacework-cli/1.47.1
  • Tested 07 Mar 2024 23:45: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="3B075A3CA79BE956D81353724D82A5B9" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec" checksum="72269028A1DF54963DB32D4F84C67695" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1" checksum="2ECABF2ED92B25127A6FE302A8799705" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1" checksum="FB5466E8056FC9569BE94A25885F400A" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe" checksum="2925BEF9F1354759374FA9309BC748E6" />
</files>
</fileSnapshot>
2024-03-07 23:44:19,288 6116 [DEBUG] - XmlConfiguration is now operational
2024-03-07 23:44:19,493 6116 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,509 6116 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,509 6116 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,524 6116 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,524 6116 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,541 6116 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,541 6116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,555 6116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,555 6116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:44:19,573 6116 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-07 23:44:19,573 6116 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-07 23:44:20,915 6116 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,915 6116 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,931 6116 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,947 6116 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,947 6116 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,962 6116 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,962 6116 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,962 6116 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,977 6116 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:20,977 6116 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:44:21,024 6116 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-07 23:44:21,039 6116 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-07 23:44:21,055 6116 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-07 23:44:21,055 6116 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-07 23:44:21,070 6116 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-07 23:44:21,070 6116 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-07 23:44:21,086 6116 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-07 23:44:21,086 6116 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-07 23:44:21,102 6116 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-07 23:44:21,102 6116 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-07 23:44:21,118 6116 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-07 23:44:21,134 6116 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-07 23:44:21,134 6116 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-07 23:44:21,150 6116 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-07 23:44:21,150 6116 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-07 23:44:21,164 6116 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-07 23:44:21,180 6116 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-07 23:44:21,180 6116 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-07 23:44:21,197 6116 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-07 23:44:21,197 6116 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-07 23:44:21,649 6116 [INFO ] - ============================================================
2024-03-07 23:44:22,570 6116 [INFO ] - Chocolatey v2.2.2
2024-03-07 23:44:22,601 6116 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-07 23:44:22,618 6116 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-07 23:44:22,618 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-07 23:44:22,649 6116 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.47.1 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-07 23:44:22,664 6116 [DEBUG] - Received arguments: install lacework-cli --version 1.47.1 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-07 23:44:23,151 6116 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-07 23:44:23,290 6116 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-07 23:44:23,398 6116 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-07 23:44:24,117 6116 [DEBUG] - Performing validation checks.
2024-03-07 23:44:24,133 6116 [DEBUG] - Global Configuration Validation Checks:
2024-03-07 23:44:24,149 6116 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-07 23:44:24,164 6116 [DEBUG] - System State Validation Checks:
2024-03-07 23:44:24,180 6116 [DEBUG] - Reboot Requirement Checks:
2024-03-07 23:44:24,196 6116 [DEBUG] - - Pending Computer Rename = Checked
2024-03-07 23:44:24,211 6116 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-07 23:44:24,211 6116 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-07 23:44:24,227 6116 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-07 23:44:24,244 6116 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-07 23:44:24,244 6116 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-07 23:44:24,273 6116 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-07 23:44:24,273 6116 [DEBUG] - - Elevated State = Checked
2024-03-07 23:44:24,273 6116 [DEBUG] - - Folder Exists = Checked
2024-03-07 23:44:24,305 6116 [DEBUG] - - Folder lockdown = Checked
2024-03-07 23:44:24,322 6116 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-07 23:44:24,383 6116 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-07 23:44:24,398 6116 [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.
2024-03-07 23:44:24,509 6116 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.47.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='lacework-cli'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-GKGS6CSH4V3'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-07 23:44:24,586 6116 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-03-07 23:44:24,617 6116 [INFO ] - Installing the following packages:
2024-03-07 23:44:24,617 6116 [INFO ] - lacework-cli
2024-03-07 23:44:24,634 6116 [INFO ] - By installing, you accept licenses for the packages.
2024-03-07 23:44:24,665 6116 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-07 23:44:24,680 6116 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-07 23:44:24,680 6116 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-07 23:44:24,680 6116 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-07 23:44:24,695 6116 [DEBUG] - * 'ChocolateyLastPathUpdate'='133542877652159716' ('User')
2024-03-07 23:44:24,695 6116 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-07 23:44:24,711 6116 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-07 23:44:24,711 6116 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-07 23:44:24,726 6116 [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')
2024-03-07 23:44:24,726 6116 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-07 23:44:24,726 6116 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-07 23:44:24,742 6116 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-07 23:44:24,742 6116 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-07 23:44:24,742 6116 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-07 23:44:24,758 6116 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-07 23:44:24,758 6116 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-07 23:44:24,773 6116 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-07 23:44:24,773 6116 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-07 23:44:24,789 6116 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-07 23:44:24,789 6116 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-07 23:44:24,789 6116 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-07 23:44:25,617 6116 [DEBUG] - Running list with the following filter = ''
2024-03-07 23:44:25,633 6116 [DEBUG] - --- Start of List ---
2024-03-07 23:44:25,710 6116 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-07 23:44:26,367 6116 [DEBUG] - chocolatey 2.2.2
2024-03-07 23:44:26,383 6116 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-07 23:44:26,398 6116 [DEBUG] - KB2919355 1.0.20160915
2024-03-07 23:44:26,415 6116 [DEBUG] - KB2919442 1.0.20160915
2024-03-07 23:44:26,429 6116 [DEBUG] - KB2999226 1.0.20181019
2024-03-07 23:44:26,447 6116 [DEBUG] - KB3035131 1.0.3
2024-03-07 23:44:26,492 6116 [DEBUG] - KB3118401 1.0.5
2024-03-07 23:44:26,492 6116 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-07 23:44:26,510 6116 [DEBUG] - --- End of List ---
2024-03-07 23:44:26,524 6116 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-03-07 23:44:27,274 6116 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-03-07 23:44:28,117 6116 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.47.1')
2024-03-07 23:44:28,274 6116 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.47.1') 143ms
2024-03-07 23:44:28,570 6116 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-03-07 23:44:29,289 6116 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-03-07 23:44:29,305 6116 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.47.1')
2024-03-07 23:44:29,758 6116 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-03-07 23:44:29,775 6116 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-03-07 23:44:29,883 6116 [DEBUG] - Attempting to delete file "".
2024-03-07 23:44:29,946 6116 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/lacework-cli/1.47.1
2024-03-07 23:44:30,477 6116 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/lacework-cli/1.47.1 530ms
2024-03-07 23:44:30,539 6116 [INFO ] - [NuGet] Acquiring lock for the installation of lacework-cli 1.47.1
2024-03-07 23:44:30,633 6116 [INFO ] - [NuGet] Acquired lock for the installation of lacework-cli 1.47.1
2024-03-07 23:44:31,102 6116 [INFO ] - [NuGet] Installed lacework-cli 1.47.1 from https://community.chocolatey.org/api/v2/ with content hash Ia09EvPx6eUDaCHAfe1/jxMUm8wg6UrRYHvZsHFq8rfwZfIRI6D+34ECxgeO0gpz1fRNAC128Gy1Y2KP8hio4g==.
2024-03-07 23:44:31,180 6116 [INFO ] - [NuGet] Adding package 'lacework-cli.1.47.1' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-07 23:44:31,305 6116 [INFO ] - [NuGet] Added package 'lacework-cli.1.47.1' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-07 23:44:31,320 6116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.47.1\lacework-cli.1.47.1.nupkg".
2024-03-07 23:44:31,337 6116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.47.1\.nupkg.metadata".
2024-03-07 23:44:31,351 6116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.47.1\lacework-cli.1.47.1.nupkg.sha512".
2024-03-07 23:44:31,369 6116 [INFO ] -
lacework-cli v1.47.1 (forced)
2024-03-07 23:44:31,477 6116 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2024-03-07 23:44:31,601 6116 [DEBUG] - Setting installer args for lacework-cli
2024-03-07 23:44:31,601 6116 [DEBUG] - Setting package parameters for lacework-cli
2024-03-07 23:44:31,617 6116 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2024-03-07 23:44:31,649 6116 [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.47.1
$packageName = 'lacework-cli'
$toolsDir = "$( Split-Path -parent $MyInvocation.MyCommand.Definition )"
$url = "https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-386.exe.zip"
$url64 = "https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'zip'
url = $url
url64bit = $url64
softwareName = 'Lacework*'
checksum = '0a20e36f359162170406fdd44f8576cb20f8a53a5672b3a168d1ad347559162a'
checksumType = 'sha256'
checksum64 = '273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e'
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")
}
}
}
2024-03-07 23:44:31,728 6116 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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']
2024-03-07 23:44:31,774 6116 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-07 23:44:33,086 6116 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-07 23:44:33,898 6116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-07 23:44:33,898 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-07 23:44:33,913 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-07 23:44:33,913 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-07 23:44:33,913 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-07 23:44:33,930 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-07 23:44:33,930 6116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-07 23:44:33,946 6116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-07 23:44:33,961 6116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-07 23:44:33,961 6116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-07 23:44:33,976 6116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-07 23:44:33,976 6116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:44:33,992 6116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-07 23:44:33,992 6116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-07 23:44:34,008 6116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-07 23:44:34,008 6116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-07 23:44:34,024 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-07 23:44:34,024 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-07 23:44:34,038 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-07 23:44:34,038 6116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-07 23:44:34,055 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:34,055 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:44:34,071 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:44:34,087 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:44:34,087 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-07 23:44:34,103 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-07 23:44:34,103 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:44:34,118 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:44:34,118 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-07 23:44:34,133 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:44:34,133 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-07 23:44:34,150 6116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-07 23:44:34,165 6116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-07 23:44:34,165 6116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-07 23:44:34,165 6116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:44:34,180 6116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-07 23:44:34,196 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-07 23:44:34,196 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:34,210 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:44:34,210 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:44:34,226 6116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-07 23:44:34,226 6116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-07 23:44:34,242 6116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-07 23:44:34,242 6116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-07 23:44:34,258 6116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-07 23:44:34,258 6116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-07 23:44:34,273 6116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-07 23:44:34,273 6116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-07 23:44:34,289 6116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:44:34,289 6116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-07 23:44:34,289 6116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-07 23:44:34,352 6116 [DEBUG] - Loading community extensions
2024-03-07 23:44:34,398 6116 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-07 23:44:34,414 6116 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-07 23:44:34,601 6116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-07 23:44:34,601 6116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-07 23:44:34,619 6116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-07 23:44:34,619 6116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-07 23:44:34,633 6116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-07 23:44:34,633 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-07 23:44:34,649 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-07 23:44:34,649 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-07 23:44:34,665 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-07 23:44:34,665 6116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-07 23:44:34,680 6116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-07 23:44:34,680 6116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-07 23:44:34,696 6116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-07 23:44:34,696 6116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-07 23:44:34,711 6116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-07 23:44:34,711 6116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:44:34,711 6116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-07 23:44:34,726 6116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-07 23:44:34,726 6116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-07 23:44:34,743 6116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-07 23:44:34,743 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-07 23:44:34,743 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-07 23:44:34,759 6116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-07 23:44:34,774 6116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-07 23:44:34,774 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:34,790 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:44:34,790 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:44:34,805 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:44:34,805 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-07 23:44:34,820 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-07 23:44:34,820 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:44:34,837 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:44:34,837 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-07 23:44:34,855 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:44:34,855 6116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-07 23:44:34,867 6116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-07 23:44:34,867 6116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-07 23:44:34,884 6116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-07 23:44:34,884 6116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:44:34,899 6116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-07 23:44:34,899 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-07 23:44:34,914 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:34,914 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:44:34,929 6116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:44:34,929 6116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-07 23:44:34,946 6116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-07 23:44:34,946 6116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-07 23:44:34,946 6116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-07 23:44:34,961 6116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-07 23:44:34,961 6116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-07 23:44:34,978 6116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-07 23:44:34,978 6116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-07 23:44:34,992 6116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-07 23:44:34,992 6116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-07 23:44:35,008 6116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:44:35,008 6116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-07 23:44:35,008 6116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-07 23:44:35,024 6116 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-07 23:44:35,040 6116 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-07 23:44:35,040 6116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-07 23:44:35,055 6116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-07 23:44:35,055 6116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-07 23:44:35,070 6116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-07 23:44:35,070 6116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-07 23:44:35,086 6116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-07 23:44:35,086 6116 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-07 23:44:35,102 6116 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-07 23:44:35,102 6116 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-07 23:44:35,117 6116 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:44:35,117 6116 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-07 23:44:35,133 6116 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-07 23:44:35,133 6116 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-07 23:44:35,149 6116 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-07 23:44:35,149 6116 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-07 23:44:35,165 6116 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-07 23:44:35,165 6116 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-07 23:44:35,181 6116 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-07 23:44:35,181 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:35,195 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:44:35,195 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:44:35,211 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:44:35,211 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-07 23:44:35,227 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-07 23:44:35,227 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:44:35,242 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:44:35,242 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-07 23:44:35,242 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:44:35,258 6116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-07 23:44:35,258 6116 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-07 23:44:35,275 6116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-07 23:44:35,275 6116 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-07 23:44:35,289 6116 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-07 23:44:35,289 6116 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:44:35,304 6116 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-07 23:44:35,304 6116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-07 23:44:35,321 6116 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-07 23:44:35,321 6116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:44:35,337 6116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:44:35,337 6116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:44:35,354 6116 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-07 23:44:35,354 6116 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-07 23:44:35,367 6116 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-07 23:44:35,367 6116 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-07 23:44:35,382 6116 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-07 23:44:35,399 6116 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-07 23:44:35,399 6116 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-07 23:44:35,414 6116 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:44:35,414 6116 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-07 23:44:35,430 6116 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-07 23:44:35,430 6116 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-07 23:44:35,617 6116 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-07 23:44:35,664 6116 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.47.1 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-07 23:44:35,774 6116 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2024-03-07 23:44:36,259 6116 [DEBUG] - Running Install-ChocolateyZipPackage -url 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-386.exe.zip' -unzipLocation 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip' -checksum '0a20e36f359162170406fdd44f8576cb20f8a53a5672b3a168d1ad347559162a' -checksum64 '273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e' -checksumType 'sha256' -packageName 'lacework-cli' -checksumType64 'sha256'
2024-03-07 23:44:36,664 6116 [DEBUG] - Running Get-ChocolateyWebFile -checksum '0a20e36f359162170406fdd44f8576cb20f8a53a5672b3a168d1ad347559162a' -checksumType 'sha256' -checksum64 '273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'lacework-cli' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cliInstall.zip' -url 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-386.exe.zip' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip'
2024-03-07 23:44:36,804 6116 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-03-07 23:44:36,899 6116 [DEBUG] - CPU is 64 bit
2024-03-07 23:44:36,961 6116 [DEBUG] - Setting url to 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip' and bitPackage to 64
2024-03-07 23:44:37,196 6116 [DEBUG] - Running Get-WebFileName -url 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip' -defaultName 'lacework-cliInstall.zip'
2024-03-07 23:44:38,575 6116 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2024-03-07 23:44:38,633 6116 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2024-03-07 23:44:38,760 6116 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip' -ErrorAction 'Stop'
2024-03-07 23:44:38,790 6116 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-07 23:44:38,790 6116 [DEBUG] - Request Headers:
2024-03-07 23:44:38,883 6116 [DEBUG] - 'Accept':'*/*'
2024-03-07 23:44:38,883 6116 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-03-07 23:44:39,226 6116 [DEBUG] - Response Headers:
2024-03-07 23:44:39,260 6116 [DEBUG] - 'Connection':'keep-alive'
2024-03-07 23:44:39,274 6116 [DEBUG] - 'Content-MD5':'T3ep3TZqzPCtbJGBewquuA=='
2024-03-07 23:44:39,289 6116 [DEBUG] - 'x-ms-request-id':'1cdcfab6-601e-0061-18e9-70c216000000'
2024-03-07 23:44:39,305 6116 [DEBUG] - 'x-ms-version':'2020-10-02'
2024-03-07 23:44:39,320 6116 [DEBUG] - 'x-ms-creation-time':'Thu, 07 Mar 2024 22:56:25 GMT'
2024-03-07 23:44:39,320 6116 [DEBUG] - 'x-ms-lease-status':'unlocked'
2024-03-07 23:44:39,335 6116 [DEBUG] - 'x-ms-lease-state':'available'
2024-03-07 23:44:39,335 6116 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2024-03-07 23:44:39,352 6116 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2024-03-07 23:44:39,352 6116 [DEBUG] - 'x-ms-server-encrypted':'true'
2024-03-07 23:44:39,367 6116 [DEBUG] - 'Age':'1'
2024-03-07 23:44:39,367 6116 [DEBUG] - 'X-Served-By':'cache-iad-kjyo7100133-IAD, cache-mci680021-MCI'
2024-03-07 23:44:39,383 6116 [DEBUG] - 'X-Cache':'MISS, HIT'
2024-03-07 23:44:39,383 6116 [DEBUG] - 'X-Cache-Hits':'0, 0'
2024-03-07 23:44:39,398 6116 [DEBUG] - 'X-Timer':'S1709855079.027097,VS0,VE190'
2024-03-07 23:44:39,398 6116 [DEBUG] - 'Accept-Ranges':'bytes'
2024-03-07 23:44:39,414 6116 [DEBUG] - 'Content-Length':'24577218'
2024-03-07 23:44:39,414 6116 [DEBUG] - 'Content-Type':'application/octet-stream'
2024-03-07 23:44:39,414 6116 [DEBUG] - 'Date':'Thu, 07 Mar 2024 23:44:39 GMT'
2024-03-07 23:44:39,431 6116 [DEBUG] - 'ETag':'"0x8DC3EF9D0D8ED07"'
2024-03-07 23:44:39,431 6116 [DEBUG] - 'Last-Modified':'Thu, 07 Mar 2024 22:56:25 GMT'
2024-03-07 23:44:39,446 6116 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2024-03-07 23:44:39,446 6116 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2024-03-07 23:44:39,541 6116 [INFO ] - Downloading lacework-cli 64 bit
from 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip'
2024-03-07 23:44:39,680 6116 [DEBUG] - Running Get-WebFile -url 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip' -options 'System.Collections.Hashtable'
2024-03-07 23:44:39,695 6116 [DEBUG] - Setting request timeout to 30000
2024-03-07 23:44:39,695 6116 [DEBUG] - Setting read/write timeout to 2700000
2024-03-07 23:44:39,711 6116 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-07 23:44:40,649 6116 [DEBUG] - Downloading https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip
2024-03-07 23:44:43,820 6116 [INFO ] -
2024-03-07 23:44:43,853 6116 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (23.44 MB) completed.
2024-03-07 23:44:46,960 6116 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-03-07 23:44:46,992 6116 [DEBUG] - Verifying package provided checksum of '273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip'.
2024-03-07 23:44:47,039 6116 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip' -checksum '273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e' -checksumType 'sha256' -originalUrl 'https://github.com/lacework/go-sdk/releases/download/v1.47.1/lacework-cli-windows-amd64.exe.zip'
2024-03-07 23:44:47,085 6116 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-03-07 23:44:47,103 6116 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip"]
2024-03-07 23:44:48,523 6116 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="273a782dc8825e476ec9118d219af3de7fd1b12609c1169ec8559708d71fe05e" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-03-07 23:44:48,649 6116 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip' -destination 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -specificFolder '' -packageName 'lacework-cli'
2024-03-07 23:44:48,664 6116 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-03-07 23:44:48,695 6116 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip to C:\ProgramData\chocolatey\lib\lacework-cli\tools...
2024-03-07 23:44:48,742 6116 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-03-07 23:44:48,852 6116 [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.47.1\lacework-cli-windows-amd64.exe.zip"]
2024-03-07 23:44:49,977 6116 [INFO ] - VERBOSE:
2024-03-07 23:44:49,977 6116 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-03-07 23:44:50,008 6116 [INFO ] - VERBOSE:
2024-03-07 23:44:50,008 6116 [INFO ] - VERBOSE:
2024-03-07 23:44:50,023 6116 [INFO ] - VERBOSE: 1 file, 24577218 bytes (24 MiB)
2024-03-07 23:44:50,023 6116 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip
2024-03-07 23:44:50,039 6116 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-03-07 23:44:50,039 6116 [INFO ] - VERBOSE: --
2024-03-07 23:44:50,054 6116 [INFO ] - VERBOSE: Physical Size = 24577218
2024-03-07 23:44:50,054 6116 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip
2024-03-07 23:44:50,069 6116 [INFO ] - VERBOSE: Type = zip
2024-03-07 23:44:50,069 6116 [INFO ] - VERBOSE:
2024-03-07 23:44:50,086 6116 [INFO ] - VERBOSE: - bin\lacework.exe
2024-03-07 23:44:50,164 6116 [INFO ] - VERBOSE: Size: 56710936
2024-03-07 23:44:50,164 6116 [INFO ] - VERBOSE:
2024-03-07 23:44:50,180 6116 [INFO ] - VERBOSE: Compressed: 24577218
2024-03-07 23:44:50,180 6116 [INFO ] - VERBOSE: Everything is Ok
2024-03-07 23:44:50,320 6116 [DEBUG] - $exitCode was passed null
2024-03-07 23:44:50,337 6116 [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.47.1\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-03-07 23:44:50,445 6116 [DEBUG] - 7z exit code: 0
2024-03-07 23:44:50,476 6116 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2024-03-07 23:44:50,523 6116 [DEBUG] - ----------------------------------------------------------------------
2024-03-07 23:44:50,554 6116 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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'.
2024-03-07 23:44:50,571 6116 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-07 23:44:50,711 6116 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-07 23:44:50,961 6116 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-07 23:44:50,976 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-03-07 23:44:50,991 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '3B075A3CA79BE956D81353724D82A5B9'
2024-03-07 23:44:50,991 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '72269028A1DF54963DB32D4F84C67695'
2024-03-07 23:44:51,007 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '2ECABF2ED92B25127A6FE302A8799705'
2024-03-07 23:44:51,007 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-03-07 23:44:51,321 6116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '2925BEF9F1354759374FA9309BC748E6'
2024-03-07 23:44:51,368 6116 [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"']
2024-03-07 23:44:52,696 6116 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2024-03-07 23:44:52,710 6116 [DEBUG] - [ShimGen] Selected Icon is invalid
2024-03-07 23:44:53,226 6116 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2024-03-07 23:44:53,242 6116 [DEBUG] - [ShimGen] for C# 5
2024-03-07 23:44:53,242 6116 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2024-03-07 23:44:53,259 6116 [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
2024-03-07 23:44:53,274 6116 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2024-03-07 23:44:53,274 6116 [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'
2024-03-07 23:44:53,290 6116 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2024-03-07 23:44:53,290 6116 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2024-03-07 23:44:53,367 6116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1".
2024-03-07 23:44:53,430 6116 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1\.files'
2024-03-07 23:44:53,476 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1\.extra".
2024-03-07 23:44:53,492 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1\.version".
2024-03-07 23:44:53,507 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1\.sxs".
2024-03-07 23:44:53,507 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.47.1\.pin".
2024-03-07 23:44:53,540 6116 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-03-07 23:44:53,556 6116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2024-03-07 23:44:53,569 6116 [INFO ] - The install of lacework-cli was successful.
2024-03-07 23:44:53,569 6116 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2024-03-07 23:44:53,617 6116 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-07 23:44:53,648 6116 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-07 23:44:53,664 6116 [DEBUG] - Exiting with 0
2024-03-07 23:45:12,960 5132 [DEBUG] - XmlConfiguration is now operational
2024-03-07 23:45:13,179 5132 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,195 5132 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,195 5132 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,210 5132 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,210 5132 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,226 5132 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,226 5132 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,243 5132 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,243 5132 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-07 23:45:13,256 5132 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-07 23:45:13,256 5132 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-07 23:45:14,476 5132 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,492 5132 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,492 5132 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,507 5132 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,507 5132 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,523 5132 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,523 5132 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,523 5132 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,540 5132 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,540 5132 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-07 23:45:14,585 5132 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-07 23:45:14,600 5132 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-07 23:45:14,600 5132 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-07 23:45:14,600 5132 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-07 23:45:14,617 5132 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-07 23:45:14,617 5132 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-07 23:45:14,632 5132 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-07 23:45:14,632 5132 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-07 23:45:14,648 5132 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-07 23:45:14,666 5132 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-07 23:45:14,666 5132 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-07 23:45:14,679 5132 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-07 23:45:14,679 5132 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-07 23:45:14,696 5132 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-07 23:45:14,709 5132 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-07 23:45:14,709 5132 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-07 23:45:14,726 5132 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-07 23:45:14,726 5132 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-07 23:45:14,742 5132 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-07 23:45:14,742 5132 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-07 23:45:15,132 5132 [INFO ] - ============================================================
2024-03-07 23:45:15,585 5132 [INFO ] - Chocolatey v2.2.2
2024-03-07 23:45:15,616 5132 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-07 23:45:15,632 5132 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-07 23:45:15,632 5132 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-07 23:45:15,664 5132 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.47.1 -dvy --execution-timeout=2700
2024-03-07 23:45:15,664 5132 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.47.1 -dvy --execution-timeout=2700
2024-03-07 23:45:15,868 5132 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-07 23:45:15,897 5132 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-07 23:45:15,945 5132 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-07 23:45:16,148 5132 [DEBUG] - Performing validation checks.
2024-03-07 23:45:16,163 5132 [DEBUG] - Global Configuration Validation Checks:
2024-03-07 23:45:16,163 5132 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-07 23:45:16,178 5132 [DEBUG] - System State Validation Checks:
2024-03-07 23:45:16,194 5132 [DEBUG] - Reboot Requirement Checks:
2024-03-07 23:45:16,210 5132 [DEBUG] - - Pending Computer Rename = Checked
2024-03-07 23:45:16,225 5132 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-07 23:45:16,225 5132 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-07 23:45:16,241 5132 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-07 23:45:16,273 5132 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-07 23:45:16,273 5132 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-07 23:45:16,288 5132 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-07 23:45:16,304 5132 [DEBUG] - - Elevated State = Checked
2024-03-07 23:45:16,304 5132 [DEBUG] - - Folder Exists = Checked
2024-03-07 23:45:16,335 5132 [DEBUG] - - Folder lockdown = Checked
2024-03-07 23:45:16,350 5132 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-07 23:45:16,398 5132 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-07 23:45:16,413 5132 [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.
2024-03-07 23:45:16,507 5132 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.47.1'|AllVersions='False'|
SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='lacework-cli'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-GKGS6CSH4V3'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-07 23:45:16,528 5132 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-03-07 23:45:16,539 5132 [INFO ] - Uninstalling the following packages:
2024-03-07 23:45:16,557 5132 [INFO ] - lacework-cli
2024-03-07 23:45:16,587 5132 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-07 23:45:16,587 5132 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-07 23:45:16,601 5132 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-07 23:45:16,601 5132 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-07 23:45:16,617 5132 [DEBUG] - * 'ChocolateyLastPathUpdate'='133542877652159716' ('User')
2024-03-07 23:45:16,617 5132 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-07 23:45:16,632 5132 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-07 23:45:16,632 5132 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-07 23:45:16,647 5132 [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')
2024-03-07 23:45:16,647 5132 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-07 23:45:16,665 5132 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-07 23:45:16,665 5132 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-07 23:45:16,679 5132 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-07 23:45:16,679 5132 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-07 23:45:16,694 5132 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-07 23:45:16,694 5132 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-07 23:45:16,694 5132 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-07 23:45:16,710 5132 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-07 23:45:16,710 5132 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-07 23:45:16,725 5132 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-07 23:45:16,725 5132 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-07 23:45:17,069 5132 [DEBUG] - Running list with the following filter = ''
2024-03-07 23:45:17,085 5132 [DEBUG] - --- Start of List ---
2024-03-07 23:45:17,397 5132 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-07 23:45:18,351 5132 [DEBUG] - chocolatey 2.2.2
2024-03-07 23:45:18,367 5132 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-07 23:45:18,382 5132 [DEBUG] - KB2919355 1.0.20160915
2024-03-07 23:45:18,398 5132 [DEBUG] - KB2919442 1.0.20160915
2024-03-07 23:45:18,398 5132 [DEBUG] - KB2999226 1.0.20181019
2024-03-07 23:45:18,414 5132 [DEBUG] - KB3035131 1.0.3
2024-03-07 23:45:18,429 5132 [DEBUG] - KB3118401 1.0.5
2024-03-07 23:45:18,508 5132 [DEBUG] - lacework-cli 1.47.1
2024-03-07 23:45:18,508 5132 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-07 23:45:18,524 5132 [DEBUG] - --- End of List ---
2024-03-07 23:45:18,538 5132 [DEBUG] - Running list with the following filter = ''
2024-03-07 23:45:18,538 5132 [DEBUG] - --- Start of List ---
2024-03-07 23:45:18,586 5132 [DEBUG] - chocolatey 2.2.2
2024-03-07 23:45:18,603 5132 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-07 23:45:18,617 5132 [DEBUG] - KB2919355 1.0.20160915
2024-03-07 23:45:18,617 5132 [DEBUG] - KB2919442 1.0.20160915
2024-03-07 23:45:18,632 5132 [DEBUG] - KB2999226 1.0.20181019
2024-03-07 23:45:18,647 5132 [DEBUG] - KB3035131 1.0.3
2024-03-07 23:45:18,647 5132 [DEBUG] - KB3118401 1.0.5
2024-03-07 23:45:18,679 5132 [DEBUG] - lacework-cli 1.47.1
2024-03-07 23:45:18,695 5132 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-07 23:45:18,710 5132 [DEBUG] - --- End of List ---
2024-03-07 23:45:18,835 5132 [DEBUG] - Running list with the following filter = ''
2024-03-07 23:45:18,835 5132 [DEBUG] - --- Start of List ---
2024-03-07 23:45:18,897 5132 [DEBUG] - chocolatey 2.2.2
2024-03-07 23:45:18,897 5132 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-07 23:45:18,914 5132 [DEBUG] - KB2919355 1.0.20160915
2024-03-07 23:45:18,929 5132 [DEBUG] - KB2919442 1.0.20160915
2024-03-07 23:45:18,929 5132 [DEBUG] - KB2999226 1.0.20181019
2024-03-07 23:45:18,945 5132 [DEBUG] - KB3035131 1.0.3
2024-03-07 23:45:18,962 5132 [DEBUG] - KB3118401 1.0.5
2024-03-07 23:45:19,006 5132 [DEBUG] - lacework-cli 1.47.1
2024-03-07 23:45:19,023 5132 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-07 23:45:19,024 5132 [DEBUG] - --- End of List ---
2024-03-07 23:45:19,116 5132 [INFO ] -
lacework-cli v1.47.1
2024-03-07 23:45:19,149 5132 [DEBUG] - Running beforeModify step for 'lacework-cli'
2024-03-07 23:45:19,195 5132 [DEBUG] - Backing up package files for 'lacework-cli'
2024-03-07 23:45:19,444 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-03-07 23:45:19,460 5132 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1
2024-03-07 23:45:19,476 5132 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1'
2024-03-07 23:45:21,506 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2024-03-07 23:45:21,522 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\lacework-cli-windows-amd64.exe.zip.txt"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt".
2024-03-07 23:45:21,522 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\lacework-cli.nupkg"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg".
2024-03-07 23:45:21,538 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\lacework-cli.nuspec"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec".
2024-03-07 23:45:21,538 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2024-03-07 23:45:21,554 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1".
2024-03-07 23:45:21,554 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1".
2024-03-07 23:45:21,570 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2024-03-07 23:45:21,570 5132 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1\tools\bin\lacework.exe"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe".
2024-03-07 23:45:23,180 5132 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-07 23:45:23,180 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-03-07 23:45:23,195 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '3B075A3CA79BE956D81353724D82A5B9'
2024-03-07 23:45:23,195 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '72269028A1DF54963DB32D4F84C67695'
2024-03-07 23:45:23,211 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '2ECABF2ED92B25127A6FE302A8799705'
2024-03-07 23:45:23,211 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-03-07 23:45:23,428 5132 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '2925BEF9F1354759374FA9309BC748E6'
2024-03-07 23:45:23,460 5132 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2024-03-07 23:45:23,460 5132 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2024-03-07 23:45:23,492 5132 [DEBUG] - Setting installer args for lacework-cli
2024-03-07 23:45:23,492 5132 [DEBUG] - Setting package parameters for lacework-cli
2024-03-07 23:45:23,507 5132 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2024-03-07 23:45:23,507 5132 [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")
2024-03-07 23:45:23,554 5132 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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']
2024-03-07 23:45:23,570 5132 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-07 23:45:24,836 5132 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-07 23:45:25,522 5132 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-07 23:45:25,522 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-07 23:45:25,522 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-07 23:45:25,538 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-07 23:45:25,555 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-07 23:45:25,555 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-07 23:45:25,570 5132 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-07 23:45:25,570 5132 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-07 23:45:25,585 5132 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-07 23:45:25,585 5132 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-07 23:45:25,601 5132 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-07 23:45:25,601 5132 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:45:25,616 5132 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-07 23:45:25,616 5132 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-07 23:45:25,632 5132 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-07 23:45:25,632 5132 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-07 23:45:25,648 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-07 23:45:25,665 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-07 23:45:25,665 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-07 23:45:25,678 5132 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-07 23:45:25,678 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:25,694 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:45:25,694 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:45:25,710 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:45:25,710 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-07 23:45:25,726 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-07 23:45:25,726 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:45:25,741 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:45:25,741 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-07 23:45:25,756 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:45:25,756 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-07 23:45:25,774 5132 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-07 23:45:25,774 5132 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-07 23:45:25,788 5132 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-07 23:45:25,788 5132 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:45:25,805 5132 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-07 23:45:25,805 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-07 23:45:25,820 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:25,820 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:45:25,835 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:45:25,835 5132 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-07 23:45:25,851 5132 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-07 23:45:25,851 5132 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-07 23:45:25,866 5132 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-07 23:45:25,866 5132 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-07 23:45:25,882 5132 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-07 23:45:25,882 5132 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-07 23:45:25,898 5132 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-07 23:45:25,898 5132 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:45:25,913 5132 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-07 23:45:25,913 5132 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-07 23:45:25,962 5132 [DEBUG] - Loading community extensions
2024-03-07 23:45:26,006 5132 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-07 23:45:26,022 5132 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-07 23:45:26,163 5132 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-07 23:45:26,179 5132 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-07 23:45:26,194 5132 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-07 23:45:26,194 5132 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-07 23:45:26,212 5132 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-07 23:45:26,212 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-07 23:45:26,227 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-07 23:45:26,241 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-07 23:45:26,241 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-07 23:45:26,258 5132 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-07 23:45:26,258 5132 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-07 23:45:26,273 5132 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-07 23:45:26,273 5132 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-07 23:45:26,288 5132 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-07 23:45:26,288 5132 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-07 23:45:26,304 5132 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:45:26,304 5132 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-07 23:45:26,319 5132 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-07 23:45:26,335 5132 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-07 23:45:26,335 5132 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-07 23:45:26,350 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-07 23:45:26,350 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-07 23:45:26,367 5132 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-07 23:45:26,367 5132 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-07 23:45:26,384 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:26,384 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:45:26,398 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:45:26,398 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:45:26,413 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-07 23:45:26,413 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-07 23:45:26,429 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:45:26,429 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:45:26,445 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-07 23:45:26,459 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:45:26,459 5132 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-07 23:45:26,459 5132 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-07 23:45:26,476 5132 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-07 23:45:26,476 5132 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-07 23:45:26,491 5132 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:45:26,506 5132 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-07 23:45:26,506 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-07 23:45:26,522 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:26,522 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:45:26,522 5132 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:45:26,538 5132 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-07 23:45:26,538 5132 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-07 23:45:26,553 5132 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-07 23:45:26,553 5132 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-07 23:45:26,568 5132 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-07 23:45:26,568 5132 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-07 23:45:26,586 5132 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-07 23:45:26,586 5132 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-07 23:45:26,601 5132 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-07 23:45:26,601 5132 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-07 23:45:26,617 5132 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:45:26,617 5132 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-07 23:45:26,632 5132 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-07 23:45:26,632 5132 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-07 23:45:26,648 5132 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-07 23:45:26,663 5132 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-07 23:45:26,663 5132 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-07 23:45:26,678 5132 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-07 23:45:26,678 5132 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-07 23:45:26,694 5132 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-07 23:45:26,694 5132 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-07 23:45:26,710 5132 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-07 23:45:26,710 5132 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-07 23:45:26,725 5132 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-07 23:45:26,725 5132 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-07 23:45:26,740 5132 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-07 23:45:26,740 5132 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-07 23:45:26,757 5132 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-07 23:45:26,774 5132 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-07 23:45:26,774 5132 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-07 23:45:26,788 5132 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-07 23:45:26,788 5132 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-07 23:45:26,803 5132 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-07 23:45:26,803 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:26,819 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-07 23:45:26,835 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-07 23:45:26,835 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-07 23:45:26,850 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-07 23:45:26,850 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-07 23:45:26,866 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-07 23:45:26,866 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-07 23:45:26,882 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-07 23:45:26,882 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-07 23:45:26,897 5132 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-07 23:45:26,897 5132 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-07 23:45:26,913 5132 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-07 23:45:26,913 5132 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-07 23:45:26,930 5132 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-07 23:45:26,930 5132 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-07 23:45:26,944 5132 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-07 23:45:26,944 5132 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-07 23:45:26,960 5132 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-07 23:45:26,960 5132 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-07 23:45:26,975 5132 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-07 23:45:26,975 5132 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-07 23:45:26,992 5132 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-07 23:45:26,992 5132 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-07 23:45:27,008 5132 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-07 23:45:27,022 5132 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-07 23:45:27,022 5132 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-07 23:45:27,038 5132 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-07 23:45:27,038 5132 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-07 23:45:27,054 5132 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-07 23:45:27,073 5132 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-07 23:45:27,085 5132 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-07 23:45:27,101 5132 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-07 23:45:27,289 5132 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-07 23:45:27,335 5132 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.47.1 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-07 23:45:27,429 5132 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2024-03-07 23:45:27,743 5132 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2024-03-07 23:45:27,805 5132 [INFO ] - Uninstalling lacework-cli...
2024-03-07 23:45:28,038 5132 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2024-03-07 23:45:28,195 5132 [DEBUG] - Test-ProcessAdminRights: returning True
2024-03-07 23:45:28,289 5132 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2024-03-07 23:45:28,368 5132 [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 195
at Uninstall-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Uninstall-ChocolateyPackage.ps1: line 157
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1: line 13
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-03-07 23:45:28,382 5132 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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'.
2024-03-07 23:45:28,397 5132 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-07 23:45:28,538 5132 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-07 23:45:28,553 5132 [ERROR] - lacework-cli uninstall not successful.
2024-03-07 23:45:28,570 5132 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-03-07 23:45:28,570 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-03-07 23:45:28,586 5132 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\lacework-cli".
2024-03-07 23:45:28,601 5132 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.47.1
2024-03-07 23:45:28,601 5132 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.47.1'
2024-03-07 23:45:30,631 5132 [DEBUG] - Attempting rollback
2024-03-07 23:45:30,631 5132 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1 to C:\ProgramData\chocolatey\lib\lacework-cli
2024-03-07 23:45:30,647 5132 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.47.1'
to 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-07 23:45:32,662 5132 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-03-07 23:45:32,678 5132 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2024-03-07 23:45:32,741 5132 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-07 23:45:32,741 5132 [INFO ] -
2024-03-07 23:45:32,741 5132 [ERROR] - Failures
2024-03-07 23:45:32,759 5132 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-03-07 23:45:32,776 5132 [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.
2024-03-07 23:45:32,788 5132 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-07 23:45:32,804 5132 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment