Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 30, 2024 14:10
Show Gist options
  • Save choco-bot/90499fcf2bd637e58587f09390593ee4 to your computer and use it in GitHub Desktop.
Save choco-bot/90499fcf2bd637e58587f09390593ee4 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 May 2024 14:10:16 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • 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-05-30 14:09:22,169 1280 [DEBUG] - XmlConfiguration is now operational
2024-05-30 14:09:22,297 1280 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,312 1280 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,312 1280 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,312 1280 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,312 1280 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,312 1280 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,332 1280 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,342 1280 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,342 1280 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:09:22,342 1280 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-30 14:09:22,342 1280 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-30 14:09:23,160 1280 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,160 1280 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,171 1280 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,192 1280 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,192 1280 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:09:23,221 1280 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-30 14:09:23,221 1280 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-30 14:09:23,233 1280 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-30 14:09:23,255 1280 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-30 14:09:23,255 1280 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-30 14:09:23,255 1280 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-30 14:09:23,264 1280 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-30 14:09:23,286 1280 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-30 14:09:23,286 1280 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-30 14:09:23,295 1280 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-30 14:09:23,530 1280 [INFO ] - ============================================================
2024-05-30 14:09:23,890 1280 [INFO ] - Chocolatey v2.2.2
2024-05-30 14:09:23,906 1280 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-30 14:09:23,923 1280 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-30 14:09:23,923 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-30 14:09:23,952 1280 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.50.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-30 14:09:23,952 1280 [DEBUG] - Received arguments: install lacework-cli --version 1.50.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-30 14:09:24,096 1280 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-30 14:09:24,109 1280 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-30 14:09:24,142 1280 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-30 14:09:24,308 1280 [DEBUG] - Performing validation checks.
2024-05-30 14:09:24,308 1280 [DEBUG] - Global Configuration Validation Checks:
2024-05-30 14:09:24,330 1280 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-30 14:09:24,344 1280 [DEBUG] - System State Validation Checks:
2024-05-30 14:09:24,344 1280 [DEBUG] - Reboot Requirement Checks:
2024-05-30 14:09:24,361 1280 [DEBUG] - - Pending Computer Rename = Checked
2024-05-30 14:09:24,361 1280 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-30 14:09:24,374 1280 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-30 14:09:24,374 1280 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-30 14:09:24,374 1280 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-30 14:09:24,393 1280 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-30 14:09:24,393 1280 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-30 14:09:24,406 1280 [DEBUG] - - Elevated State = Checked
2024-05-30 14:09:24,406 1280 [DEBUG] - - Folder Exists = Checked
2024-05-30 14:09:24,436 1280 [DEBUG] - - Folder lockdown = Checked
2024-05-30 14:09:24,457 1280 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-30 14:09:24,498 1280 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-30 14:09:24,498 1280 [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-05-30 14:09:24,528 1280 [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-TM4K3K5SD66'|
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-05-30 14:09:24,528 1280 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-05-30 14:09:24,553 1280 [INFO ] - Installing the following packages:
2024-05-30 14:09:24,559 1280 [INFO ] - lacework-cli
2024-05-30 14:09:24,559 1280 [INFO ] - By installing, you accept licenses for the packages.
2024-05-30 14:09:24,582 1280 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-30 14:09:24,582 1280 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-30 14:09:24,592 1280 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-30 14:09:24,592 1280 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-30 14:09:24,592 1280 [DEBUG] - * 'ChocolateyLastPathUpdate'='133615482642770037' ('User')
2024-05-30 14:09:24,592 1280 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-30 14:09:24,592 1280 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-30 14:09:24,614 1280 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-30 14:09:24,614 1280 [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-05-30 14:09:24,623 1280 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-30 14:09:24,623 1280 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-30 14:09:24,623 1280 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-30 14:09:24,623 1280 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-30 14:09:24,623 1280 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-30 14:09:24,623 1280 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-30 14:09:24,645 1280 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-30 14:09:24,645 1280 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-30 14:09:24,655 1280 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-30 14:09:24,655 1280 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-30 14:09:24,655 1280 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-30 14:09:24,655 1280 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-30 14:09:25,125 1280 [DEBUG] - Running list with the following filter = ''
2024-05-30 14:09:25,125 1280 [DEBUG] - --- Start of List ---
2024-05-30 14:09:25,185 1280 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-30 14:09:25,641 1280 [DEBUG] - chocolatey 2.2.2
2024-05-30 14:09:25,656 1280 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-30 14:09:25,673 1280 [DEBUG] - KB2919355 1.0.20160915
2024-05-30 14:09:25,688 1280 [DEBUG] - KB2919442 1.0.20160915
2024-05-30 14:09:25,688 1280 [DEBUG] - KB2999226 1.0.20181019
2024-05-30 14:09:25,688 1280 [DEBUG] - KB3035131 1.0.3
2024-05-30 14:09:25,718 1280 [DEBUG] - KB3118401 1.0.5
2024-05-30 14:09:25,738 1280 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-30 14:09:25,738 1280 [DEBUG] - --- End of List ---
2024-05-30 14:09:25,750 1280 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-05-30 14:09:26,418 1280 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-05-30 14:09:26,987 1280 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0')
2024-05-30 14:09:27,236 1280 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0') 249ms
2024-05-30 14:09:27,394 1280 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-05-30 14:09:28,058 1280 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-05-30 14:09:28,058 1280 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.50.0')
2024-05-30 14:09:28,265 1280 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-05-30 14:09:28,295 1280 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-05-30 14:09:28,341 1280 [DEBUG] - Attempting to delete file "".
2024-05-30 14:09:28,392 1280 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/lacework-cli/1.50.0
2024-05-30 14:09:28,685 1280 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/lacework-cli/1.50.0 293ms
2024-05-30 14:09:28,736 1280 [INFO ] - [NuGet] Acquiring lock for the installation of lacework-cli 1.50.0
2024-05-30 14:09:28,813 1280 [INFO ] - [NuGet] Acquired lock for the installation of lacework-cli 1.50.0
2024-05-30 14:09:29,155 1280 [INFO ] - [NuGet] Installed lacework-cli 1.50.0 from https://community.chocolatey.org/api/v2/ with content hash Xrqpd+Y7HEOCGRO3wnqNEpaIOucMGgfsFj9W2BkoIUd77Z8/awH/YjkohD2pCiFK8VUwQW2aUmc5gmHzGHtbVA==.
2024-05-30 14:09:29,234 1280 [INFO ] - [NuGet] Adding package 'lacework-cli.1.50.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-30 14:09:29,313 1280 [INFO ] - [NuGet] Added package 'lacework-cli.1.50.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-30 14:09:29,330 1280 [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-05-30 14:09:29,330 1280 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.50.0\.nupkg.metadata".
2024-05-30 14:09:29,343 1280 [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-05-30 14:09:29,343 1280 [INFO ] -
lacework-cli v1.50.0 (forced) [Approved]
2024-05-30 14:09:29,423 1280 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2024-05-30 14:09:29,500 1280 [DEBUG] - Setting installer args for lacework-cli
2024-05-30 14:09:29,514 1280 [DEBUG] - Setting package parameters for lacework-cli
2024-05-30 14:09:29,514 1280 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2024-05-30 14:09:29,534 1280 [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-05-30 14:09:29,565 1280 [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-05-30 14:09:29,576 1280 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-30 14:09:30,141 1280 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-30 14:09:30,626 1280 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-30 14:09:30,626 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-30 14:09:30,626 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-30 14:09:30,643 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-30 14:09:30,643 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-30 14:09:30,643 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-30 14:09:30,659 1280 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-30 14:09:30,659 1280 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-30 14:09:30,659 1280 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-30 14:09:30,674 1280 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-30 14:09:30,674 1280 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-30 14:09:30,674 1280 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:09:30,690 1280 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-30 14:09:30,690 1280 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-30 14:09:30,690 1280 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-30 14:09:30,704 1280 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-30 14:09:30,704 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-30 14:09:30,704 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-30 14:09:30,720 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-30 14:09:30,720 1280 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-30 14:09:30,720 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:30,720 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:09:30,738 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:09:30,738 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:09:30,738 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-30 14:09:30,751 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-30 14:09:30,751 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:09:30,751 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:09:30,768 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-30 14:09:30,768 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:09:30,768 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-30 14:09:30,782 1280 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-30 14:09:30,782 1280 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-30 14:09:30,782 1280 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-30 14:09:30,797 1280 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:09:30,797 1280 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-30 14:09:30,797 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-30 14:09:30,797 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:30,816 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:09:30,816 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:09:30,816 1280 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-30 14:09:30,828 1280 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-30 14:09:30,828 1280 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-30 14:09:30,828 1280 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-30 14:09:30,846 1280 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-30 14:09:30,846 1280 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-30 14:09:30,846 1280 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-30 14:09:30,846 1280 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-30 14:09:30,861 1280 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:09:30,861 1280 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-30 14:09:30,861 1280 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-30 14:09:30,890 1280 [DEBUG] - Loading community extensions
2024-05-30 14:09:30,942 1280 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-30 14:09:30,942 1280 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-30 14:09:31,065 1280 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-30 14:09:31,065 1280 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-30 14:09:31,078 1280 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-30 14:09:31,078 1280 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-30 14:09:31,078 1280 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-30 14:09:31,098 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-30 14:09:31,098 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-30 14:09:31,108 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-30 14:09:31,108 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-30 14:09:31,108 1280 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-30 14:09:31,108 1280 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-30 14:09:31,130 1280 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-30 14:09:31,130 1280 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-30 14:09:31,138 1280 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-30 14:09:31,138 1280 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-30 14:09:31,138 1280 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:09:31,138 1280 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-30 14:09:31,138 1280 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-30 14:09:31,163 1280 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-30 14:09:31,168 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:31,196 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:09:31,200 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:09:31,200 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:09:31,200 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-30 14:09:31,200 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-30 14:09:31,200 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:09:31,226 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:09:31,232 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-30 14:09:31,232 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:09:31,232 1280 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-30 14:09:31,232 1280 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-30 14:09:31,232 1280 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-30 14:09:31,257 1280 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:09:31,262 1280 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:09:31,289 1280 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-30 14:09:31,293 1280 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-30 14:09:31,324 1280 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-30 14:09:31,354 1280 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-30 14:09:31,388 1280 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-30 14:09:31,388 1280 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-30 14:09:31,388 1280 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-30 14:09:31,388 1280 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-30 14:09:31,414 1280 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:09:31,419 1280 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-30 14:09:31,419 1280 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-30 14:09:31,419 1280 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-30 14:09:31,441 1280 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-30 14:09:31,441 1280 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-30 14:09:31,453 1280 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-30 14:09:31,453 1280 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-30 14:09:31,453 1280 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-30 14:09:31,453 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:31,473 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:09:31,473 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:09:31,484 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:09:31,484 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-30 14:09:31,484 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-30 14:09:31,484 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:09:31,505 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:09:31,505 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-30 14:09:31,515 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:09:31,515 1280 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-30 14:09:31,515 1280 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-30 14:09:31,515 1280 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-30 14:09:31,536 1280 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-30 14:09:31,536 1280 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-30 14:09:31,546 1280 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:09:31,546 1280 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-30 14:09:31,546 1280 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-30 14:09:31,546 1280 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-30 14:09:31,567 1280 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:09:31,567 1280 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:09:31,577 1280 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:09:31,577 1280 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-30 14:09:31,577 1280 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-30 14:09:31,577 1280 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-30 14:09:31,577 1280 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-30 14:09:31,600 1280 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-30 14:09:31,607 1280 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-30 14:09:31,607 1280 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-30 14:09:31,607 1280 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:09:31,607 1280 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-30 14:09:31,630 1280 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-30 14:09:31,630 1280 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-30 14:09:31,721 1280 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-30 14:09:31,738 1280 [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-05-30 14:09:31,780 1280 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2024-05-30 14:09:31,971 1280 [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-05-30 14:09:32,141 1280 [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-05-30 14:09:32,202 1280 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-05-30 14:09:32,246 1280 [DEBUG] - CPU is 64 bit
2024-05-30 14:09:32,246 1280 [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-05-30 14:09:32,361 1280 [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-05-30 14:09:33,376 1280 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2024-05-30 14:09:33,390 1280 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2024-05-30 14:09:33,484 1280 [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-05-30 14:09:33,484 1280 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-30 14:09:33,484 1280 [DEBUG] - Request Headers:
2024-05-30 14:09:33,514 1280 [DEBUG] - 'Accept':'*/*'
2024-05-30 14:09:33,514 1280 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-05-30 14:09:33,830 1280 [DEBUG] - Response Headers:
2024-05-30 14:09:33,858 1280 [DEBUG] - 'Connection':'keep-alive'
2024-05-30 14:09:33,858 1280 [DEBUG] - 'x-ms-request-id':'d8987e62-901e-0065-366c-b24f11000000'
2024-05-30 14:09:33,858 1280 [DEBUG] - 'x-ms-version':'2020-10-02'
2024-05-30 14:09:33,858 1280 [DEBUG] - 'x-ms-creation-time':'Mon, 29 Apr 2024 23:26:35 GMT'
2024-05-30 14:09:33,881 1280 [DEBUG] - 'x-ms-lease-status':'unlocked'
2024-05-30 14:09:33,881 1280 [DEBUG] - 'x-ms-lease-state':'available'
2024-05-30 14:09:33,890 1280 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2024-05-30 14:09:33,890 1280 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2024-05-30 14:09:33,890 1280 [DEBUG] - 'x-ms-server-encrypted':'true'
2024-05-30 14:09:33,890 1280 [DEBUG] - 'Age':'1'
2024-05-30 14:09:33,912 1280 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000146-IAD, cache-mci680036-MCI'
2024-05-30 14:09:33,912 1280 [DEBUG] - 'X-Cache':'HIT, HIT'
2024-05-30 14:09:33,921 1280 [DEBUG] - 'X-Cache-Hits':'0, 0'
2024-05-30 14:09:33,921 1280 [DEBUG] - 'X-Timer':'S1717078174.642037,VS0,VE191'
2024-05-30 14:09:33,921 1280 [DEBUG] - 'Accept-Ranges':'bytes'
2024-05-30 14:09:33,921 1280 [DEBUG] - 'Content-Length':'24648712'
2024-05-30 14:09:33,942 1280 [DEBUG] - 'Content-Type':'application/octet-stream'
2024-05-30 14:09:33,942 1280 [DEBUG] - 'Date':'Thu, 30 May 2024 14:09:33 GMT'
2024-05-30 14:09:33,942 1280 [DEBUG] - 'ETag':'"0x8DC68A3CFDF1ABF"'
2024-05-30 14:09:33,954 1280 [DEBUG] - 'Last-Modified':'Mon, 29 Apr 2024 23:26:35 GMT'
2024-05-30 14:09:33,954 1280 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2024-05-30 14:09:33,954 1280 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2024-05-30 14:09:33,995 1280 [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-05-30 14:09:34,082 1280 [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-05-30 14:09:34,092 1280 [DEBUG] - Setting request timeout to 30000
2024-05-30 14:09:34,092 1280 [DEBUG] - Setting read/write timeout to 2700000
2024-05-30 14:09:34,092 1280 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-30 14:09:34,655 1280 [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-05-30 14:09:36,469 1280 [INFO ] -
2024-05-30 14:09:36,491 1280 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (23.51 MB) completed.
2024-05-30 14:09:39,543 1280 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-05-30 14:09:39,543 1280 [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-05-30 14:09:39,577 1280 [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-05-30 14:09:39,609 1280 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-05-30 14:09:39,609 1280 [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-05-30 14:09:40,779 1280 [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-05-30 14:09:40,840 1280 [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-05-30 14:09:40,840 1280 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-05-30 14:09:40,872 1280 [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-05-30 14:09:40,905 1280 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-05-30 14:09:40,936 1280 [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-05-30 14:09:41,938 1280 [INFO ] - VERBOSE:
2024-05-30 14:09:41,938 1280 [INFO ] - VERBOSE:
2024-05-30 14:09:41,959 1280 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-05-30 14:09:41,970 1280 [INFO ] - VERBOSE: 1 file, 24648712 bytes (24 MiB)
2024-05-30 14:09:41,970 1280 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-05-30 14:09:41,970 1280 [INFO ] - VERBOSE:
2024-05-30 14:09:41,988 1280 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip
2024-05-30 14:09:41,988 1280 [INFO ] - VERBOSE: --
2024-05-30 14:09:42,003 1280 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.50.0\lacework-cli-windows-amd64.exe.zip
2024-05-30 14:09:42,003 1280 [INFO ] - VERBOSE: - bin\lacework.exe
2024-05-30 14:09:42,034 1280 [INFO ] - VERBOSE: Physical Size = 24648712
2024-05-30 14:09:42,034 1280 [INFO ] - VERBOSE:
2024-05-30 14:09:42,034 1280 [INFO ] - VERBOSE: Type = zip
2024-05-30 14:09:42,049 1280 [INFO ] - VERBOSE: Everything is Ok
2024-05-30 14:09:42,049 1280 [INFO ] - VERBOSE:
2024-05-30 14:09:42,049 1280 [INFO ] - VERBOSE: Size: 56901008
2024-05-30 14:09:42,066 1280 [INFO ] - VERBOSE: Compressed: 24648712
2024-05-30 14:09:42,112 1280 [DEBUG] - $exitCode was passed null
2024-05-30 14:09:42,112 1280 [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-05-30 14:09:42,157 1280 [DEBUG] - 7z exit code: 0
2024-05-30 14:09:42,177 1280 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2024-05-30 14:09:42,190 1280 [DEBUG] - ----------------------------------------------------------------------
2024-05-30 14:09:42,206 1280 [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-05-30 14:09:42,206 1280 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-30 14:09:42,333 1280 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-30 14:09:42,513 1280 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-05-30 14:09:42,537 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-05-30 14:09:42,537 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'CE423FFE1B61F8046738C1DC723B58ED'
2024-05-30 14:09:42,548 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '8C856A2B6A81A2F2CBFF9F4C546EF917'
2024-05-30 14:09:42,548 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum 'BFB6D669D291F77A4BD2BD8FB44AC0DF'
2024-05-30 14:09:42,548 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-05-30 14:09:42,767 1280 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'A87E8AC84E663DEC5E7949706899B5EF'
2024-05-30 14:09:42,799 1280 [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-05-30 14:09:43,779 1280 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2024-05-30 14:09:43,779 1280 [DEBUG] - [ShimGen] Selected Icon is invalid
2024-05-30 14:09:44,105 1280 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2024-05-30 14:09:44,129 1280 [DEBUG] - [ShimGen] for C# 5
2024-05-30 14:09:44,138 1280 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2024-05-30 14:09:44,138 1280 [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-05-30 14:09:44,160 1280 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2024-05-30 14:09:44,170 1280 [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-05-30 14:09:44,170 1280 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2024-05-30 14:09:44,170 1280 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2024-05-30 14:09:44,234 1280 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0".
2024-05-30 14:09:44,262 1280 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.files'
2024-05-30 14:09:44,262 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.extra".
2024-05-30 14:09:44,289 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.version".
2024-05-30 14:09:44,297 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.sxs".
2024-05-30 14:09:44,297 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.50.0\.pin".
2024-05-30 14:09:44,297 1280 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-30 14:09:44,319 1280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2024-05-30 14:09:44,330 1280 [INFO ] - The install of lacework-cli was successful.
2024-05-30 14:09:44,347 1280 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2024-05-30 14:09:44,387 1280 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-30 14:09:44,387 1280 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-30 14:09:44,418 1280 [DEBUG] - Exiting with 0
2024-05-30 14:10:00,126 4792 [DEBUG] - XmlConfiguration is now operational
2024-05-30 14:10:00,254 4792 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,268 4792 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,268 4792 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,268 4792 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,268 4792 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,287 4792 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,287 4792 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,287 4792 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,299 4792 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-30 14:10:00,299 4792 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-30 14:10:00,320 4792 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-30 14:10:01,115 4792 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,115 4792 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,128 4792 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,128 4792 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,128 4792 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,128 4792 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,128 4792 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,147 4792 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,147 4792 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,147 4792 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-30 14:10:01,176 4792 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-30 14:10:01,186 4792 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-30 14:10:01,213 4792 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-30 14:10:01,217 4792 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-30 14:10:01,249 4792 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-30 14:10:01,249 4792 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-30 14:10:01,249 4792 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-30 14:10:01,249 4792 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-30 14:10:01,249 4792 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-30 14:10:01,534 4792 [INFO ] - ============================================================
2024-05-30 14:10:01,892 4792 [INFO ] - Chocolatey v2.2.2
2024-05-30 14:10:01,911 4792 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-30 14:10:01,924 4792 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-30 14:10:01,924 4792 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-30 14:10:01,940 4792 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.50.0 -dvy --execution-timeout=2700
2024-05-30 14:10:01,940 4792 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.50.0 -dvy --execution-timeout=2700
2024-05-30 14:10:02,097 4792 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-30 14:10:02,111 4792 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-30 14:10:02,143 4792 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-30 14:10:02,282 4792 [DEBUG] - Performing validation checks.
2024-05-30 14:10:02,282 4792 [DEBUG] - Global Configuration Validation Checks:
2024-05-30 14:10:02,299 4792 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-30 14:10:02,299 4792 [DEBUG] - System State Validation Checks:
2024-05-30 14:10:02,317 4792 [DEBUG] - Reboot Requirement Checks:
2024-05-30 14:10:02,330 4792 [DEBUG] - - Pending Computer Rename = Checked
2024-05-30 14:10:02,330 4792 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-30 14:10:02,330 4792 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-30 14:10:02,349 4792 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-30 14:10:02,349 4792 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-30 14:10:02,361 4792 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-30 14:10:02,361 4792 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-30 14:10:02,379 4792 [DEBUG] - - Elevated State = Checked
2024-05-30 14:10:02,379 4792 [DEBUG] - - Folder Exists = Checked
2024-05-30 14:10:02,394 4792 [DEBUG] - - Folder lockdown = Checked
2024-05-30 14:10:02,409 4792 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-30 14:10:02,456 4792 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-30 14:10:02,456 4792 [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-05-30 14:10:02,488 4792 [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-TM4K3K5SD66'|
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-05-30 14:10:02,488 4792 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-05-30 14:10:02,505 4792 [INFO ] - Uninstalling the following packages:
2024-05-30 14:10:02,515 4792 [INFO ] - lacework-cli
2024-05-30 14:10:02,537 4792 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-30 14:10:02,537 4792 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-30 14:10:02,549 4792 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-30 14:10:02,549 4792 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-30 14:10:02,549 4792 [DEBUG] - * 'ChocolateyLastPathUpdate'='133615482642770037' ('User')
2024-05-30 14:10:02,549 4792 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-30 14:10:02,570 4792 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-30 14:10:02,570 4792 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-30 14:10:02,579 4792 [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-05-30 14:10:02,579 4792 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-30 14:10:02,579 4792 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-30 14:10:02,579 4792 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-30 14:10:02,601 4792 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-30 14:10:02,601 4792 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-30 14:10:02,601 4792 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-30 14:10:02,611 4792 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-30 14:10:02,611 4792 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-30 14:10:02,611 4792 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-30 14:10:02,611 4792 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-30 14:10:02,632 4792 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-30 14:10:02,632 4792 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-30 14:10:02,846 4792 [DEBUG] - Running list with the following filter = ''
2024-05-30 14:10:02,878 4792 [DEBUG] - --- Start of List ---
2024-05-30 14:10:03,126 4792 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-30 14:10:03,645 4792 [DEBUG] - chocolatey 2.2.2
2024-05-30 14:10:03,657 4792 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-30 14:10:03,657 4792 [DEBUG] - KB2919355 1.0.20160915
2024-05-30 14:10:03,680 4792 [DEBUG] - KB2919442 1.0.20160915
2024-05-30 14:10:03,686 4792 [DEBUG] - KB2999226 1.0.20181019
2024-05-30 14:10:03,686 4792 [DEBUG] - KB3035131 1.0.3
2024-05-30 14:10:03,686 4792 [DEBUG] - KB3118401 1.0.5
2024-05-30 14:10:03,751 4792 [DEBUG] - lacework-cli 1.50.0
2024-05-30 14:10:03,774 4792 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-30 14:10:03,774 4792 [DEBUG] - --- End of List ---
2024-05-30 14:10:03,782 4792 [DEBUG] - Running list with the following filter = ''
2024-05-30 14:10:03,782 4792 [DEBUG] - --- Start of List ---
2024-05-30 14:10:03,815 4792 [DEBUG] - chocolatey 2.2.2
2024-05-30 14:10:03,815 4792 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-30 14:10:03,835 4792 [DEBUG] - KB2919355 1.0.20160915
2024-05-30 14:10:03,835 4792 [DEBUG] - KB2919442 1.0.20160915
2024-05-30 14:10:03,845 4792 [DEBUG] - KB2999226 1.0.20181019
2024-05-30 14:10:03,845 4792 [DEBUG] - KB3035131 1.0.3
2024-05-30 14:10:03,866 4792 [DEBUG] - KB3118401 1.0.5
2024-05-30 14:10:03,898 4792 [DEBUG] - lacework-cli 1.50.0
2024-05-30 14:10:03,904 4792 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-30 14:10:03,904 4792 [DEBUG] - --- End of List ---
2024-05-30 14:10:03,988 4792 [DEBUG] - Running list with the following filter = ''
2024-05-30 14:10:03,988 4792 [DEBUG] - --- Start of List ---
2024-05-30 14:10:04,021 4792 [DEBUG] - chocolatey 2.2.2
2024-05-30 14:10:04,035 4792 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-30 14:10:04,035 4792 [DEBUG] - KB2919355 1.0.20160915
2024-05-30 14:10:04,052 4792 [DEBUG] - KB2919442 1.0.20160915
2024-05-30 14:10:04,065 4792 [DEBUG] - KB2999226 1.0.20181019
2024-05-30 14:10:04,065 4792 [DEBUG] - KB3035131 1.0.3
2024-05-30 14:10:04,084 4792 [DEBUG] - KB3118401 1.0.5
2024-05-30 14:10:04,096 4792 [DEBUG] - lacework-cli 1.50.0
2024-05-30 14:10:04,115 4792 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-30 14:10:04,115 4792 [DEBUG] - --- End of List ---
2024-05-30 14:10:04,171 4792 [INFO ] -
lacework-cli v1.50.0
2024-05-30 14:10:04,235 4792 [DEBUG] - Running beforeModify step for 'lacework-cli'
2024-05-30 14:10:04,268 4792 [DEBUG] - Backing up package files for 'lacework-cli'
2024-05-30 14:10:04,404 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-05-30 14:10:04,404 4792 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0
2024-05-30 14:10:04,430 4792 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0'
2024-05-30 14:10:06,466 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2024-05-30 14:10:06,466 4792 [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-05-30 14:10:06,466 4792 [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-05-30 14:10:06,466 4792 [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-05-30 14:10:06,495 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2024-05-30 14:10:06,498 4792 [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-05-30 14:10:06,498 4792 [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-05-30 14:10:06,498 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2024-05-30 14:10:06,498 4792 [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-05-30 14:10:08,122 4792 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-05-30 14:10:08,122 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-05-30 14:10:08,122 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum 'CE423FFE1B61F8046738C1DC723B58ED'
2024-05-30 14:10:08,122 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum '8C856A2B6A81A2F2CBFF9F4C546EF917'
2024-05-30 14:10:08,154 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum 'BFB6D669D291F77A4BD2BD8FB44AC0DF'
2024-05-30 14:10:08,154 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-05-30 14:10:08,372 4792 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum 'A87E8AC84E663DEC5E7949706899B5EF'
2024-05-30 14:10:08,403 4792 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2024-05-30 14:10:08,435 4792 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2024-05-30 14:10:08,466 4792 [DEBUG] - Setting installer args for lacework-cli
2024-05-30 14:10:08,466 4792 [DEBUG] - Setting package parameters for lacework-cli
2024-05-30 14:10:08,466 4792 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2024-05-30 14:10:08,466 4792 [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-05-30 14:10:08,498 4792 [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-05-30 14:10:08,530 4792 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-30 14:10:09,270 4792 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-30 14:10:09,740 4792 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-30 14:10:09,740 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-30 14:10:09,753 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-30 14:10:09,753 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-30 14:10:09,753 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-30 14:10:09,773 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-30 14:10:09,773 4792 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-30 14:10:09,782 4792 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-30 14:10:09,782 4792 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-30 14:10:09,782 4792 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-30 14:10:09,782 4792 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-30 14:10:09,782 4792 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:10:09,805 4792 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-30 14:10:09,805 4792 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-30 14:10:09,814 4792 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-30 14:10:09,814 4792 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-30 14:10:09,814 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-30 14:10:09,814 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-30 14:10:09,836 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-30 14:10:09,842 4792 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-30 14:10:09,842 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:09,842 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:10:09,842 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:10:09,869 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:10:09,874 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-30 14:10:09,874 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-30 14:10:09,874 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:10:09,874 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:10:09,874 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-30 14:10:09,900 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:10:09,906 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-30 14:10:09,906 4792 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-30 14:10:09,906 4792 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-30 14:10:09,906 4792 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-30 14:10:09,906 4792 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:10:09,937 4792 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-30 14:10:09,937 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-30 14:10:09,937 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:09,937 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:10:09,958 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:10:09,958 4792 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-30 14:10:09,972 4792 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-30 14:10:09,972 4792 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-30 14:10:09,987 4792 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-30 14:10:09,987 4792 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-30 14:10:09,987 4792 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-30 14:10:10,002 4792 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-30 14:10:10,002 4792 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-30 14:10:10,002 4792 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:10:10,020 4792 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-30 14:10:10,020 4792 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-30 14:10:10,052 4792 [DEBUG] - Loading community extensions
2024-05-30 14:10:10,083 4792 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-30 14:10:10,083 4792 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-30 14:10:10,205 4792 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-30 14:10:10,205 4792 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-30 14:10:10,205 4792 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-30 14:10:10,223 4792 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-30 14:10:10,223 4792 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-30 14:10:10,237 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-30 14:10:10,237 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-30 14:10:10,237 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-30 14:10:10,253 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-30 14:10:10,253 4792 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-30 14:10:10,253 4792 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-30 14:10:10,268 4792 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-30 14:10:10,268 4792 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-30 14:10:10,268 4792 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-30 14:10:10,284 4792 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-30 14:10:10,284 4792 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:10:10,284 4792 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-30 14:10:10,300 4792 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-30 14:10:10,300 4792 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-30 14:10:10,300 4792 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-30 14:10:10,315 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-30 14:10:10,315 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-30 14:10:10,315 4792 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-30 14:10:10,331 4792 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-30 14:10:10,331 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:10,331 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:10:10,346 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:10:10,346 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:10:10,346 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-30 14:10:10,362 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-30 14:10:10,362 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:10:10,362 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:10:10,362 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-30 14:10:10,381 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:10:10,381 4792 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-30 14:10:10,391 4792 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-30 14:10:10,391 4792 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-30 14:10:10,391 4792 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-30 14:10:10,411 4792 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:10:10,411 4792 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-30 14:10:10,423 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-30 14:10:10,423 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:10,444 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:10:10,444 4792 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:10:10,453 4792 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-30 14:10:10,453 4792 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-30 14:10:10,453 4792 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-30 14:10:10,453 4792 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-30 14:10:10,473 4792 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-30 14:10:10,473 4792 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-30 14:10:10,473 4792 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-30 14:10:10,486 4792 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-30 14:10:10,486 4792 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-30 14:10:10,486 4792 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-30 14:10:10,504 4792 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:10:10,504 4792 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-30 14:10:10,504 4792 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-30 14:10:10,517 4792 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-30 14:10:10,517 4792 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-30 14:10:10,517 4792 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-30 14:10:10,535 4792 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-30 14:10:10,535 4792 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-30 14:10:10,535 4792 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-30 14:10:10,549 4792 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-30 14:10:10,549 4792 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-30 14:10:10,549 4792 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-30 14:10:10,549 4792 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-30 14:10:10,566 4792 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-30 14:10:10,566 4792 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-30 14:10:10,566 4792 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-30 14:10:10,580 4792 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-30 14:10:10,580 4792 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-30 14:10:10,580 4792 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-30 14:10:10,597 4792 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-30 14:10:10,597 4792 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-30 14:10:10,597 4792 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-30 14:10:10,612 4792 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-30 14:10:10,612 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:10,612 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-30 14:10:10,612 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-30 14:10:10,628 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-30 14:10:10,628 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-30 14:10:10,628 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-30 14:10:10,643 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-30 14:10:10,643 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-30 14:10:10,643 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-30 14:10:10,659 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-30 14:10:10,659 4792 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-30 14:10:10,659 4792 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-30 14:10:10,675 4792 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-30 14:10:10,675 4792 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-30 14:10:10,690 4792 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-30 14:10:10,690 4792 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-30 14:10:10,706 4792 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-30 14:10:10,706 4792 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-30 14:10:10,706 4792 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-30 14:10:10,706 4792 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-30 14:10:10,722 4792 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-30 14:10:10,722 4792 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-30 14:10:10,722 4792 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-30 14:10:10,737 4792 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-30 14:10:10,737 4792 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-30 14:10:10,737 4792 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-30 14:10:10,752 4792 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-30 14:10:10,752 4792 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-30 14:10:10,752 4792 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-30 14:10:10,768 4792 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-30 14:10:10,768 4792 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-30 14:10:10,768 4792 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-30 14:10:10,768 4792 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-30 14:10:10,892 4792 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-30 14:10:10,913 4792 [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-05-30 14:10:10,951 4792 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2024-05-30 14:10:11,048 4792 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2024-05-30 14:10:11,081 4792 [INFO ] - Uninstalling lacework-cli...
2024-05-30 14:10:11,208 4792 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2024-05-30 14:10:11,282 4792 [DEBUG] - Test-ProcessAdminRights: returning True
2024-05-30 14:10:11,344 4792 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2024-05-30 14:10:11,467 4792 [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-05-30 14:10:11,500 4792 [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-05-30 14:10:11,500 4792 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-30 14:10:11,629 4792 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-30 14:10:11,642 4792 [ERROR] - lacework-cli uninstall not successful.
2024-05-30 14:10:11,642 4792 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-05-30 14:10:11,642 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-05-30 14:10:11,662 4792 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\lacework-cli".
2024-05-30 14:10:11,662 4792 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.50.0
2024-05-30 14:10:11,676 4792 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.50.0'
2024-05-30 14:10:13,701 4792 [DEBUG] - Attempting rollback
2024-05-30 14:10:13,701 4792 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0 to C:\ProgramData\chocolatey\lib\lacework-cli
2024-05-30 14:10:13,701 4792 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.50.0'
to 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-05-30 14:10:15,737 4792 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-05-30 14:10:15,737 4792 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2024-05-30 14:10:15,787 4792 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-30 14:10:15,787 4792 [INFO ] -
2024-05-30 14:10:15,799 4792 [ERROR] - Failures
2024-05-30 14:10:15,799 4792 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-05-30 14:10:15,799 4792 [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-05-30 14:10:15,818 4792 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-30 14:10:15,830 4792 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment