Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created April 30, 2024 00:16
Show Gist options
  • Save choco-bot/ac81e8c52869dba0be80d939b14f7633 to your computer and use it in GitHub Desktop.
Save choco-bot/ac81e8c52869dba0be80d939b14f7633 to your computer and use it in GitHub Desktop.
lacework-cli v1.50.0 - Passed - Package Tests Results

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

  • https://community.chocolatey.org/packages/lacework-cli/1.50.0
  • Tested 30 Apr 2024 00:16:36 +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="CE423FFE1B61F8046738C1DC723B58ED" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec" checksum="8C856A2B6A81A2F2CBFF9F4C546EF917" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1" checksum="BFB6D669D291F77A4BD2BD8FB44AC0DF" />
<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="A87E8AC84E663DEC5E7949706899B5EF" />
</files>
</fileSnapshot>
2024-04-30 00:15:24,737 2456 [DEBUG] - XmlConfiguration is now operational
2024-04-30 00:15:24,891 2456 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,907 2456 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,907 2456 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,922 2456 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,922 2456 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,938 2456 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,938 2456 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,955 2456 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,955 2456 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:15:24,969 2456 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-04-30 00:15:24,969 2456 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-04-30 00:15:25,907 2456 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,907 2456 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,907 2456 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,922 2456 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,922 2456 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,938 2456 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,938 2456 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,938 2456 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,954 2456 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,954 2456 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:15:25,985 2456 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-04-30 00:15:25,985 2456 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-04-30 00:15:26,001 2456 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-04-30 00:15:26,001 2456 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-04-30 00:15:26,001 2456 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-04-30 00:15:26,016 2456 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-04-30 00:15:26,016 2456 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-04-30 00:15:26,016 2456 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-04-30 00:15:26,016 2456 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-04-30 00:15:26,035 2456 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-04-30 00:15:26,035 2456 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-04-30 00:15:26,047 2456 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-04-30 00:15:26,047 2456 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-04-30 00:15:26,047 2456 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-04-30 00:15:26,063 2456 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-04-30 00:15:26,063 2456 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-04-30 00:15:26,063 2456 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-04-30 00:15:26,078 2456 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-04-30 00:15:26,078 2456 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-04-30 00:15:26,078 2456 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-04-30 00:15:26,439 2456 [INFO ] - ============================================================
2024-04-30 00:15:27,001 2456 [INFO ] - Chocolatey v2.2.2
2024-04-30 00:15:27,035 2456 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-04-30 00:15:27,049 2456 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-04-30 00:15:27,049 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-04-30 00:15:27,079 2456 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.50.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-04-30 00:15:27,079 2456 [DEBUG] - Received arguments: install lacework-cli --version 1.50.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-04-30 00:15:27,282 2456 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-04-30 00:15:27,313 2456 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-04-30 00:15:27,344 2456 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-04-30 00:15:27,595 2456 [DEBUG] - Performing validation checks.
2024-04-30 00:15:27,610 2456 [DEBUG] - Global Configuration Validation Checks:
2024-04-30 00:15:27,626 2456 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-04-30 00:15:27,641 2456 [DEBUG] - System State Validation Checks:
2024-04-30 00:15:27,641 2456 [DEBUG] - Reboot Requirement Checks:
2024-04-30 00:15:27,656 2456 [DEBUG] - - Pending Computer Rename = Checked
2024-04-30 00:15:27,673 2456 [DEBUG] - - Pending Component Based Servicing = Checked
2024-04-30 00:15:27,673 2456 [DEBUG] - - Pending Windows Auto Update = Checked
2024-04-30 00:15:27,688 2456 [DEBUG] - - Pending File Rename Operations = Ignored
2024-04-30 00:15:27,688 2456 [DEBUG] - - Pending Windows Package Installer = Checked
2024-04-30 00:15:27,704 2456 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-04-30 00:15:27,704 2456 [DEBUG] - Cache Folder Lockdown Checks:
2024-04-30 00:15:27,720 2456 [DEBUG] - - Elevated State = Checked
2024-04-30 00:15:27,720 2456 [DEBUG] - - Folder Exists = Checked
2024-04-30 00:15:27,736 2456 [DEBUG] - - Folder lockdown = Checked
2024-04-30 00:15:27,751 2456 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-04-30 00:15:27,814 2456 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-04-30 00:15:27,814 2456 [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-04-30 00:15:27,891 2456 [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.50.0'|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-DJM5P2P17Q1'|
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-04-30 00:15:27,891 2456 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-04-30 00:15:27,922 2456 [INFO ] - Installing the following packages:
2024-04-30 00:15:27,939 2456 [INFO ] - lacework-cli
2024-04-30 00:15:27,953 2456 [INFO ] - By installing, you accept licenses for the packages.
2024-04-30 00:15:27,969 2456 [DEBUG] - Current environment values (may contain sensitive data):
2024-04-30 00:15:27,969 2456 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-04-30 00:15:27,985 2456 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-04-30 00:15:27,985 2456 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-04-30 00:15:28,001 2456 [DEBUG] - * 'ChocolateyLastPathUpdate'='133588687463797057' ('User')
2024-04-30 00:15:28,001 2456 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-04-30 00:15:28,001 2456 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-04-30 00:15:28,017 2456 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-04-30 00:15:28,017 2456 [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-04-30 00:15:28,032 2456 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-04-30 00:15:28,032 2456 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-04-30 00:15:28,220 2456 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-04-30 00:15:28,235 2456 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-04-30 00:15:28,235 2456 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-04-30 00:15:28,251 2456 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-04-30 00:15:28,251 2456 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-04-30 00:15:28,251 2456 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-04-30 00:15:28,267 2456 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-04-30 00:15:28,267 2456 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-04-30 00:15:28,281 2456 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-04-30 00:15:28,281 2456 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-04-30 00:15:28,954 2456 [DEBUG] - Running list with the following filter = ''
2024-04-30 00:15:28,971 2456 [DEBUG] - --- Start of List ---
2024-04-30 00:15:29,032 2456 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-04-30 00:15:29,643 2456 [DEBUG] - chocolatey 2.2.2
2024-04-30 00:15:29,657 2456 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-04-30 00:15:29,657 2456 [DEBUG] - KB2919355 1.0.20160915
2024-04-30 00:15:29,674 2456 [DEBUG] - KB2919442 1.0.20160915
2024-04-30 00:15:29,688 2456 [DEBUG] - KB2999226 1.0.20181019
2024-04-30 00:15:29,688 2456 [DEBUG] - KB3035131 1.0.3
2024-04-30 00:15:29,735 2456 [DEBUG] - KB3118401 1.0.5
2024-04-30 00:15:29,750 2456 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.16
2024-04-30 00:15:29,750 2456 [DEBUG] - --- End of List ---
2024-04-30 00:15:29,767 2456 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-04-30 00:15:30,407 2456 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-04-30 00:15:31,126 2456 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0')
2024-04-30 00:15:31,375 2456 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0') 239ms
2024-04-30 00:15:31,563 2456 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-04-30 00:15:32,220 2456 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-04-30 00:15:32,250 2456 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0')
2024-04-30 00:15:32,500 2456 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-04-30 00:15:32,533 2456 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-04-30 00:15:32,595 2456 [DEBUG] - Attempting to delete file "".
2024-04-30 00:15:32,656 2456 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/lacework-cli/1.50.0
2024-04-30 00:15:33,236 2456 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/lacework-cli/1.50.0 579ms
2024-04-30 00:15:33,313 2456 [INFO ] - [NuGet] Acquiring lock for the installation of lacework-cli 1.50.0
2024-04-30 00:15:33,406 2456 [INFO ] - [NuGet] Acquired lock for the installation of lacework-cli 1.50.0
2024-04-30 00:15:33,861 2456 [INFO ] - [NuGet] Installed lacework-cli 1.50.0 from https://community.chocolatey.org/api/v2/ with content hash Xrqpd+Y7HEOCGRO3wnqNEpaIOucMGgfsFj9W2BkoIUd77Z8/awH/YjkohD2pCiFK8VUwQW2aUmc5gmHzGHtbVA==.
2024-04-30 00:15:33,945 2456 [INFO ] - [NuGet] Adding package 'lacework-cli.1.50.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-04-30 00:15:34,048 2456 [INFO ] - [NuGet] Added package 'lacework-cli.1.50.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-04-30 00:15:34,063 2456 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.50.0\lacework-cli.1.50.0.nupkg".
2024-04-30 00:15:34,080 2456 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.50.0\.nupkg.metadata".
2024-04-30 00:15:34,080 2456 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.50.0\lacework-cli.1.50.0.nupkg.sha512".
2024-04-30 00:15:34,094 2456 [INFO ] -
lacework-cli v1.50.0 (forced)
2024-04-30 00:15:34,203 2456 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2024-04-30 00:15:34,298 2456 [DEBUG] - Setting installer args for lacework-cli
2024-04-30 00:15:34,298 2456 [DEBUG] - Setting package parameters for lacework-cli
2024-04-30 00:15:34,313 2456 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2024-04-30 00:15:34,330 2456 [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.50.0
$packageName = 'lacework-cli'
$toolsDir = "$( Split-Path -parent $MyInvocation.MyCommand.Definition )"
$url = "https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-386.exe.zip"
$url64 = "https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'zip'
url = $url
url64bit = $url64
softwareName = 'Lacework*'
checksum = '791efbee1d081740094520b8a8e84e310d813a5f011ddf77cedc28aa2550b7dd'
checksumType = 'sha256'
checksum64 = '221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0'
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-04-30 00:15:34,376 2456 [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-04-30 00:15:34,392 2456 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-04-30 00:15:35,408 2456 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-04-30 00:15:36,064 2456 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-04-30 00:15:36,079 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-04-30 00:15:36,079 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-04-30 00:15:36,095 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-04-30 00:15:36,095 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-04-30 00:15:36,095 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-04-30 00:15:36,110 2456 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-04-30 00:15:36,110 2456 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-04-30 00:15:36,126 2456 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-04-30 00:15:36,126 2456 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-04-30 00:15:36,141 2456 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-04-30 00:15:36,141 2456 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:15:36,157 2456 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-04-30 00:15:36,157 2456 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-04-30 00:15:36,157 2456 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-04-30 00:15:36,173 2456 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-04-30 00:15:36,173 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-04-30 00:15:36,189 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-04-30 00:15:36,205 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-04-30 00:15:36,205 2456 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-04-30 00:15:36,205 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:36,219 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:15:36,237 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:15:36,237 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:15:36,250 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-04-30 00:15:36,250 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-04-30 00:15:36,250 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:15:36,266 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:15:36,266 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-04-30 00:15:36,282 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:15:36,282 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-04-30 00:15:36,297 2456 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-04-30 00:15:36,297 2456 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-04-30 00:15:36,313 2456 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-04-30 00:15:36,313 2456 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:15:36,329 2456 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-04-30 00:15:36,329 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-04-30 00:15:36,329 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:36,344 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:15:36,344 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:15:36,360 2456 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-04-30 00:15:36,360 2456 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-04-30 00:15:36,375 2456 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-04-30 00:15:36,391 2456 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-04-30 00:15:36,391 2456 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-04-30 00:15:36,391 2456 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-04-30 00:15:36,407 2456 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-04-30 00:15:36,407 2456 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-04-30 00:15:36,423 2456 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:15:36,423 2456 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-04-30 00:15:36,439 2456 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-04-30 00:15:36,486 2456 [DEBUG] - Loading community extensions
2024-04-30 00:15:36,517 2456 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-04-30 00:15:36,533 2456 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-04-30 00:15:36,703 2456 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-04-30 00:15:36,703 2456 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-04-30 00:15:36,766 2456 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-04-30 00:15:36,766 2456 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-04-30 00:15:36,783 2456 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-04-30 00:15:36,798 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-04-30 00:15:36,798 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-04-30 00:15:36,814 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-04-30 00:15:36,829 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-04-30 00:15:36,829 2456 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-04-30 00:15:36,846 2456 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-04-30 00:15:36,846 2456 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-04-30 00:15:36,860 2456 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-04-30 00:15:36,860 2456 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-04-30 00:15:36,880 2456 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-04-30 00:15:36,880 2456 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:15:36,891 2456 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-04-30 00:15:36,891 2456 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-04-30 00:15:36,891 2456 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-04-30 00:15:36,906 2456 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-04-30 00:15:36,906 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-04-30 00:15:36,924 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-04-30 00:15:36,941 2456 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-04-30 00:15:36,941 2456 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-04-30 00:15:36,954 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:36,954 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:15:36,972 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:15:36,972 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:15:36,987 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-04-30 00:15:37,001 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-04-30 00:15:37,001 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:15:37,001 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:15:37,017 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-04-30 00:15:37,017 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:15:37,033 2456 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-04-30 00:15:37,033 2456 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-04-30 00:15:37,049 2456 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-04-30 00:15:37,049 2456 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-04-30 00:15:37,064 2456 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:15:37,064 2456 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-04-30 00:15:37,079 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-04-30 00:15:37,079 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:37,079 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:15:37,094 2456 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:15:37,094 2456 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-04-30 00:15:37,110 2456 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-04-30 00:15:37,110 2456 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-04-30 00:15:37,127 2456 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-04-30 00:15:37,127 2456 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-04-30 00:15:37,144 2456 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-04-30 00:15:37,144 2456 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-04-30 00:15:37,158 2456 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-04-30 00:15:37,158 2456 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-04-30 00:15:37,174 2456 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-04-30 00:15:37,174 2456 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:15:37,188 2456 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-04-30 00:15:37,188 2456 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-04-30 00:15:37,204 2456 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-04-30 00:15:37,204 2456 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-04-30 00:15:37,204 2456 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-04-30 00:15:37,219 2456 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-04-30 00:15:37,219 2456 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-04-30 00:15:37,236 2456 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-04-30 00:15:37,236 2456 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-04-30 00:15:37,251 2456 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-04-30 00:15:37,251 2456 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-04-30 00:15:37,266 2456 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-04-30 00:15:37,266 2456 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-04-30 00:15:37,282 2456 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:15:37,282 2456 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-04-30 00:15:37,282 2456 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-04-30 00:15:37,298 2456 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-04-30 00:15:37,298 2456 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-04-30 00:15:37,313 2456 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-04-30 00:15:37,313 2456 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-04-30 00:15:37,313 2456 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-04-30 00:15:37,328 2456 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-04-30 00:15:37,328 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:37,345 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:15:37,345 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:15:37,360 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:15:37,360 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-04-30 00:15:37,360 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-04-30 00:15:37,376 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:15:37,376 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:15:37,391 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-04-30 00:15:37,391 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:15:37,391 2456 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-04-30 00:15:37,407 2456 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-04-30 00:15:37,424 2456 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-04-30 00:15:37,424 2456 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-04-30 00:15:37,441 2456 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-04-30 00:15:37,441 2456 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:15:37,454 2456 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-04-30 00:15:37,454 2456 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-04-30 00:15:37,470 2456 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-04-30 00:15:37,470 2456 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:15:37,485 2456 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:15:37,485 2456 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:15:37,501 2456 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-04-30 00:15:37,501 2456 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-04-30 00:15:37,501 2456 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-04-30 00:15:37,516 2456 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-04-30 00:15:37,516 2456 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-04-30 00:15:37,532 2456 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-04-30 00:15:37,532 2456 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-04-30 00:15:37,548 2456 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:15:37,548 2456 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-04-30 00:15:37,564 2456 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-04-30 00:15:37,564 2456 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-04-30 00:15:37,720 2456 [DEBUG] - ---------------------------Script Execution---------------------------
2024-04-30 00:15:37,768 2456 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.50.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-04-30 00:15:37,860 2456 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2024-04-30 00:15:38,331 2456 [DEBUG] - Running Install-ChocolateyZipPackage -url 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-386.exe.zip' -unzipLocation 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip' -checksum '791efbee1d081740094520b8a8e84e310d813a5f011ddf77cedc28aa2550b7dd' -checksum64 '221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0' -checksumType 'sha256' -packageName 'lacework-cli' -checksumType64 'sha256'
2024-04-30 00:15:38,534 2456 [DEBUG] - Running Get-ChocolateyWebFile -checksum '791efbee1d081740094520b8a8e84e310d813a5f011ddf77cedc28aa2550b7dd' -checksumType 'sha256' -checksum64 '221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'lacework-cli' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cliInstall.zip' -url 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-386.exe.zip' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip'
2024-04-30 00:15:38,657 2456 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-04-30 00:15:38,766 2456 [DEBUG] - CPU is 64 bit
2024-04-30 00:15:38,813 2456 [DEBUG] - Setting url to 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip' and bitPackage to 64
2024-04-30 00:15:39,079 2456 [DEBUG] - Running Get-WebFileName -url 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip' -defaultName 'lacework-cliInstall.zip'
2024-04-30 00:15:40,516 2456 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2024-04-30 00:15:40,595 2456 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2024-04-30 00:15:40,688 2456 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip' -ErrorAction 'Stop'
2024-04-30 00:15:40,704 2456 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-04-30 00:15:40,704 2456 [DEBUG] - Request Headers:
2024-04-30 00:15:40,738 2456 [DEBUG] - 'Accept':'*/*'
2024-04-30 00:15:40,752 2456 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-04-30 00:15:41,079 2456 [DEBUG] - Response Headers:
2024-04-30 00:15:41,111 2456 [DEBUG] - 'Connection':'keep-alive'
2024-04-30 00:15:41,126 2456 [DEBUG] - 'x-ms-request-id':'947a9da5-101e-0036-1f93-9a6c25000000'
2024-04-30 00:15:41,141 2456 [DEBUG] - 'x-ms-version':'2020-10-02'
2024-04-30 00:15:41,141 2456 [DEBUG] - 'x-ms-creation-time':'Mon, 29 Apr 2024 23:26:35 GMT'
2024-04-30 00:15:41,158 2456 [DEBUG] - 'x-ms-lease-status':'unlocked'
2024-04-30 00:15:41,174 2456 [DEBUG] - 'x-ms-lease-state':'available'
2024-04-30 00:15:41,174 2456 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2024-04-30 00:15:41,189 2456 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2024-04-30 00:15:41,189 2456 [DEBUG] - 'x-ms-server-encrypted':'true'
2024-04-30 00:15:41,205 2456 [DEBUG] - 'Age':'1'
2024-04-30 00:15:41,205 2456 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000146-IAD, cache-mci680081-MCI'
2024-04-30 00:15:41,221 2456 [DEBUG] - 'X-Cache':'MISS, HIT'
2024-04-30 00:15:41,221 2456 [DEBUG] - 'X-Cache-Hits':'0, 0'
2024-04-30 00:15:41,237 2456 [DEBUG] - 'X-Timer':'S1714436141.885338,VS0,VE180'
2024-04-30 00:15:41,253 2456 [DEBUG] - 'Accept-Ranges':'bytes'
2024-04-30 00:15:41,253 2456 [DEBUG] - 'Content-Length':'24648712'
2024-04-30 00:15:41,267 2456 [DEBUG] - 'Content-Type':'application/octet-stream'
2024-04-30 00:15:41,267 2456 [DEBUG] - 'Date':'Tue, 30 Apr 2024 00:15:41 GMT'
2024-04-30 00:15:41,267 2456 [DEBUG] - 'ETag':'"0x8DC68A3CFDF1ABF"'
2024-04-30 00:15:41,283 2456 [DEBUG] - 'Last-Modified':'Mon, 29 Apr 2024 23:26:35 GMT'
2024-04-30 00:15:41,283 2456 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2024-04-30 00:15:41,298 2456 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2024-04-30 00:15:41,360 2456 [INFO ] - Downloading lacework-cli 64 bit
from 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip'
2024-04-30 00:15:41,485 2456 [DEBUG] - Running Get-WebFile -url 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip' -options 'System.Collections.Hashtable'
2024-04-30 00:15:41,501 2456 [DEBUG] - Setting request timeout to 30000
2024-04-30 00:15:41,516 2456 [DEBUG] - Setting read/write timeout to 2700000
2024-04-30 00:15:41,516 2456 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-04-30 00:15:42,500 2456 [DEBUG] - Downloading https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip
2024-04-30 00:15:45,470 2456 [INFO ] -
2024-04-30 00:15:45,502 2456 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (23.51 MB) completed.
2024-04-30 00:15:48,611 2456 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-04-30 00:15:48,628 2456 [DEBUG] - Verifying package provided checksum of '221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip'.
2024-04-30 00:15:48,705 2456 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip' -checksum '221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0' -checksumType 'sha256' -originalUrl 'https://github.com/lacework/go-sdk/releases/download/v1.50.0/lacework-cli-windows-amd64.exe.zip'
2024-04-30 00:15:48,770 2456 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-04-30 00:15:48,784 2456 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip"]
2024-04-30 00:15:50,362 2456 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="221b5b709f5baf915b84941e14060ac0112c8912311d9d8a81b6df9d6bd54be0" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-04-30 00:15:50,660 2456 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip' -destination 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -specificFolder '' -packageName 'lacework-cli'
2024-04-30 00:15:50,674 2456 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-04-30 00:15:50,740 2456 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip to C:\ProgramData\chocolatey\lib\lacework-cli\tools...
2024-04-30 00:15:50,833 2456 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-04-30 00:15:51,035 2456 [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.50.0\lacework-cli-windows-amd64.exe.zip"]
2024-04-30 00:15:52,769 2456 [INFO ] - VERBOSE:
2024-04-30 00:15:52,786 2456 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-04-30 00:15:52,819 2456 [INFO ] - VERBOSE: 1 file, 24648712 bytes (24 MiB)
2024-04-30 00:15:52,833 2456 [INFO ] - VERBOSE:
2024-04-30 00:15:52,863 2456 [INFO ] - VERBOSE:
2024-04-30 00:15:52,879 2456 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip
2024-04-30 00:15:52,894 2456 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-04-30 00:15:52,926 2456 [INFO ] - VERBOSE: --
2024-04-30 00:15:52,942 2456 [INFO ] - VERBOSE:
2024-04-30 00:15:52,972 2456 [INFO ] - VERBOSE: Physical Size = 24648712
2024-04-30 00:15:52,988 2456 [INFO ] - VERBOSE: Type = zip
2024-04-30 00:15:53,005 2456 [INFO ] - VERBOSE: - bin\lacework.exe
2024-04-30 00:15:53,096 2456 [INFO ] - VERBOSE: Everything is Ok
2024-04-30 00:15:53,132 2456 [INFO ] - VERBOSE:
2024-04-30 00:15:53,145 2456 [INFO ] - VERBOSE: Size: 56901008
2024-04-30 00:15:53,145 2456 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip
2024-04-30 00:15:53,163 2456 [INFO ] - VERBOSE: Compressed: 24648712
2024-04-30 00:15:53,393 2456 [DEBUG] - $exitCode was passed null
2024-04-30 00:15:53,393 2456 [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.50.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-04-30 00:15:53,488 2456 [DEBUG] - 7z exit code: 0
2024-04-30 00:15:53,598 2456 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2024-04-30 00:15:53,634 2456 [DEBUG] - ----------------------------------------------------------------------
2024-04-30 00:15:53,658 2456 [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-04-30 00:15:53,675 2456 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-04-30 00:15:53,831 2456 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-04-30 00:15:54,050 2456 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-04-30 00:15:54,066 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-04-30 00:15:54,066 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'CE423FFE1B61F8046738C1DC723B58ED'
2024-04-30 00:15:54,081 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '8C856A2B6A81A2F2CBFF9F4C546EF917'
2024-04-30 00:15:54,081 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum 'BFB6D669D291F77A4BD2BD8FB44AC0DF'
2024-04-30 00:15:54,097 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-04-30 00:15:54,347 2456 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'A87E8AC84E663DEC5E7949706899B5EF'
2024-04-30 00:15:54,409 2456 [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-04-30 00:15:55,863 2456 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2024-04-30 00:15:55,879 2456 [DEBUG] - [ShimGen] Selected Icon is invalid
2024-04-30 00:15:56,412 2456 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2024-04-30 00:15:56,425 2456 [DEBUG] - [ShimGen] for C# 5
2024-04-30 00:15:56,441 2456 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2024-04-30 00:15:56,441 2456 [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-04-30 00:15:56,457 2456 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2024-04-30 00:15:56,473 2456 [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-04-30 00:15:56,473 2456 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2024-04-30 00:15:56,488 2456 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2024-04-30 00:15:56,551 2456 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0".
2024-04-30 00:15:56,613 2456 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.files'
2024-04-30 00:15:56,677 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.extra".
2024-04-30 00:15:56,677 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.version".
2024-04-30 00:15:56,691 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.sxs".
2024-04-30 00:15:56,691 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.pin".
2024-04-30 00:15:56,707 2456 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-04-30 00:15:56,722 2456 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2024-04-30 00:15:56,739 2456 [INFO ] - The install of lacework-cli was successful.
2024-04-30 00:15:56,739 2456 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2024-04-30 00:15:56,786 2456 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-04-30 00:15:56,800 2456 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-04-30 00:15:56,816 2456 [DEBUG] - Exiting with 0
2024-04-30 00:16:16,597 4892 [DEBUG] - XmlConfiguration is now operational
2024-04-30 00:16:16,816 4892 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,816 4892 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,832 4892 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,832 4892 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,832 4892 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,848 4892 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,865 4892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,865 4892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,881 4892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-04-30 00:16:16,881 4892 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-04-30 00:16:16,881 4892 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-04-30 00:16:17,988 4892 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,004 4892 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,004 4892 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,020 4892 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,020 4892 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,020 4892 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,036 4892 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,036 4892 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,051 4892 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,051 4892 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-04-30 00:16:18,099 4892 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-04-30 00:16:18,116 4892 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-04-30 00:16:18,116 4892 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-04-30 00:16:18,116 4892 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-04-30 00:16:18,129 4892 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-04-30 00:16:18,129 4892 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-04-30 00:16:18,129 4892 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-04-30 00:16:18,146 4892 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-04-30 00:16:18,146 4892 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-04-30 00:16:18,162 4892 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-04-30 00:16:18,164 4892 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-04-30 00:16:18,164 4892 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-04-30 00:16:18,178 4892 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-04-30 00:16:18,178 4892 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-04-30 00:16:18,178 4892 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-04-30 00:16:18,193 4892 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-04-30 00:16:18,193 4892 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-04-30 00:16:18,193 4892 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-04-30 00:16:18,208 4892 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-04-30 00:16:18,208 4892 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-04-30 00:16:18,568 4892 [INFO ] - ============================================================
2024-04-30 00:16:19,068 4892 [INFO ] - Chocolatey v2.2.2
2024-04-30 00:16:19,115 4892 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-04-30 00:16:19,130 4892 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-04-30 00:16:19,130 4892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-04-30 00:16:19,166 4892 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.50.0 -dvy --execution-timeout=2700
2024-04-30 00:16:19,178 4892 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.50.0 -dvy --execution-timeout=2700
2024-04-30 00:16:19,395 4892 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-04-30 00:16:19,457 4892 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-04-30 00:16:19,489 4892 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-04-30 00:16:19,661 4892 [DEBUG] - Performing validation checks.
2024-04-30 00:16:19,678 4892 [DEBUG] - Global Configuration Validation Checks:
2024-04-30 00:16:19,693 4892 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-04-30 00:16:19,741 4892 [DEBUG] - System State Validation Checks:
2024-04-30 00:16:19,755 4892 [DEBUG] - Reboot Requirement Checks:
2024-04-30 00:16:19,770 4892 [DEBUG] - - Pending Computer Rename = Checked
2024-04-30 00:16:19,786 4892 [DEBUG] - - Pending Component Based Servicing = Checked
2024-04-30 00:16:19,786 4892 [DEBUG] - - Pending Windows Auto Update = Checked
2024-04-30 00:16:19,805 4892 [DEBUG] - - Pending File Rename Operations = Ignored
2024-04-30 00:16:19,816 4892 [DEBUG] - - Pending Windows Package Installer = Checked
2024-04-30 00:16:19,816 4892 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-04-30 00:16:19,834 4892 [DEBUG] - Cache Folder Lockdown Checks:
2024-04-30 00:16:19,834 4892 [DEBUG] - - Elevated State = Checked
2024-04-30 00:16:19,849 4892 [DEBUG] - - Folder Exists = Checked
2024-04-30 00:16:19,880 4892 [DEBUG] - - Folder lockdown = Checked
2024-04-30 00:16:19,896 4892 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-04-30 00:16:19,960 4892 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-04-30 00:16:19,974 4892 [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-04-30 00:16:20,036 4892 [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.50.0'|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-DJM5P2P17Q1'|
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-04-30 00:16:20,053 4892 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-04-30 00:16:20,068 4892 [INFO ] - Uninstalling the following packages:
2024-04-30 00:16:20,068 4892 [INFO ] - lacework-cli
2024-04-30 00:16:20,098 4892 [DEBUG] - Current environment values (may contain sensitive data):
2024-04-30 00:16:20,098 4892 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-04-30 00:16:20,114 4892 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-04-30 00:16:20,114 4892 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-04-30 00:16:20,130 4892 [DEBUG] - * 'ChocolateyLastPathUpdate'='133588687463797057' ('User')
2024-04-30 00:16:20,130 4892 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-04-30 00:16:20,130 4892 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-04-30 00:16:20,146 4892 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-04-30 00:16:20,146 4892 [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-04-30 00:16:20,161 4892 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-04-30 00:16:20,161 4892 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-04-30 00:16:20,161 4892 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-04-30 00:16:20,178 4892 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-04-30 00:16:20,178 4892 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-04-30 00:16:20,193 4892 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-04-30 00:16:20,193 4892 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-04-30 00:16:20,207 4892 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-04-30 00:16:20,207 4892 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-04-30 00:16:20,207 4892 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-04-30 00:16:20,226 4892 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-04-30 00:16:20,226 4892 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-04-30 00:16:20,521 4892 [DEBUG] - Running list with the following filter = ''
2024-04-30 00:16:20,536 4892 [DEBUG] - --- Start of List ---
2024-04-30 00:16:20,864 4892 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-04-30 00:16:21,598 4892 [DEBUG] - chocolatey 2.2.2
2024-04-30 00:16:21,613 4892 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-04-30 00:16:21,629 4892 [DEBUG] - KB2919355 1.0.20160915
2024-04-30 00:16:21,645 4892 [DEBUG] - KB2919442 1.0.20160915
2024-04-30 00:16:21,660 4892 [DEBUG] - KB2999226 1.0.20181019
2024-04-30 00:16:21,660 4892 [DEBUG] - KB3035131 1.0.3
2024-04-30 00:16:21,677 4892 [DEBUG] - KB3118401 1.0.5
2024-04-30 00:16:21,755 4892 [DEBUG] - lacework-cli 1.50.0
2024-04-30 00:16:21,770 4892 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.16
2024-04-30 00:16:21,770 4892 [DEBUG] - --- End of List ---
2024-04-30 00:16:21,786 4892 [DEBUG] - Running list with the following filter = ''
2024-04-30 00:16:21,786 4892 [DEBUG] - --- Start of List ---
2024-04-30 00:16:21,848 4892 [DEBUG] - chocolatey 2.2.2
2024-04-30 00:16:21,880 4892 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-04-30 00:16:21,880 4892 [DEBUG] - KB2919355 1.0.20160915
2024-04-30 00:16:21,912 4892 [DEBUG] - KB2919442 1.0.20160915
2024-04-30 00:16:21,912 4892 [DEBUG] - KB2999226 1.0.20181019
2024-04-30 00:16:21,944 4892 [DEBUG] - KB3035131 1.0.3
2024-04-30 00:16:21,958 4892 [DEBUG] - KB3118401 1.0.5
2024-04-30 00:16:21,989 4892 [DEBUG] - lacework-cli 1.50.0
2024-04-30 00:16:22,005 4892 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.16
2024-04-30 00:16:22,021 4892 [DEBUG] - --- End of List ---
2024-04-30 00:16:22,209 4892 [DEBUG] - Running list with the following filter = ''
2024-04-30 00:16:22,209 4892 [DEBUG] - --- Start of List ---
2024-04-30 00:16:22,273 4892 [DEBUG] - chocolatey 2.2.2
2024-04-30 00:16:22,292 4892 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-04-30 00:16:22,301 4892 [DEBUG] - KB2919355 1.0.20160915
2024-04-30 00:16:22,316 4892 [DEBUG] - KB2919442 1.0.20160915
2024-04-30 00:16:22,334 4892 [DEBUG] - KB2999226 1.0.20181019
2024-04-30 00:16:22,334 4892 [DEBUG] - KB3035131 1.0.3
2024-04-30 00:16:22,349 4892 [DEBUG] - KB3118401 1.0.5
2024-04-30 00:16:22,379 4892 [DEBUG] - lacework-cli 1.50.0
2024-04-30 00:16:22,396 4892 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.16
2024-04-30 00:16:22,411 4892 [DEBUG] - --- End of List ---
2024-04-30 00:16:22,537 4892 [INFO ] -
lacework-cli v1.50.0
2024-04-30 00:16:22,568 4892 [DEBUG] - Running beforeModify step for 'lacework-cli'
2024-04-30 00:16:22,613 4892 [DEBUG] - Backing up package files for 'lacework-cli'
2024-04-30 00:16:22,926 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-04-30 00:16:22,926 4892 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0
2024-04-30 00:16:22,958 4892 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0'
2024-04-30 00:16:24,973 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2024-04-30 00:16:24,989 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip.txt"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt".
2024-04-30 00:16:25,005 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\lacework-cli.nupkg"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg".
2024-04-30 00:16:25,021 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\lacework-cli.nuspec"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec".
2024-04-30 00:16:25,021 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2024-04-30 00:16:25,036 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1".
2024-04-30 00:16:25,052 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1".
2024-04-30 00:16:25,052 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2024-04-30 00:16:25,068 4892 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0\tools\bin\lacework.exe"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe".
2024-04-30 00:16:26,708 4892 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-04-30 00:16:26,724 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-04-30 00:16:26,724 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'CE423FFE1B61F8046738C1DC723B58ED'
2024-04-30 00:16:26,724 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '8C856A2B6A81A2F2CBFF9F4C546EF917'
2024-04-30 00:16:26,740 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum 'BFB6D669D291F77A4BD2BD8FB44AC0DF'
2024-04-30 00:16:26,740 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-04-30 00:16:26,974 4892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'A87E8AC84E663DEC5E7949706899B5EF'
2024-04-30 00:16:26,989 4892 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2024-04-30 00:16:27,005 4892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2024-04-30 00:16:27,035 4892 [DEBUG] - Setting installer args for lacework-cli
2024-04-30 00:16:27,035 4892 [DEBUG] - Setting package parameters for lacework-cli
2024-04-30 00:16:27,051 4892 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2024-04-30 00:16:27,051 4892 [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-04-30 00:16:27,114 4892 [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-04-30 00:16:27,130 4892 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-04-30 00:16:28,380 4892 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-04-30 00:16:29,037 4892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-04-30 00:16:29,069 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-04-30 00:16:29,069 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-04-30 00:16:29,084 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-04-30 00:16:29,084 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-04-30 00:16:29,098 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-04-30 00:16:29,098 4892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-04-30 00:16:29,098 4892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-04-30 00:16:29,114 4892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-04-30 00:16:29,114 4892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-04-30 00:16:29,130 4892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-04-30 00:16:29,130 4892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:16:29,130 4892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-04-30 00:16:29,146 4892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-04-30 00:16:29,146 4892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-04-30 00:16:29,161 4892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-04-30 00:16:29,161 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-04-30 00:16:29,161 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-04-30 00:16:29,177 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-04-30 00:16:29,177 4892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-04-30 00:16:29,193 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:29,193 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:16:29,208 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:16:29,208 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:16:29,224 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-04-30 00:16:29,240 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-04-30 00:16:29,240 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:16:29,255 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:16:29,255 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-04-30 00:16:29,275 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:16:29,287 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-04-30 00:16:29,287 4892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-04-30 00:16:29,302 4892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-04-30 00:16:29,302 4892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-04-30 00:16:29,318 4892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:16:29,318 4892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-04-30 00:16:29,333 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-04-30 00:16:29,333 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:29,349 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:16:29,364 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:16:29,364 4892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-04-30 00:16:29,380 4892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-04-30 00:16:29,396 4892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-04-30 00:16:29,396 4892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-04-30 00:16:29,412 4892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-04-30 00:16:29,412 4892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-04-30 00:16:29,427 4892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-04-30 00:16:29,427 4892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-04-30 00:16:29,443 4892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:16:29,443 4892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-04-30 00:16:29,458 4892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-04-30 00:16:29,504 4892 [DEBUG] - Loading community extensions
2024-04-30 00:16:29,553 4892 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-04-30 00:16:29,553 4892 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-04-30 00:16:29,708 4892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-04-30 00:16:29,708 4892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-04-30 00:16:29,723 4892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-04-30 00:16:29,739 4892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-04-30 00:16:29,756 4892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-04-30 00:16:29,756 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-04-30 00:16:29,772 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-04-30 00:16:29,787 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-04-30 00:16:29,802 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-04-30 00:16:29,802 4892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-04-30 00:16:29,818 4892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-04-30 00:16:29,818 4892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-04-30 00:16:29,818 4892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-04-30 00:16:29,836 4892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-04-30 00:16:29,849 4892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-04-30 00:16:29,849 4892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:16:29,865 4892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-04-30 00:16:29,865 4892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-04-30 00:16:29,880 4892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-04-30 00:16:29,880 4892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-04-30 00:16:29,880 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-04-30 00:16:29,896 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-04-30 00:16:29,911 4892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-04-30 00:16:29,911 4892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-04-30 00:16:29,911 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:29,927 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:16:29,927 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:16:29,942 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:16:29,942 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-04-30 00:16:29,959 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-04-30 00:16:29,959 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:16:29,959 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:16:29,973 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-04-30 00:16:29,989 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:16:29,989 4892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-04-30 00:16:30,005 4892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-04-30 00:16:30,020 4892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-04-30 00:16:30,020 4892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-04-30 00:16:30,035 4892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:16:30,035 4892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-04-30 00:16:30,035 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-04-30 00:16:30,052 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:30,069 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:16:30,069 4892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:16:30,083 4892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-04-30 00:16:30,083 4892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-04-30 00:16:30,099 4892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-04-30 00:16:30,099 4892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-04-30 00:16:30,114 4892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-04-30 00:16:30,114 4892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-04-30 00:16:30,129 4892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-04-30 00:16:30,129 4892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-04-30 00:16:30,129 4892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-04-30 00:16:30,145 4892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-04-30 00:16:30,145 4892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:16:30,162 4892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-04-30 00:16:30,162 4892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-04-30 00:16:30,178 4892 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-04-30 00:16:30,178 4892 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-04-30 00:16:30,193 4892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-04-30 00:16:30,193 4892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-04-30 00:16:30,208 4892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-04-30 00:16:30,224 4892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-04-30 00:16:30,224 4892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-04-30 00:16:30,238 4892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-04-30 00:16:30,238 4892 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-04-30 00:16:30,238 4892 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-04-30 00:16:30,254 4892 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-04-30 00:16:30,254 4892 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-04-30 00:16:30,270 4892 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-04-30 00:16:30,270 4892 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-04-30 00:16:30,287 4892 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-04-30 00:16:30,287 4892 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-04-30 00:16:30,301 4892 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-04-30 00:16:30,301 4892 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-04-30 00:16:30,317 4892 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-04-30 00:16:30,317 4892 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-04-30 00:16:30,333 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:30,333 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-04-30 00:16:30,333 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-04-30 00:16:30,349 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-04-30 00:16:30,365 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-04-30 00:16:30,365 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-04-30 00:16:30,380 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-04-30 00:16:30,380 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-04-30 00:16:30,380 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-04-30 00:16:30,396 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-04-30 00:16:30,396 4892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-04-30 00:16:30,412 4892 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-04-30 00:16:30,427 4892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-04-30 00:16:30,427 4892 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-04-30 00:16:30,427 4892 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-04-30 00:16:30,442 4892 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-04-30 00:16:30,442 4892 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-04-30 00:16:30,458 4892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-04-30 00:16:30,458 4892 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-04-30 00:16:30,476 4892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-04-30 00:16:30,476 4892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-04-30 00:16:30,489 4892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-04-30 00:16:30,489 4892 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-04-30 00:16:30,505 4892 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-04-30 00:16:30,505 4892 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-04-30 00:16:30,505 4892 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-04-30 00:16:30,521 4892 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-04-30 00:16:30,521 4892 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-04-30 00:16:30,536 4892 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-04-30 00:16:30,536 4892 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-04-30 00:16:30,554 4892 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-04-30 00:16:30,554 4892 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-04-30 00:16:30,567 4892 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-04-30 00:16:30,724 4892 [DEBUG] - ---------------------------Script Execution---------------------------
2024-04-30 00:16:30,801 4892 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.50.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-04-30 00:16:30,879 4892 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2024-04-30 00:16:31,164 4892 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2024-04-30 00:16:31,208 4892 [INFO ] - Uninstalling lacework-cli...
2024-04-30 00:16:31,395 4892 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2024-04-30 00:16:31,521 4892 [DEBUG] - Test-ProcessAdminRights: returning True
2024-04-30 00:16:31,615 4892 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2024-04-30 00:16:31,692 4892 [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-04-30 00:16:31,708 4892 [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-04-30 00:16:31,723 4892 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-04-30 00:16:31,880 4892 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-04-30 00:16:31,896 4892 [ERROR] - lacework-cli uninstall not successful.
2024-04-30 00:16:31,911 4892 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-04-30 00:16:31,911 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-04-30 00:16:31,927 4892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\lacework-cli".
2024-04-30 00:16:31,943 4892 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.50.0
2024-04-30 00:16:31,943 4892 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.50.0'
2024-04-30 00:16:33,974 4892 [DEBUG] - Attempting rollback
2024-04-30 00:16:33,974 4892 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0 to C:\ProgramData\chocolatey\lib\lacework-cli
2024-04-30 00:16:33,989 4892 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0'
to 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-04-30 00:16:36,021 4892 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-04-30 00:16:36,036 4892 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2024-04-30 00:16:36,099 4892 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-04-30 00:16:36,099 4892 [INFO ] -
2024-04-30 00:16:36,099 4892 [ERROR] - Failures
2024-04-30 00:16:36,121 4892 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-04-30 00:16:36,130 4892 [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-04-30 00:16:36,145 4892 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-04-30 00:16:36,162 4892 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment