Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created March 21, 2024 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/9b6147f1ed486da9b86dd9efc05e1da8 to your computer and use it in GitHub Desktop.
Save choco-bot/9b6147f1ed486da9b86dd9efc05e1da8 to your computer and use it in GitHub Desktop.
lacework-cli v1.48.0 - Passed - Package Tests Results

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

  • https://community.chocolatey.org/packages/lacework-cli/1.48.0
  • Tested 21 Mar 2024 22:15:20 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall failed (allowed). Note that the process may have hung, indicating a not completely silent uninstall. This is usually seen when the last entry in the log is calling the uninstall. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt" checksum="1A3C9A4A467DD0392A57632DD3840946" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg" checksum="011FA4A8E9D5759BD2A1FBF3DB81098C" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec" checksum="CCC8B26BBCFC927937700E1B33C46EEB" />
<file path="C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1" checksum="712C235F56F4D709B776EEB8BDD43B1C" />
<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="0E6FC30F86A801E66F37ECE19DFE1663" />
</files>
</fileSnapshot>
2024-03-21 22:14:04,724 2876 [DEBUG] - XmlConfiguration is now operational
2024-03-21 22:14:04,985 2876 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:14:04,985 2876 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,002 2876 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,002 2876 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,018 2876 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,018 2876 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,032 2876 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,032 2876 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,032 2876 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:14:05,049 2876 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-21 22:14:05,049 2876 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-21 22:14:06,267 2876 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,282 2876 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,282 2876 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,297 2876 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,297 2876 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,316 2876 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,330 2876 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,330 2876 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,345 2876 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,345 2876 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:14:06,393 2876 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-21 22:14:06,393 2876 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-21 22:14:06,408 2876 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-21 22:14:06,423 2876 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-21 22:14:06,423 2876 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-21 22:14:06,439 2876 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-21 22:14:06,439 2876 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-21 22:14:06,455 2876 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-21 22:14:06,455 2876 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-21 22:14:06,455 2876 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-21 22:14:06,470 2876 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-21 22:14:06,470 2876 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-21 22:14:06,485 2876 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-21 22:14:06,485 2876 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-21 22:14:06,501 2876 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-21 22:14:06,519 2876 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-21 22:14:06,519 2876 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-21 22:14:06,532 2876 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-21 22:14:06,532 2876 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-21 22:14:06,548 2876 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-21 22:14:06,955 2876 [INFO ] - ============================================================
2024-03-21 22:14:07,376 2876 [INFO ] - Chocolatey v2.2.2
2024-03-21 22:14:07,408 2876 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-21 22:14:07,423 2876 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-21 22:14:07,423 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-21 22:14:07,454 2876 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install lacework-cli --version 1.48.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-21 22:14:07,454 2876 [DEBUG] - Received arguments: install lacework-cli --version 1.48.0 -fdvy --execution-timeout=2700 --allow-downgrade
2024-03-21 22:14:07,642 2876 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-21 22:14:07,673 2876 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-21 22:14:07,705 2876 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-21 22:14:07,970 2876 [DEBUG] - Performing validation checks.
2024-03-21 22:14:07,985 2876 [DEBUG] - Global Configuration Validation Checks:
2024-03-21 22:14:07,985 2876 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-21 22:14:08,017 2876 [DEBUG] - System State Validation Checks:
2024-03-21 22:14:08,017 2876 [DEBUG] - Reboot Requirement Checks:
2024-03-21 22:14:08,033 2876 [DEBUG] - - Pending Computer Rename = Checked
2024-03-21 22:14:08,048 2876 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-21 22:14:08,048 2876 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-21 22:14:08,064 2876 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-21 22:14:08,064 2876 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-21 22:14:08,126 2876 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-21 22:14:08,142 2876 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-21 22:14:08,142 2876 [DEBUG] - - Elevated State = Checked
2024-03-21 22:14:08,142 2876 [DEBUG] - - Folder Exists = Checked
2024-03-21 22:14:08,174 2876 [DEBUG] - - Folder lockdown = Checked
2024-03-21 22:14:08,189 2876 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-21 22:14:08,236 2876 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-21 22:14:08,250 2876 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-03-21 22:14:08,297 2876 [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.48.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-AAS5SQDUOIU'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-21 22:14:08,313 2876 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-03-21 22:14:08,332 2876 [INFO ] - Installing the following packages:
2024-03-21 22:14:08,345 2876 [INFO ] - lacework-cli
2024-03-21 22:14:08,345 2876 [INFO ] - By installing, you accept licenses for the packages.
2024-03-21 22:14:08,377 2876 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-21 22:14:08,377 2876 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-21 22:14:08,392 2876 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-21 22:14:08,392 2876 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-21 22:14:08,392 2876 [DEBUG] - * 'ChocolateyLastPathUpdate'='133554992048477954' ('User')
2024-03-21 22:14:08,408 2876 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-21 22:14:08,408 2876 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-21 22:14:08,423 2876 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-21 22:14:08,440 2876 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-03-21 22:14:08,440 2876 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-21 22:14:08,455 2876 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-21 22:14:08,455 2876 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-21 22:14:08,455 2876 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-21 22:14:08,469 2876 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-21 22:14:08,469 2876 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-21 22:14:08,469 2876 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-21 22:14:08,487 2876 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-21 22:14:08,487 2876 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-21 22:14:08,501 2876 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-21 22:14:08,501 2876 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-21 22:14:08,519 2876 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-21 22:14:09,235 2876 [DEBUG] - Running list with the following filter = ''
2024-03-21 22:14:09,250 2876 [DEBUG] - --- Start of List ---
2024-03-21 22:14:09,328 2876 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-21 22:14:10,047 2876 [DEBUG] - chocolatey 2.2.2
2024-03-21 22:14:10,063 2876 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-21 22:14:10,078 2876 [DEBUG] - KB2919355 1.0.20160915
2024-03-21 22:14:10,095 2876 [DEBUG] - KB2919442 1.0.20160915
2024-03-21 22:14:10,095 2876 [DEBUG] - KB2999226 1.0.20181019
2024-03-21 22:14:10,110 2876 [DEBUG] - KB3035131 1.0.3
2024-03-21 22:14:10,157 2876 [DEBUG] - KB3118401 1.0.5
2024-03-21 22:14:10,172 2876 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-21 22:14:10,172 2876 [DEBUG] - --- End of List ---
2024-03-21 22:14:10,189 2876 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-03-21 22:14:10,860 2876 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-03-21 22:14:11,689 2876 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.48.0')
2024-03-21 22:14:11,970 2876 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.48.0') 270ms
2024-03-21 22:14:12,141 2876 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-03-21 22:14:13,018 2876 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-03-21 22:14:13,033 2876 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='lacework-cli',Version='1.48.0')
2024-03-21 22:14:13,284 2876 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-03-21 22:14:13,315 2876 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-03-21 22:14:13,375 2876 [DEBUG] - Attempting to delete file "".
2024-03-21 22:14:13,423 2876 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/lacework-cli/1.48.0
2024-03-21 22:14:13,954 2876 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/lacework-cli/1.48.0 523ms
2024-03-21 22:14:14,001 2876 [INFO ] - [NuGet] Acquiring lock for the installation of lacework-cli 1.48.0
2024-03-21 22:14:14,095 2876 [INFO ] - [NuGet] Acquired lock for the installation of lacework-cli 1.48.0
2024-03-21 22:14:14,813 2876 [INFO ] - [NuGet] Installed lacework-cli 1.48.0 from https://community.chocolatey.org/api/v2/ with content hash xl1hQb33BWjz5MGs7/0o6u7XO2uQYwrK1mRKpDYTslxRejKbZ521NR6FAEzhKNupyiS2QubD43Oa26iGLmKq1Q==.
2024-03-21 22:14:14,892 2876 [INFO ] - [NuGet] Adding package 'lacework-cli.1.48.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-21 22:14:14,987 2876 [INFO ] - [NuGet] Added package 'lacework-cli.1.48.0' to folder 'C:\ProgramData\chocolatey\lib'
2024-03-21 22:14:15,001 2876 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.48.0\lacework-cli.1.48.0.nupkg".
2024-03-21 22:14:15,018 2876 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.48.0\.nupkg.metadata".
2024-03-21 22:14:15,018 2876 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\lacework-cli/1.48.0\lacework-cli.1.48.0.nupkg.sha512".
2024-03-21 22:14:15,033 2876 [INFO ] -
lacework-cli v1.48.0 (forced)
2024-03-21 22:14:15,142 2876 [INFO ] - lacework-cli package files install completed. Performing other installation steps.
2024-03-21 22:14:15,237 2876 [DEBUG] - Setting installer args for lacework-cli
2024-03-21 22:14:15,251 2876 [DEBUG] - Setting package parameters for lacework-cli
2024-03-21 22:14:15,251 2876 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1':
2024-03-21 22:14:15,267 2876 [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.48.0
$packageName = 'lacework-cli'
$toolsDir = "$( Split-Path -parent $MyInvocation.MyCommand.Definition )"
$url = "https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-386.exe.zip"
$url64 = "https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip"
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'zip'
url = $url
url64bit = $url64
softwareName = 'Lacework*'
checksum = '8d29e84412fd936abd31f10c01ecdd0d8b074e50ca8de225996b196d994908b9'
checksumType = 'sha256'
checksum64 = '419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b'
checksumType64 = 'sha256'
}
Install-ChocolateyZipPackage @packageArgs
Function Set-Environment-Variables
{
$isAdmin = $false
try
{
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
$isAdmin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
}
finally
{
if ($isAdmin)
{
$machinePath = [System.Environment]::GetEnvironmentVariable("PATH", "Machine")
$machinePath = New-PathString -StartingPath $machinePath -Path $laceworkPath
[System.Environment]::SetEnvironmentVariable("PATH", $machinePath, "Machine")
## Set Chocolatey environment variable
[System.Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", 1, "Machine")
}
else
{
$userPath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
$userPath = New-PathString -StartingPath $userPath -Path $laceworkPath
[System.Environment]::SetEnvironmentVariable("PATH", $userPath, "User")
## Set Chocolatey environment variable
[System.Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", 1, "Machine")
}
}
}
2024-03-21 22:14:15,315 2876 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-03-21 22:14:15,329 2876 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-21 22:14:16,361 2876 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-21 22:14:17,079 2876 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-21 22:14:17,079 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-21 22:14:17,096 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-21 22:14:17,096 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-21 22:14:17,112 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-21 22:14:17,112 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-21 22:14:17,127 2876 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-21 22:14:17,127 2876 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-21 22:14:17,142 2876 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-21 22:14:17,157 2876 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-21 22:14:17,157 2876 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-21 22:14:17,173 2876 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:14:17,173 2876 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-21 22:14:17,188 2876 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-21 22:14:17,188 2876 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-21 22:14:17,204 2876 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-21 22:14:17,204 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-21 22:14:17,204 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-21 22:14:17,220 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-21 22:14:17,220 2876 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-21 22:14:17,236 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:17,236 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:14:17,251 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:14:17,251 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:14:17,267 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-21 22:14:17,267 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-21 22:14:17,283 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:14:17,283 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:14:17,298 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-21 22:14:17,298 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:14:17,298 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-21 22:14:17,314 2876 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-21 22:14:17,314 2876 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-21 22:14:17,329 2876 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-21 22:14:17,329 2876 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:14:17,345 2876 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-21 22:14:17,345 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-21 22:14:17,345 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:17,361 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:14:17,361 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:14:17,376 2876 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-21 22:14:17,392 2876 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-21 22:14:17,408 2876 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-21 22:14:17,408 2876 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-21 22:14:17,425 2876 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-21 22:14:17,425 2876 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-21 22:14:17,439 2876 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-21 22:14:17,439 2876 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-21 22:14:17,455 2876 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:14:17,455 2876 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-21 22:14:17,470 2876 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-21 22:14:17,518 2876 [DEBUG] - Loading community extensions
2024-03-21 22:14:17,549 2876 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-21 22:14:17,563 2876 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-21 22:14:17,720 2876 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-21 22:14:17,720 2876 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-21 22:14:17,736 2876 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-21 22:14:17,736 2876 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-21 22:14:17,751 2876 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-21 22:14:17,751 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-21 22:14:17,767 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-21 22:14:17,767 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-21 22:14:17,767 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-21 22:14:17,783 2876 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-21 22:14:17,783 2876 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-21 22:14:17,800 2876 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-21 22:14:17,800 2876 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-21 22:14:17,813 2876 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-21 22:14:17,830 2876 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-21 22:14:17,830 2876 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:14:17,845 2876 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-21 22:14:17,845 2876 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-21 22:14:17,860 2876 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-21 22:14:17,860 2876 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-21 22:14:17,876 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-21 22:14:17,876 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-21 22:14:17,876 2876 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-21 22:14:17,892 2876 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-21 22:14:17,908 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:17,908 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:14:17,924 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:14:17,924 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:14:17,938 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-21 22:14:17,938 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-21 22:14:17,938 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:14:17,955 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:14:17,955 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-21 22:14:17,970 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:14:17,970 2876 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-21 22:14:17,985 2876 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-21 22:14:17,985 2876 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-21 22:14:18,080 2876 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-21 22:14:18,095 2876 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:14:18,095 2876 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-21 22:14:18,111 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-21 22:14:18,111 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:18,126 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:14:18,126 2876 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:14:18,142 2876 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-21 22:14:18,142 2876 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-21 22:14:18,157 2876 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-21 22:14:18,157 2876 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-21 22:14:18,174 2876 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-21 22:14:18,174 2876 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-21 22:14:18,188 2876 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-21 22:14:18,188 2876 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-21 22:14:18,205 2876 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-21 22:14:18,205 2876 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-21 22:14:18,221 2876 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:14:18,221 2876 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-21 22:14:18,221 2876 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-21 22:14:18,236 2876 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-21 22:14:18,236 2876 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-21 22:14:18,251 2876 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-21 22:14:18,267 2876 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-21 22:14:18,267 2876 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-21 22:14:18,283 2876 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-21 22:14:18,283 2876 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-21 22:14:18,299 2876 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-21 22:14:18,315 2876 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-21 22:14:18,315 2876 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-21 22:14:18,330 2876 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-21 22:14:18,330 2876 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:14:18,345 2876 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-21 22:14:18,345 2876 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-21 22:14:18,345 2876 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-21 22:14:18,361 2876 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-21 22:14:18,361 2876 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-21 22:14:18,377 2876 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-21 22:14:18,377 2876 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-21 22:14:18,392 2876 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-21 22:14:18,392 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:18,408 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:14:18,408 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:14:18,423 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:14:18,423 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-21 22:14:18,439 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-21 22:14:18,439 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:14:18,456 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:14:18,456 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-21 22:14:18,471 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:14:18,471 2876 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-21 22:14:18,486 2876 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-21 22:14:18,486 2876 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-21 22:14:18,502 2876 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-21 22:14:18,502 2876 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-21 22:14:18,517 2876 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:14:18,517 2876 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-21 22:14:18,533 2876 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-21 22:14:18,533 2876 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-21 22:14:18,548 2876 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:14:18,548 2876 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:14:18,548 2876 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:14:18,563 2876 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-21 22:14:18,563 2876 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-21 22:14:18,579 2876 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-21 22:14:18,579 2876 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-21 22:14:18,595 2876 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-21 22:14:18,612 2876 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-21 22:14:18,612 2876 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-21 22:14:18,626 2876 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:14:18,626 2876 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-21 22:14:18,642 2876 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-21 22:14:18,642 2876 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-21 22:14:18,829 2876 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-21 22:14:18,876 2876 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.48.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-21 22:14:19,002 2876 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
2024-03-21 22:14:19,407 2876 [DEBUG] - Running Install-ChocolateyZipPackage -url 'https://github.com/lacework/go-sdk/releases/download/v1.48.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.48.0/lacework-cli-windows-amd64.exe.zip' -checksum '8d29e84412fd936abd31f10c01ecdd0d8b074e50ca8de225996b196d994908b9' -checksum64 '419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b' -checksumType 'sha256' -packageName 'lacework-cli' -checksumType64 'sha256'
2024-03-21 22:14:19,737 2876 [DEBUG] - Running Get-ChocolateyWebFile -checksum '8d29e84412fd936abd31f10c01ecdd0d8b074e50ca8de225996b196d994908b9' -checksumType 'sha256' -checksum64 '419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'lacework-cli' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cliInstall.zip' -url 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-386.exe.zip' -url64bit 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip'
2024-03-21 22:14:19,877 2876 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-03-21 22:14:19,955 2876 [DEBUG] - CPU is 64 bit
2024-03-21 22:14:20,019 2876 [DEBUG] - Setting url to 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip' and bitPackage to 64
2024-03-21 22:14:20,348 2876 [DEBUG] - Running Get-WebFileName -url 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip' -defaultName 'lacework-cliInstall.zip'
2024-03-21 22:14:21,627 2876 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2024-03-21 22:14:21,689 2876 [DEBUG] - File name determined from url is 'lacework-cli-windows-amd64.exe.zip'
2024-03-21 22:14:21,783 2876 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip' -ErrorAction 'Stop'
2024-03-21 22:14:21,799 2876 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-21 22:14:21,815 2876 [DEBUG] - Request Headers:
2024-03-21 22:14:21,861 2876 [DEBUG] - 'Accept':'*/*'
2024-03-21 22:14:21,861 2876 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-03-21 22:14:22,190 2876 [DEBUG] - Response Headers:
2024-03-21 22:14:22,238 2876 [DEBUG] - 'Connection':'keep-alive'
2024-03-21 22:14:22,253 2876 [DEBUG] - 'Content-MD5':'UdeGauPutRyfQaUadbb9KA=='
2024-03-21 22:14:22,253 2876 [DEBUG] - 'x-ms-request-id':'77981ec9-c01e-000a-53dd-7b45e2000000'
2024-03-21 22:14:22,267 2876 [DEBUG] - 'x-ms-version':'2020-10-02'
2024-03-21 22:14:22,267 2876 [DEBUG] - 'x-ms-creation-time':'Thu, 21 Mar 2024 19:06:35 GMT'
2024-03-21 22:14:22,283 2876 [DEBUG] - 'x-ms-lease-status':'unlocked'
2024-03-21 22:14:22,299 2876 [DEBUG] - 'x-ms-lease-state':'available'
2024-03-21 22:14:22,299 2876 [DEBUG] - 'x-ms-blob-type':'BlockBlob'
2024-03-21 22:14:22,316 2876 [DEBUG] - 'Content-Disposition':'attachment; filename=lacework-cli-windows-amd64.exe.zip'
2024-03-21 22:14:22,316 2876 [DEBUG] - 'x-ms-server-encrypted':'true'
2024-03-21 22:14:22,330 2876 [DEBUG] - 'Age':'1'
2024-03-21 22:14:22,330 2876 [DEBUG] - 'X-Served-By':'cache-iad-kiad7000033-IAD, cache-mci680048-MCI'
2024-03-21 22:14:22,330 2876 [DEBUG] - 'X-Cache':'MISS, HIT'
2024-03-21 22:14:22,348 2876 [DEBUG] - 'X-Cache-Hits':'0, 0'
2024-03-21 22:14:22,361 2876 [DEBUG] - 'X-Timer':'S1711059262.002864,VS0,VE178'
2024-03-21 22:14:22,378 2876 [DEBUG] - 'Accept-Ranges':'bytes'
2024-03-21 22:14:22,378 2876 [DEBUG] - 'Content-Length':'24653821'
2024-03-21 22:14:22,393 2876 [DEBUG] - 'Content-Type':'application/octet-stream'
2024-03-21 22:14:22,393 2876 [DEBUG] - 'Date':'Thu, 21 Mar 2024 22:14:22 GMT'
2024-03-21 22:14:22,412 2876 [DEBUG] - 'ETag':'"0x8DC49DA077F70BF"'
2024-03-21 22:14:22,412 2876 [DEBUG] - 'Last-Modified':'Thu, 21 Mar 2024 19:06:35 GMT'
2024-03-21 22:14:22,424 2876 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2024-03-21 22:14:22,424 2876 [DEBUG] - 'Via':'1.1 varnish, 1.1 varnish'
2024-03-21 22:14:22,565 2876 [INFO ] - Downloading lacework-cli 64 bit
from 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip'
2024-03-21 22:14:22,739 2876 [DEBUG] - Running Get-WebFile -url 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip' -options 'System.Collections.Hashtable'
2024-03-21 22:14:22,752 2876 [DEBUG] - Setting request timeout to 30000
2024-03-21 22:14:22,768 2876 [DEBUG] - Setting read/write timeout to 2700000
2024-03-21 22:14:22,783 2876 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-03-21 22:14:23,720 2876 [DEBUG] - Downloading https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip
2024-03-21 22:14:29,130 2876 [INFO ] -
2024-03-21 22:14:29,222 2876 [INFO ] - Download of lacework-cli-windows-amd64.exe.zip (23.51 MB) completed.
2024-03-21 22:14:32,908 2876 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-03-21 22:14:32,944 2876 [DEBUG] - Verifying package provided checksum of '419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip'.
2024-03-21 22:14:33,018 2876 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip' -checksum '419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b' -checksumType 'sha256' -originalUrl 'https://github.com/lacework/go-sdk/releases/download/v1.48.0/lacework-cli-windows-amd64.exe.zip'
2024-03-21 22:14:33,096 2876 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-03-21 22:14:33,113 2876 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip"]
2024-03-21 22:14:35,476 2876 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="419d189a223aad6bae97ac67675ca8297880ffcbf913ef577b90ce699476f85b" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-03-21 22:14:35,674 2876 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip' -destination 'C:\ProgramData\chocolatey\lib\lacework-cli\tools' -specificFolder '' -packageName 'lacework-cli'
2024-03-21 22:14:35,689 2876 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-03-21 22:14:35,737 2876 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip to C:\ProgramData\chocolatey\lib\lacework-cli\tools...
2024-03-21 22:14:35,814 2876 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2024-03-21 22:14:35,910 2876 [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.48.0\lacework-cli-windows-amd64.exe.zip"]
2024-03-21 22:14:37,501 2876 [INFO ] - VERBOSE:
2024-03-21 22:14:37,541 2876 [INFO ] - VERBOSE: Scanning the drive for archives:
2024-03-21 22:14:37,564 2876 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-03-21 22:14:37,587 2876 [INFO ] - VERBOSE:
2024-03-21 22:14:37,596 2876 [INFO ] - VERBOSE:
2024-03-21 22:14:37,596 2876 [INFO ] - VERBOSE: 1 file, 24653821 bytes (24 MiB)
2024-03-21 22:14:37,611 2876 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip
2024-03-21 22:14:37,611 2876 [INFO ] - VERBOSE: --
2024-03-21 22:14:37,627 2876 [INFO ] - VERBOSE: Type = zip
2024-03-21 22:14:37,644 2876 [INFO ] - VERBOSE: Physical Size = 24653821
2024-03-21 22:14:37,659 2876 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip
2024-03-21 22:14:37,659 2876 [INFO ] - VERBOSE:
2024-03-21 22:14:37,676 2876 [INFO ] - VERBOSE: - bin\lacework.exe
2024-03-21 22:14:37,769 2876 [INFO ] - VERBOSE: Everything is Ok
2024-03-21 22:14:37,769 2876 [INFO ] - VERBOSE: Size: 56901048
2024-03-21 22:14:37,784 2876 [INFO ] - VERBOSE:
2024-03-21 22:14:37,800 2876 [INFO ] - VERBOSE: Compressed: 24653821
2024-03-21 22:14:38,002 2876 [DEBUG] - $exitCode was passed null
2024-03-21 22:14:38,021 2876 [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.48.0\lacework-cli-windows-amd64.exe.zip"] exited with '0'.
2024-03-21 22:14:38,284 2876 [DEBUG] - 7z exit code: 0
2024-03-21 22:14:38,348 2876 [INFO ] - C:\ProgramData\chocolatey\lib\lacework-cli\tools
2024-03-21 22:14:38,393 2876 [DEBUG] - ----------------------------------------------------------------------
2024-03-21 22:14:38,424 2876 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-03-21 22:14:38,439 2876 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-21 22:14:38,613 2876 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-21 22:14:38,877 2876 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-21 22:14:38,877 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-03-21 22:14:38,893 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '011FA4A8E9D5759BD2A1FBF3DB81098C'
2024-03-21 22:14:38,893 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum 'CCC8B26BBCFC927937700E1B33C46EEB'
2024-03-21 22:14:38,909 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '712C235F56F4D709B776EEB8BDD43B1C'
2024-03-21 22:14:38,909 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-03-21 22:14:39,252 2876 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '0E6FC30F86A801E66F37ECE19DFE1663'
2024-03-21 22:14:39,283 2876 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\lacework-cli\tools\bin\lacework.exe" --output="C:\ProgramData\chocolatey\bin\lacework.exe" --iconpath="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe"']
2024-03-21 22:14:41,033 2876 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2024-03-21 22:14:41,033 2876 [DEBUG] - [ShimGen] Selected Icon is invalid
2024-03-21 22:14:41,459 2876 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2024-03-21 22:14:41,474 2876 [DEBUG] - [ShimGen] for C# 5
2024-03-21 22:14:41,487 2876 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2024-03-21 22:14:41,487 2876 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2024-03-21 22:14:41,502 2876 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\lacework.exe'
2024-03-21 22:14:41,518 2876 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\lacework-cli\tools\bin\lacework.exe" --output="C:\ProgramData\chocolatey\bin\lacework.exe" --iconpath="C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe"'] exited with '0'
2024-03-21 22:14:41,518 2876 [INFO ] - ShimGen has successfully created a shim for lacework.exe
2024-03-21 22:14:41,534 2876 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\lacework.exe
Targeting: C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe
IsGui:False
2024-03-21 22:14:41,612 2876 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0".
2024-03-21 22:14:41,659 2876 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0\.files'
2024-03-21 22:14:41,722 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0\.extra".
2024-03-21 22:14:41,722 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0\.version".
2024-03-21 22:14:41,736 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0\.sxs".
2024-03-21 22:14:41,736 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\lacework-cli.1.48.0\.pin".
2024-03-21 22:14:41,752 2876 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-03-21 22:14:41,768 2876 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\lacework-cli\.chocolateyPending".
2024-03-21 22:14:41,768 2876 [INFO ] - The install of lacework-cli was successful.
2024-03-21 22:14:41,784 2876 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\lacework-cli\tools'
2024-03-21 22:14:41,830 2876 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-21 22:14:41,830 2876 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-21 22:14:41,846 2876 [DEBUG] - Exiting with 0
2024-03-21 22:15:01,033 112 [DEBUG] - XmlConfiguration is now operational
2024-03-21 22:15:01,205 112 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,205 112 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,220 112 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,220 112 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,220 112 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,251 112 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,251 112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,251 112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,269 112 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-03-21 22:15:01,269 112 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-03-21 22:15:01,284 112 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-03-21 22:15:02,205 112 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,220 112 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,220 112 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,238 112 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,238 112 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,238 112 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,252 112 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,252 112 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,252 112 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,268 112 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-03-21 22:15:02,298 112 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-03-21 22:15:02,298 112 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-03-21 22:15:02,314 112 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-03-21 22:15:02,314 112 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-03-21 22:15:02,314 112 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-03-21 22:15:02,330 112 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-03-21 22:15:02,330 112 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-03-21 22:15:02,330 112 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-03-21 22:15:02,346 112 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-03-21 22:15:02,346 112 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-03-21 22:15:02,346 112 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-03-21 22:15:02,362 112 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-03-21 22:15:02,362 112 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-03-21 22:15:02,362 112 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-03-21 22:15:02,378 112 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-03-21 22:15:02,378 112 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-03-21 22:15:02,394 112 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-03-21 22:15:02,394 112 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-03-21 22:15:02,394 112 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-03-21 22:15:02,409 112 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-03-21 22:15:02,721 112 [INFO ] - ============================================================
2024-03-21 22:15:03,142 112 [INFO ] - Chocolatey v2.2.2
2024-03-21 22:15:03,158 112 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-03-21 22:15:03,174 112 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-03-21 22:15:03,189 112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-03-21 22:15:03,205 112 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall lacework-cli --version 1.48.0 -dvy --execution-timeout=2700
2024-03-21 22:15:03,221 112 [DEBUG] - Received arguments: uninstall lacework-cli --version 1.48.0 -dvy --execution-timeout=2700
2024-03-21 22:15:03,423 112 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-03-21 22:15:03,454 112 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-03-21 22:15:03,487 112 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-03-21 22:15:03,673 112 [DEBUG] - Performing validation checks.
2024-03-21 22:15:03,690 112 [DEBUG] - Global Configuration Validation Checks:
2024-03-21 22:15:03,704 112 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-03-21 22:15:03,721 112 [DEBUG] - System State Validation Checks:
2024-03-21 22:15:03,721 112 [DEBUG] - Reboot Requirement Checks:
2024-03-21 22:15:03,737 112 [DEBUG] - - Pending Computer Rename = Checked
2024-03-21 22:15:03,751 112 [DEBUG] - - Pending Component Based Servicing = Checked
2024-03-21 22:15:03,784 112 [DEBUG] - - Pending Windows Auto Update = Checked
2024-03-21 22:15:03,784 112 [DEBUG] - - Pending File Rename Operations = Ignored
2024-03-21 22:15:03,800 112 [DEBUG] - - Pending Windows Package Installer = Checked
2024-03-21 22:15:03,800 112 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-03-21 22:15:03,815 112 [DEBUG] - Cache Folder Lockdown Checks:
2024-03-21 22:15:03,830 112 [DEBUG] - - Elevated State = Checked
2024-03-21 22:15:03,830 112 [DEBUG] - - Folder Exists = Checked
2024-03-21 22:15:03,861 112 [DEBUG] - - Folder lockdown = Checked
2024-03-21 22:15:03,878 112 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-03-21 22:15:03,927 112 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-03-21 22:15:03,987 112 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-03-21 22:15:04,080 112 [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.48.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-AAS5SQDUOIU'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-03-21 22:15:04,080 112 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-03-21 22:15:04,095 112 [INFO ] - Uninstalling the following packages:
2024-03-21 22:15:04,111 112 [INFO ] - lacework-cli
2024-03-21 22:15:04,128 112 [DEBUG] - Current environment values (may contain sensitive data):
2024-03-21 22:15:04,143 112 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-03-21 22:15:04,143 112 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-21 22:15:04,159 112 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-03-21 22:15:04,159 112 [DEBUG] - * 'ChocolateyLastPathUpdate'='133554992048477954' ('User')
2024-03-21 22:15:04,175 112 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-03-21 22:15:04,175 112 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-03-21 22:15:04,190 112 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-03-21 22:15:04,190 112 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-03-21 22:15:04,190 112 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-03-21 22:15:04,205 112 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-03-21 22:15:04,205 112 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-03-21 22:15:04,222 112 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-03-21 22:15:04,222 112 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-03-21 22:15:04,236 112 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-03-21 22:15:04,236 112 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-03-21 22:15:04,252 112 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-03-21 22:15:04,254 112 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-03-21 22:15:04,254 112 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-03-21 22:15:04,268 112 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-03-21 22:15:04,268 112 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-03-21 22:15:04,533 112 [DEBUG] - Running list with the following filter = ''
2024-03-21 22:15:04,533 112 [DEBUG] - --- Start of List ---
2024-03-21 22:15:04,831 112 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-03-21 22:15:05,440 112 [DEBUG] - chocolatey 2.2.2
2024-03-21 22:15:05,454 112 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-21 22:15:05,470 112 [DEBUG] - KB2919355 1.0.20160915
2024-03-21 22:15:05,470 112 [DEBUG] - KB2919442 1.0.20160915
2024-03-21 22:15:05,487 112 [DEBUG] - KB2999226 1.0.20181019
2024-03-21 22:15:05,502 112 [DEBUG] - KB3035131 1.0.3
2024-03-21 22:15:05,502 112 [DEBUG] - KB3118401 1.0.5
2024-03-21 22:15:05,564 112 [DEBUG] - lacework-cli 1.48.0
2024-03-21 22:15:05,580 112 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-21 22:15:05,580 112 [DEBUG] - --- End of List ---
2024-03-21 22:15:05,595 112 [DEBUG] - Running list with the following filter = ''
2024-03-21 22:15:05,595 112 [DEBUG] - --- Start of List ---
2024-03-21 22:15:05,628 112 [DEBUG] - chocolatey 2.2.2
2024-03-21 22:15:05,643 112 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-21 22:15:05,658 112 [DEBUG] - KB2919355 1.0.20160915
2024-03-21 22:15:05,658 112 [DEBUG] - KB2919442 1.0.20160915
2024-03-21 22:15:05,673 112 [DEBUG] - KB2999226 1.0.20181019
2024-03-21 22:15:05,673 112 [DEBUG] - KB3035131 1.0.3
2024-03-21 22:15:05,689 112 [DEBUG] - KB3118401 1.0.5
2024-03-21 22:15:05,723 112 [DEBUG] - lacework-cli 1.48.0
2024-03-21 22:15:05,736 112 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-21 22:15:05,736 112 [DEBUG] - --- End of List ---
2024-03-21 22:15:05,846 112 [DEBUG] - Running list with the following filter = ''
2024-03-21 22:15:05,846 112 [DEBUG] - --- Start of List ---
2024-03-21 22:15:05,877 112 [DEBUG] - chocolatey 2.2.2
2024-03-21 22:15:05,893 112 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-03-21 22:15:05,909 112 [DEBUG] - KB2919355 1.0.20160915
2024-03-21 22:15:05,923 112 [DEBUG] - KB2919442 1.0.20160915
2024-03-21 22:15:05,940 112 [DEBUG] - KB2999226 1.0.20181019
2024-03-21 22:15:05,955 112 [DEBUG] - KB3035131 1.0.3
2024-03-21 22:15:05,955 112 [DEBUG] - KB3118401 1.0.5
2024-03-21 22:15:05,986 112 [DEBUG] - lacework-cli 1.48.0
2024-03-21 22:15:06,002 112 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-03-21 22:15:06,002 112 [DEBUG] - --- End of List ---
2024-03-21 22:15:06,079 112 [INFO ] -
lacework-cli v1.48.0
2024-03-21 22:15:06,095 112 [DEBUG] - Running beforeModify step for 'lacework-cli'
2024-03-21 22:15:06,127 112 [DEBUG] - Backing up package files for 'lacework-cli'
2024-03-21 22:15:06,316 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-03-21 22:15:06,331 112 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0
2024-03-21 22:15:06,346 112 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0'
2024-03-21 22:15:08,392 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli".
2024-03-21 22:15:08,408 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\lacework-cli-windows-amd64.exe.zip.txt"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt".
2024-03-21 22:15:08,408 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\lacework-cli.nupkg"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg".
2024-03-21 22:15:08,424 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\lacework-cli.nuspec"
to "C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec".
2024-03-21 22:15:08,424 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools".
2024-03-21 22:15:08,439 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1".
2024-03-21 22:15:08,439 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1".
2024-03-21 22:15:08,455 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin".
2024-03-21 22:15:08,455 112 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0\tools\bin\lacework.exe"
to "C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe".
2024-03-21 22:15:10,316 112 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-21 22:15:10,329 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli-windows-amd64.exe.zip.txt'
with checksum '1A3C9A4A467DD0392A57632DD3840946'
2024-03-21 22:15:10,329 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nupkg'
with checksum '011FA4A8E9D5759BD2A1FBF3DB81098C'
2024-03-21 22:15:10,346 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\lacework-cli.nuspec'
with checksum 'CCC8B26BBCFC927937700E1B33C46EEB'
2024-03-21 22:15:10,346 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyinstall.ps1'
with checksum '712C235F56F4D709B776EEB8BDD43B1C'
2024-03-21 22:15:10,361 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
with checksum 'FB5466E8056FC9569BE94A25885F400A'
2024-03-21 22:15:10,582 112 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\bin\lacework.exe'
with checksum '0E6FC30F86A801E66F37ECE19DFE1663'
2024-03-21 22:15:10,596 112 [DEBUG] - Removing shim for lacework.exe at 'C:\ProgramData\chocolatey\bin\lacework.exe
2024-03-21 22:15:10,610 112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\lacework.exe".
2024-03-21 22:15:10,642 112 [DEBUG] - Setting installer args for lacework-cli
2024-03-21 22:15:10,642 112 [DEBUG] - Setting package parameters for lacework-cli
2024-03-21 22:15:10,658 112 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1':
2024-03-21 22:15:10,658 112 [DEBUG] - <#
.SYNOPSIS
Uninstalls the Lacework CLI.
Authors: Technology Alliances <tech-ally@lacework.net>
.DESCRIPTION
This script removes any env vars created by Lacework CLI installation.
#>
$ErrorActionPreference = 'stop';
Uninstall-ChocolateyPackage -PackageName lacework-cli
[Environment]::SetEnvironmentVariable("LW_CHOCOLATEY_INSTALL", $null, "Machine")
2024-03-21 22:15:10,705 112 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-03-21 22:15:10,721 112 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-03-21 22:15:11,878 112 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-03-21 22:15:12,503 112 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-21 22:15:12,503 112 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-21 22:15:12,518 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-21 22:15:12,534 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-21 22:15:12,534 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-21 22:15:12,534 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-21 22:15:12,550 112 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-21 22:15:12,550 112 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-21 22:15:12,565 112 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-21 22:15:12,565 112 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-21 22:15:12,581 112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-21 22:15:12,581 112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:15:12,595 112 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-21 22:15:12,595 112 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-21 22:15:12,595 112 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-21 22:15:12,611 112 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-21 22:15:12,629 112 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-21 22:15:12,629 112 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-21 22:15:12,643 112 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-21 22:15:12,643 112 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-21 22:15:12,643 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:12,659 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:15:12,659 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:15:12,674 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:15:12,674 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-21 22:15:12,674 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-21 22:15:12,691 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:15:12,706 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:15:12,706 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-21 22:15:12,721 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:15:12,721 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-21 22:15:12,721 112 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-21 22:15:12,736 112 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-21 22:15:12,736 112 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-21 22:15:12,753 112 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:15:12,753 112 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-21 22:15:12,767 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-21 22:15:12,767 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:12,767 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:15:12,783 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:15:12,783 112 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-21 22:15:12,799 112 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-21 22:15:12,799 112 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-21 22:15:12,815 112 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-21 22:15:12,815 112 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-21 22:15:12,815 112 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-21 22:15:12,831 112 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-21 22:15:12,831 112 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-21 22:15:12,846 112 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:15:12,846 112 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-21 22:15:12,861 112 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-21 22:15:12,892 112 [DEBUG] - Loading community extensions
2024-03-21 22:15:12,939 112 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-03-21 22:15:12,939 112 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-03-21 22:15:13,099 112 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-21 22:15:13,099 112 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-21 22:15:13,111 112 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-21 22:15:13,111 112 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-21 22:15:13,127 112 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-03-21 22:15:13,127 112 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-03-21 22:15:13,143 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-03-21 22:15:13,143 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-03-21 22:15:13,158 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-03-21 22:15:13,158 112 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-03-21 22:15:13,174 112 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-03-21 22:15:13,174 112 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-03-21 22:15:13,174 112 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-03-21 22:15:13,190 112 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-03-21 22:15:13,190 112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-03-21 22:15:13,209 112 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:15:13,209 112 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-03-21 22:15:13,221 112 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-03-21 22:15:13,221 112 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-03-21 22:15:13,237 112 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-03-21 22:15:13,237 112 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-03-21 22:15:13,252 112 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-03-21 22:15:13,252 112 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-03-21 22:15:13,252 112 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-03-21 22:15:13,268 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:13,268 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:15:13,282 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:15:13,282 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:15:13,300 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-03-21 22:15:13,300 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-03-21 22:15:13,314 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:15:13,314 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:15:13,314 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-03-21 22:15:13,333 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:15:13,333 112 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-03-21 22:15:13,345 112 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-03-21 22:15:13,345 112 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-03-21 22:15:13,362 112 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-03-21 22:15:13,362 112 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:15:13,377 112 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-03-21 22:15:13,377 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-03-21 22:15:13,377 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:13,393 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:15:13,393 112 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:15:13,407 112 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-03-21 22:15:13,407 112 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-03-21 22:15:13,427 112 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-03-21 22:15:13,427 112 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-03-21 22:15:13,439 112 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-03-21 22:15:13,439 112 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-03-21 22:15:13,455 112 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-03-21 22:15:13,455 112 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-03-21 22:15:13,455 112 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-03-21 22:15:13,564 112 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-03-21 22:15:13,564 112 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:15:13,564 112 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-03-21 22:15:13,580 112 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-03-21 22:15:13,596 112 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-03-21 22:15:13,596 112 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-03-21 22:15:13,610 112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-03-21 22:15:13,610 112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-03-21 22:15:13,627 112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-03-21 22:15:13,627 112 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-03-21 22:15:13,627 112 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-03-21 22:15:13,643 112 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-03-21 22:15:13,643 112 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-03-21 22:15:13,658 112 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-03-21 22:15:13,658 112 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-03-21 22:15:13,674 112 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-03-21 22:15:13,674 112 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-03-21 22:15:13,674 112 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-03-21 22:15:13,689 112 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-03-21 22:15:13,689 112 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-03-21 22:15:13,706 112 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-03-21 22:15:13,706 112 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-03-21 22:15:13,723 112 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-03-21 22:15:13,723 112 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-03-21 22:15:13,737 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:13,737 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-03-21 22:15:13,752 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-03-21 22:15:13,752 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-03-21 22:15:13,768 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-03-21 22:15:13,768 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-03-21 22:15:13,783 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-03-21 22:15:13,783 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-03-21 22:15:13,783 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-03-21 22:15:13,798 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-03-21 22:15:13,798 112 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-03-21 22:15:13,814 112 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-03-21 22:15:13,814 112 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-03-21 22:15:13,830 112 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-03-21 22:15:13,830 112 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-03-21 22:15:13,830 112 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-03-21 22:15:13,845 112 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-03-21 22:15:13,845 112 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-03-21 22:15:13,861 112 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-03-21 22:15:13,861 112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-03-21 22:15:13,861 112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-03-21 22:15:13,878 112 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-03-21 22:15:13,878 112 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-03-21 22:15:13,892 112 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-03-21 22:15:13,892 112 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-03-21 22:15:13,908 112 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-03-21 22:15:13,908 112 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-03-21 22:15:13,908 112 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-03-21 22:15:13,924 112 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-03-21 22:15:13,924 112 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-03-21 22:15:13,940 112 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-03-21 22:15:13,940 112 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-03-21 22:15:13,955 112 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-03-21 22:15:14,110 112 [DEBUG] - ---------------------------Script Execution---------------------------
2024-03-21 22:15:14,143 112 [DEBUG] - Running 'ChocolateyScriptRunner' for lacework-cli v1.48.0 with packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\lacework-cli', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-03-21 22:15:14,222 112 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'
2024-03-21 22:15:14,439 112 [DEBUG] - Running Uninstall-ChocolateyPackage -packageName 'lacework-cli'
2024-03-21 22:15:14,486 112 [INFO ] - Uninstalling lacework-cli...
2024-03-21 22:15:14,689 112 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements ' ' -exeToRun ''
2024-03-21 22:15:14,800 112 [DEBUG] - Test-ProcessAdminRights: returning True
2024-03-21 22:15:14,892 112 [DEBUG] - Elevating permissions and running ["" ]. This may take a while, depending on the statements.
2024-03-21 22:15:15,095 112 [ERROR] - ERROR: Exception calling "GetFullPath" with "1" argument(s): "The path is not of a legal form."
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 195
at Uninstall-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Uninstall-ChocolateyPackage.ps1: line 157
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1: line 13
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-03-21 22:15:15,112 112 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-03-21 22:15:15,127 112 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-03-21 22:15:15,300 112 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-03-21 22:15:15,317 112 [ERROR] - lacework-cli uninstall not successful.
2024-03-21 22:15:15,331 112 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-03-21 22:15:15,331 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-03-21 22:15:15,345 112 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\lacework-cli".
2024-03-21 22:15:15,345 112 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\lacework-cli to C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.48.0
2024-03-21 22:15:15,361 112 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\lacework-cli'
to 'C:\ProgramData\chocolatey\lib-bad\lacework-cli\1.48.0'
2024-03-21 22:15:17,377 112 [DEBUG] - Attempting rollback
2024-03-21 22:15:17,377 112 [DEBUG] - Moving C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0 to C:\ProgramData\chocolatey\lib\lacework-cli
2024-03-21 22:15:17,392 112 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\lacework-cli\1.48.0'
to 'C:\ProgramData\chocolatey\lib\lacework-cli'
2024-03-21 22:15:19,409 112 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\lacework-cli".
2024-03-21 22:15:19,423 112 [ERROR] - lacework-cli not uninstalled. An error occurred during uninstall:
lacework-cli uninstall not successful.
2024-03-21 22:15:19,486 112 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-03-21 22:15:19,486 112 [INFO ] -
2024-03-21 22:15:19,501 112 [ERROR] - Failures
2024-03-21 22:15:19,501 112 [ERROR] - - lacework-cli (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\lacework-cli\tools\chocolateyuninstall.ps1'.
See log for details.
2024-03-21 22:15:19,520 112 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with `-n` to skip running a chocolateyUninstall script, additionally
adding `--skip-autouninstaller` to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
`$env:ChocolateyInstall\lib` and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
2024-03-21 22:15:19,533 112 [WARN ] -
Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?
Your support ensures an active community, keeps Chocolatey tip-top,
plus it nets you some awesome features!
https://chocolatey.org/compare
2024-03-21 22:15:19,549 112 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-03-21 22:15:19,549 112 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment