Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created December 18, 2023 14:48
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/50ea32dfdb0ebab5c97286106a4a7962 to your computer and use it in GitHub Desktop.
Save choco-bot/50ea32dfdb0ebab5c97286106a4a7962 to your computer and use it in GitHub Desktop.
gsudo v2.4.2 - Passed - Package Tests Results

gsudo v2.4.2 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.4.2
  • Tested 18 Dec 2023 14:48: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 was successful.
<?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\gsudo\gsudo.nupkg" checksum="E8020ADE89128D1AC3E9D8DF59A3ED54" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="72A5B59D68D67B96F591ED7DF0ECC1D8" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1" checksum="05BCB61EDECE55022BDEDE44215B21D0" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1" checksum="A0247D5C52C7C707343E023100E25CFC" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1" checksum="C0E4DEB99854A5930301DB23F9D74ED4" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt" checksum="D0D29A00A7DE778CF7BB2E6DF4810B95" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1" checksum="A11BE1C57DFC46D00A88A43E66B11B73" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt" checksum="D1FC2CF6D1485AD81AC7F3CC035F2C03" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="25EACE05BEA041C0A08E4B670BE40313" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1" checksum="DB8AD54FFD7DCEBA74490C05BD606FAB" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="266EDF702869CA834000393E31F2ECC1" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1" checksum="86CDDD5F95CB85B03911892E906F7CB0" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="F015CDFA0FBBE60402C7BB7104EE0F55" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="13ABA3C359B01DAD6E8C23CB56A5E975" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1" checksum="DB8AD54FFD7DCEBA74490C05BD606FAB" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="266EDF702869CA834000393E31F2ECC1" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1" checksum="86CDDD5F95CB85B03911892E906F7CB0" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="F015CDFA0FBBE60402C7BB7104EE0F55" />
</files>
</fileSnapshot>
2023-12-18 14:47:03,698 1116 [DEBUG] - XmlConfiguration is now operational
2023-12-18 14:47:04,168 1116 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,168 1116 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,184 1116 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,184 1116 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,198 1116 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,198 1116 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,215 1116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,230 1116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,230 1116 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:04,245 1116 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-12-18 14:47:04,245 1116 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-12-18 14:47:05,557 1116 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,557 1116 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,574 1116 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,574 1116 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,589 1116 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,636 1116 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,668 1116 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,684 1116 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,684 1116 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,698 1116 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:05,746 1116 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-12-18 14:47:05,760 1116 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-12-18 14:47:05,760 1116 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-12-18 14:47:05,777 1116 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-12-18 14:47:05,777 1116 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-12-18 14:47:05,793 1116 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-12-18 14:47:05,793 1116 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-12-18 14:47:05,807 1116 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-12-18 14:47:05,807 1116 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-12-18 14:47:05,824 1116 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-12-18 14:47:05,839 1116 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-12-18 14:47:05,855 1116 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-12-18 14:47:05,872 1116 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-12-18 14:47:05,872 1116 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-12-18 14:47:05,888 1116 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-12-18 14:47:05,888 1116 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-12-18 14:47:05,901 1116 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-12-18 14:47:05,917 1116 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-12-18 14:47:05,933 1116 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-12-18 14:47:05,956 1116 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-12-18 14:47:06,323 1116 [INFO ] - ============================================================
2023-12-18 14:47:06,840 1116 [INFO ] - Chocolatey v2.2.2
2023-12-18 14:47:06,886 1116 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-12-18 14:47:06,902 1116 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-12-18 14:47:06,918 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-12-18 14:47:06,949 1116 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.4.2 -fdvy --execution-timeout=2700 --allow-downgrade
2023-12-18 14:47:06,997 1116 [DEBUG] - Received arguments: install gsudo --version 2.4.2 -fdvy --execution-timeout=2700 --allow-downgrade
2023-12-18 14:47:07,231 1116 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-12-18 14:47:07,293 1116 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-12-18 14:47:07,341 1116 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-12-18 14:47:07,624 1116 [DEBUG] - Performing validation checks.
2023-12-18 14:47:07,651 1116 [DEBUG] - Global Configuration Validation Checks:
2023-12-18 14:47:07,666 1116 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-12-18 14:47:07,682 1116 [DEBUG] - System State Validation Checks:
2023-12-18 14:47:07,699 1116 [DEBUG] - Reboot Requirement Checks:
2023-12-18 14:47:07,714 1116 [DEBUG] - - Pending Computer Rename = Checked
2023-12-18 14:47:07,730 1116 [DEBUG] - - Pending Component Based Servicing = Checked
2023-12-18 14:47:07,745 1116 [DEBUG] - - Pending Windows Auto Update = Checked
2023-12-18 14:47:07,762 1116 [DEBUG] - - Pending File Rename Operations = Ignored
2023-12-18 14:47:07,762 1116 [DEBUG] - - Pending Windows Package Installer = Checked
2023-12-18 14:47:07,776 1116 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-12-18 14:47:07,793 1116 [DEBUG] - Cache Folder Lockdown Checks:
2023-12-18 14:47:07,793 1116 [DEBUG] - - Elevated State = Checked
2023-12-18 14:47:07,807 1116 [DEBUG] - - Folder Exists = Checked
2023-12-18 14:47:07,824 1116 [DEBUG] - - Folder lockdown = Checked
2023-12-18 14:47:07,839 1116 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-12-18 14:47:07,901 1116 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-12-18 14:47:07,917 1116 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-12-18 14:47:07,997 1116 [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='gsudo'|
Version='2.4.2'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|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-O1LKL0AUSLD'|
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'|
2023-12-18 14:47:08,011 1116 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-12-18 14:47:08,043 1116 [INFO ] - Installing the following packages:
2023-12-18 14:47:08,057 1116 [INFO ] - gsudo
2023-12-18 14:47:08,073 1116 [INFO ] - By installing, you accept licenses for the packages.
2023-12-18 14:47:08,105 1116 [DEBUG] - Current environment values (may contain sensitive data):
2023-12-18 14:47:08,120 1116 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-12-18 14:47:08,120 1116 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-18 14:47:08,136 1116 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-18 14:47:08,152 1116 [DEBUG] - * 'ChocolateyLastPathUpdate'='133473751946387770' ('User')
2023-12-18 14:47:08,152 1116 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-12-18 14:47:08,168 1116 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-12-18 14:47:08,168 1116 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-12-18 14:47:08,183 1116 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-12-18 14:47:08,199 1116 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-12-18 14:47:08,199 1116 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-12-18 14:47:08,215 1116 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-12-18 14:47:08,215 1116 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-12-18 14:47:08,231 1116 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-12-18 14:47:08,245 1116 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-12-18 14:47:08,245 1116 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-12-18 14:47:08,260 1116 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-12-18 14:47:08,260 1116 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-12-18 14:47:08,277 1116 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-12-18 14:47:08,277 1116 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-12-18 14:47:08,292 1116 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-12-18 14:47:09,120 1116 [DEBUG] - Running list with the following filter = ''
2023-12-18 14:47:09,120 1116 [DEBUG] - --- Start of List ---
2023-12-18 14:47:09,197 1116 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-12-18 14:47:10,042 1116 [DEBUG] - chocolatey 2.2.2
2023-12-18 14:47:10,074 1116 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-18 14:47:10,089 1116 [DEBUG] - KB2919355 1.0.20160915
2023-12-18 14:47:10,105 1116 [DEBUG] - KB2919442 1.0.20160915
2023-12-18 14:47:10,120 1116 [DEBUG] - KB2999226 1.0.20181019
2023-12-18 14:47:10,152 1116 [DEBUG] - KB3035131 1.0.3
2023-12-18 14:47:10,167 1116 [DEBUG] - KB3118401 1.0.5
2023-12-18 14:47:10,214 1116 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-18 14:47:10,230 1116 [DEBUG] - --- End of List ---
2023-12-18 14:47:10,245 1116 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-12-18 14:47:10,995 1116 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-12-18 14:47:11,807 1116 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.2')
2023-12-18 14:47:12,012 1116 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.2') 205ms
2023-12-18 14:47:12,214 1116 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-12-18 14:47:13,027 1116 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-12-18 14:47:13,043 1116 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.2')
2023-12-18 14:47:13,371 1116 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-12-18 14:47:13,402 1116 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-12-18 14:47:13,479 1116 [DEBUG] - Attempting to delete file "".
2023-12-18 14:47:13,575 1116 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/gsudo/2.4.2
2023-12-18 14:47:14,401 1116 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/gsudo/2.4.2 815ms
2023-12-18 14:47:14,484 1116 [INFO ] - [NuGet] Acquiring lock for the installation of gsudo 2.4.2
2023-12-18 14:47:14,589 1116 [INFO ] - [NuGet] Acquired lock for the installation of gsudo 2.4.2
2023-12-18 14:47:17,246 1116 [INFO ] - [NuGet] Installed gsudo 2.4.2 from https://community.chocolatey.org/api/v2/ with content hash slvAymzM3OZtVIW9sMIbQZARLujN5b5SSHmki0kepJyYtMRT2YE+YRI4saX/jiXshQAUrlBz36emjcCJZPgThw==.
2023-12-18 14:47:17,323 1116 [INFO ] - [NuGet] Adding package 'gsudo.2.4.2' to folder 'C:\ProgramData\chocolatey\lib'
2023-12-18 14:47:17,651 1116 [INFO ] - [NuGet] Added package 'gsudo.2.4.2' to folder 'C:\ProgramData\chocolatey\lib'
2023-12-18 14:47:17,684 1116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.2\gsudo.2.4.2.nupkg".
2023-12-18 14:47:17,684 1116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.2\.nupkg.metadata".
2023-12-18 14:47:17,698 1116 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.2\gsudo.2.4.2.nupkg.sha512".
2023-12-18 14:47:17,714 1116 [INFO ] -
gsudo v2.4.2 (forced)
2023-12-18 14:47:17,838 1116 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-12-18 14:47:17,933 1116 [DEBUG] - Setting installer args for gsudo
2023-12-18 14:47:17,964 1116 [DEBUG] - Setting package parameters for gsudo
2023-12-18 14:47:17,964 1116 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-12-18 14:47:18,011 1116 [DEBUG] - function Test-IsSymLink([string]$path) {
$file = Get-Item $path -Force -ea SilentlyContinue
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
$ErrorActionPreference = 'Continue'
$ToolsLocation = Get-ToolsLocation
if ([Environment]::Is64BitOperatingSystem -eq $true) {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x64"
} else {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x86"
}
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$TargetDir = ("$ToolsLocation\gsudo\v" + ((Get-Item "$bin\gsudo.exe").VersionInfo.ProductVersion -split "\+" )[0])
$SymLinkDir = "$ToolsLocation\gsudo\Current"
# Add to System Path
mkdir $TargetDir -ErrorAction Ignore > $null
copy "$bin\*" $TargetDir -Exclude *.ignore -Force
Install-ChocolateyPath -PathToInstall $SymLinkDir -PathType 'Machine'
cmd /c mklink "$TargetDir\sudo.exe" "$TargetDir\gsudo.exe" 2>$null
# Copy gsudoModule to "$env:ProgramFiles\PowerShell\Modules\gsudoModule"
$PSModulesTargetDir = "$env:ProgramFiles\WindowsPowerShell\Modules\gsudoModule"
md $PSModulesTargetDir -ErrorAction SilentlyContinue
copy "$bin\*.ps*" $PSModulesTargetDir -Exclude *.ignore -Force
$OldCurrentDir = Get-Item $SymLinkDir -ErrorAction ignore
if ($OldCurrentDir)
{
$OldCurrentDir.Delete()
}
cmd /c mklink /d "$SymLinkDir" "$TargetDir\"
# gsudo powershell module banner.
"";
if (Get-Module gsudoModule) {
"Please restart all your PowerShell consoles to update PowerShell gsudo Module."
} else {
& {
"PowerShell users: Add auto-complete to gsudo by adding the following line to your `$PROFILE"
" Import-Module 'gsudoModule'"
"Or run: "
" Write-Output `"``nImport-Module 'gsudoModule'`" | Add-Content `$PROFILE"
}
}
Write-Output "gsudo successfully installed. Please restart your consoles to use gsudo.`n"
2023-12-18 14:47:18,089 1116 [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\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-12-18 14:47:18,104 1116 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-12-18 14:47:19,761 1116 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-12-18 14:47:20,682 1116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:47:20,699 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:47:20,715 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:47:20,732 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:47:20,732 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:47:20,760 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:47:20,776 1116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:47:20,793 1116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:47:20,808 1116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:47:20,824 1116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:47:20,824 1116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:47:20,839 1116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:47:20,854 1116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:47:20,870 1116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:47:20,870 1116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:47:20,885 1116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:47:20,901 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:47:20,901 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:47:20,916 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:47:20,932 1116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:47:20,932 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:20,949 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:47:20,964 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:47:20,964 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:47:20,979 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:47:20,996 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:47:21,011 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:47:21,028 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:47:21,043 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:47:21,058 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:47:21,073 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:47:21,073 1116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:47:21,091 1116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:47:21,104 1116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:47:21,120 1116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:47:21,136 1116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:47:21,152 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:47:21,152 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:21,168 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:47:21,183 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:47:21,183 1116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:47:21,199 1116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:47:21,231 1116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:47:21,231 1116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:47:21,246 1116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:47:21,246 1116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:47:21,261 1116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:47:21,276 1116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:47:21,292 1116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:47:21,292 1116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:47:21,308 1116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:47:21,370 1116 [DEBUG] - Loading community extensions
2023-12-18 14:47:21,417 1116 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-12-18 14:47:21,433 1116 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-12-18 14:47:21,620 1116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:47:21,620 1116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:47:21,637 1116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:47:21,653 1116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:47:21,668 1116 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:47:21,683 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:47:21,698 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:47:21,714 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:47:21,714 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:47:21,730 1116 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:47:21,745 1116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:47:21,762 1116 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:47:21,777 1116 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:47:21,777 1116 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:47:21,793 1116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:47:21,809 1116 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:47:21,824 1116 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:47:21,841 1116 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:47:21,854 1116 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:47:21,854 1116 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:47:21,871 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:47:21,886 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:47:21,902 1116 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:47:21,917 1116 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:47:21,932 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:21,948 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:47:21,948 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:47:21,964 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:47:21,980 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:47:21,995 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:47:21,995 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:47:22,011 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:47:22,028 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:47:22,043 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:47:22,059 1116 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:47:22,074 1116 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:47:22,089 1116 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:47:22,105 1116 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:47:22,183 1116 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:47:22,199 1116 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:47:22,213 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:47:22,213 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:22,230 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:47:22,247 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:47:22,247 1116 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:47:22,261 1116 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:47:22,277 1116 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:47:22,292 1116 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:47:22,292 1116 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:47:22,309 1116 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:47:22,339 1116 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:47:22,339 1116 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:47:22,355 1116 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:47:22,370 1116 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:47:22,370 1116 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:47:22,386 1116 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:47:22,402 1116 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:47:22,418 1116 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-12-18 14:47:22,433 1116 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-12-18 14:47:22,449 1116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-12-18 14:47:22,464 1116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-12-18 14:47:22,464 1116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-12-18 14:47:22,480 1116 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-12-18 14:47:22,495 1116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-12-18 14:47:22,513 1116 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-12-18 14:47:22,513 1116 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-12-18 14:47:22,527 1116 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-12-18 14:47:22,542 1116 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-12-18 14:47:22,558 1116 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:47:22,558 1116 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-12-18 14:47:22,574 1116 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-12-18 14:47:22,589 1116 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-12-18 14:47:22,589 1116 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-12-18 14:47:22,604 1116 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-12-18 14:47:22,620 1116 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-12-18 14:47:22,635 1116 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-12-18 14:47:22,635 1116 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-12-18 14:47:22,651 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:22,667 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:47:22,667 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:47:22,685 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:47:22,697 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-12-18 14:47:22,714 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-12-18 14:47:22,730 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:47:22,730 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:47:22,745 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-12-18 14:47:22,761 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:47:22,776 1116 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-12-18 14:47:22,776 1116 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-12-18 14:47:22,791 1116 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:47:22,807 1116 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-12-18 14:47:22,823 1116 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-12-18 14:47:22,823 1116 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:47:22,839 1116 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-12-18 14:47:22,856 1116 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:47:22,870 1116 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-12-18 14:47:22,870 1116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:47:22,887 1116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:47:22,900 1116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:47:22,917 1116 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-12-18 14:47:22,917 1116 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-12-18 14:47:22,934 1116 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-12-18 14:47:22,949 1116 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-12-18 14:47:22,964 1116 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-12-18 14:47:22,980 1116 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-12-18 14:47:22,980 1116 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-12-18 14:47:22,995 1116 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:47:23,011 1116 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-12-18 14:47:23,027 1116 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-12-18 14:47:23,027 1116 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-12-18 14:47:23,214 1116 [DEBUG] - ---------------------------Script Execution---------------------------
2023-12-18 14:47:23,276 1116 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-12-18 14:47:23,371 1116 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-12-18 14:47:23,488 1116 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-12-18 14:47:23,543 1116 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-12-18 14:47:23,574 1116 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-12-18 14:47:23,699 1116 [DEBUG] - Running Get-ToolsLocation
2023-12-18 14:47:23,958 1116 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-12-18 14:47:24,167 1116 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-12-18 14:47:24,268 1116 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-12-18 14:47:25,198 1116 [DEBUG] - Running Update-SessionEnvironment
2023-12-18 14:47:25,245 1116 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-12-18 14:47:26,432 1116 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-12-18 14:47:26,447 1116 [DEBUG] - Running Update-SessionEnvironment
2023-12-18 14:47:26,464 1116 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-12-18 14:47:26,932 1116 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-12-18 14:47:26,948 1116 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-12-18 14:47:27,152 1116 [DEBUG] - Test-ProcessAdminRights: returning True
2023-12-18 14:47:27,169 1116 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' -Scope 'Machine'
2023-12-18 14:47:27,213 1116 [DEBUG] - Registry type for Path is/will be ExpandString
2023-12-18 14:47:27,448 1116 [DEBUG] - Running Update-SessionEnvironment
2023-12-18 14:47:27,464 1116 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-12-18 14:47:28,026 1116 [INFO ] - symbolic link created for C:\tools\gsudo\v2.4.2\sudo.exe <<===>> C:\tools\gsudo\v2.4.2\gsudo.exe
2023-12-18 14:47:28,043 1116 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2023-12-18 14:47:28,136 1116 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.4.2\
2023-12-18 14:47:28,152 1116 [INFO ] -
2023-12-18 14:47:28,183 1116 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-12-18 14:47:28,183 1116 [INFO ] - Import-Module 'gsudoModule'
2023-12-18 14:47:28,199 1116 [INFO ] - Or run:
2023-12-18 14:47:28,199 1116 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-12-18 14:47:28,215 1116 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-12-18 14:47:28,292 1116 [DEBUG] - ----------------------------------------------------------------------
2023-12-18 14:47:28,323 1116 [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\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-12-18 14:47:28,339 1116 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-12-18 14:47:28,527 1116 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-12-18 14:47:28,558 1116 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-12-18 14:47:28,573 1116 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-12-18 14:47:28,590 1116 [DEBUG] - * ChocolateyLastPathUpdate='133473844472816776' (User)
2023-12-18 14:47:28,605 1116 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-12-18 14:47:28,605 1116 [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;C:\tools\gsudo\Current;' (Machine)
2023-12-18 14:47:28,824 1116 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-12-18 14:47:28,892 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'E8020ADE89128D1AC3E9D8DF59A3ED54'
2023-12-18 14:47:28,904 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '72A5B59D68D67B96F591ED7DF0ECC1D8'
2023-12-18 14:47:28,904 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:47:28,923 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:47:28,933 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-12-18 14:47:28,949 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-12-18 14:47:28,949 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-12-18 14:47:28,964 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-12-18 14:47:28,979 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-12-18 14:47:28,979 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'D1FC2CF6D1485AD81AC7F3CC035F2C03'
2023-12-18 14:47:28,994 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:47:29,041 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '25EACE05BEA041C0A08E4B670BE40313'
2023-12-18 14:47:29,092 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:47:29,110 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:47:29,120 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:47:29,120 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:47:29,136 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:47:29,151 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:47:29,246 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '13ABA3C359B01DAD6E8C23CB56A5E975'
2023-12-18 14:47:29,271 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:47:29,294 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:47:29,307 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:47:29,307 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:47:29,323 1116 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:47:29,418 1116 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2".
2023-12-18 14:47:29,481 1116 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2\.files'
2023-12-18 14:47:29,529 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2\.extra".
2023-12-18 14:47:29,545 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2\.version".
2023-12-18 14:47:29,559 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2\.sxs".
2023-12-18 14:47:29,559 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.2\.pin".
2023-12-18 14:47:29,589 1116 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-12-18 14:47:29,604 1116 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-12-18 14:47:29,621 1116 [INFO ] - The install of gsudo was successful.
2023-12-18 14:47:29,636 1116 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-12-18 14:47:29,684 1116 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-12-18 14:47:29,703 1116 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-12-18 14:47:29,714 1116 [DEBUG] - Exiting with 0
2023-12-18 14:47:52,229 4052 [DEBUG] - XmlConfiguration is now operational
2023-12-18 14:47:52,511 4052 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,511 4052 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,528 4052 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,528 4052 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,542 4052 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,542 4052 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,558 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,589 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,604 4052 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-18 14:47:52,604 4052 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-12-18 14:47:52,621 4052 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-12-18 14:47:53,920 4052 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:53,948 4052 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:53,964 4052 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:53,964 4052 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:53,981 4052 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:53,996 4052 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:54,011 4052 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:54,027 4052 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-18 14:47:54,057 4052 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-12-18 14:47:54,075 4052 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-12-18 14:47:54,090 4052 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-12-18 14:47:54,105 4052 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-12-18 14:47:54,105 4052 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-12-18 14:47:54,121 4052 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-12-18 14:47:54,137 4052 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-12-18 14:47:54,137 4052 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-12-18 14:47:54,152 4052 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-12-18 14:47:54,168 4052 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-12-18 14:47:54,168 4052 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-12-18 14:47:54,184 4052 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-12-18 14:47:54,184 4052 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-12-18 14:47:54,198 4052 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-12-18 14:47:54,198 4052 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-12-18 14:47:54,216 4052 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-12-18 14:47:54,746 4052 [INFO ] - ============================================================
2023-12-18 14:47:55,293 4052 [INFO ] - Chocolatey v2.2.2
2023-12-18 14:47:55,355 4052 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-12-18 14:47:55,387 4052 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-12-18 14:47:55,402 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-12-18 14:47:55,433 4052 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.2 -dvy --execution-timeout=2700
2023-12-18 14:47:55,448 4052 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.2 -dvy --execution-timeout=2700
2023-12-18 14:47:55,698 4052 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-12-18 14:47:55,760 4052 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-12-18 14:47:55,791 4052 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-12-18 14:47:56,031 4052 [DEBUG] - Performing validation checks.
2023-12-18 14:47:56,058 4052 [DEBUG] - Global Configuration Validation Checks:
2023-12-18 14:47:56,077 4052 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-12-18 14:47:56,090 4052 [DEBUG] - System State Validation Checks:
2023-12-18 14:47:56,106 4052 [DEBUG] - Reboot Requirement Checks:
2023-12-18 14:47:56,120 4052 [DEBUG] - - Pending Computer Rename = Checked
2023-12-18 14:47:56,136 4052 [DEBUG] - - Pending Component Based Servicing = Checked
2023-12-18 14:47:56,136 4052 [DEBUG] - - Pending Windows Auto Update = Checked
2023-12-18 14:47:56,152 4052 [DEBUG] - - Pending File Rename Operations = Ignored
2023-12-18 14:47:56,168 4052 [DEBUG] - - Pending Windows Package Installer = Checked
2023-12-18 14:47:56,168 4052 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-12-18 14:47:56,183 4052 [DEBUG] - Cache Folder Lockdown Checks:
2023-12-18 14:47:56,200 4052 [DEBUG] - - Elevated State = Checked
2023-12-18 14:47:56,214 4052 [DEBUG] - - Folder Exists = Checked
2023-12-18 14:47:56,246 4052 [DEBUG] - - Folder lockdown = Checked
2023-12-18 14:47:56,278 4052 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-12-18 14:47:56,341 4052 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-12-18 14:47:56,355 4052 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-12-18 14:47:56,450 4052 [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='gsudo'|
Version='2.4.2'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|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-O1LKL0AUSLD'|
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'|
2023-12-18 14:47:56,486 4052 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-12-18 14:47:56,511 4052 [INFO ] - Uninstalling the following packages:
2023-12-18 14:47:56,527 4052 [INFO ] - gsudo
2023-12-18 14:47:56,574 4052 [DEBUG] - Current environment values (may contain sensitive data):
2023-12-18 14:47:56,574 4052 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-12-18 14:47:56,589 4052 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-18 14:47:56,604 4052 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-18 14:47:56,604 4052 [DEBUG] - * 'ChocolateyLastPathUpdate'='133473844472816776' ('User')
2023-12-18 14:47:56,621 4052 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-12-18 14:47:56,621 4052 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-12-18 14:47:56,637 4052 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-12-18 14:47:56,652 4052 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-12-18 14:47:56,652 4052 [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;C:\tools\gsudo\Current;' ('Machine')
2023-12-18 14:47:56,667 4052 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-12-18 14:47:56,682 4052 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-12-18 14:47:56,682 4052 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-12-18 14:47:56,699 4052 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-12-18 14:47:56,699 4052 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-12-18 14:47:56,714 4052 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-12-18 14:47:56,730 4052 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-12-18 14:47:56,730 4052 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2023-12-18 14:47:56,745 4052 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-12-18 14:47:56,760 4052 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-12-18 14:47:56,760 4052 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-12-18 14:47:56,776 4052 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-12-18 14:47:57,089 4052 [DEBUG] - Running list with the following filter = ''
2023-12-18 14:47:57,111 4052 [DEBUG] - --- Start of List ---
2023-12-18 14:47:57,495 4052 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-12-18 14:47:58,263 4052 [DEBUG] - chocolatey 2.2.2
2023-12-18 14:47:58,293 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-18 14:47:58,402 4052 [DEBUG] - gsudo 2.4.2
2023-12-18 14:47:58,419 4052 [DEBUG] - KB2919355 1.0.20160915
2023-12-18 14:47:58,436 4052 [DEBUG] - KB2919442 1.0.20160915
2023-12-18 14:47:58,451 4052 [DEBUG] - KB2999226 1.0.20181019
2023-12-18 14:47:58,464 4052 [DEBUG] - KB3035131 1.0.3
2023-12-18 14:47:58,481 4052 [DEBUG] - KB3118401 1.0.5
2023-12-18 14:47:58,481 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-18 14:47:58,495 4052 [DEBUG] - --- End of List ---
2023-12-18 14:47:58,510 4052 [DEBUG] - Running list with the following filter = ''
2023-12-18 14:47:58,525 4052 [DEBUG] - --- Start of List ---
2023-12-18 14:47:58,575 4052 [DEBUG] - chocolatey 2.2.2
2023-12-18 14:47:58,590 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-18 14:47:58,636 4052 [DEBUG] - gsudo 2.4.2
2023-12-18 14:47:58,636 4052 [DEBUG] - KB2919355 1.0.20160915
2023-12-18 14:47:58,652 4052 [DEBUG] - KB2919442 1.0.20160915
2023-12-18 14:47:58,667 4052 [DEBUG] - KB2999226 1.0.20181019
2023-12-18 14:47:58,714 4052 [DEBUG] - KB3035131 1.0.3
2023-12-18 14:47:58,731 4052 [DEBUG] - KB3118401 1.0.5
2023-12-18 14:47:58,747 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-18 14:47:58,760 4052 [DEBUG] - --- End of List ---
2023-12-18 14:47:58,877 4052 [DEBUG] - Running list with the following filter = ''
2023-12-18 14:47:58,888 4052 [DEBUG] - --- Start of List ---
2023-12-18 14:47:58,932 4052 [DEBUG] - chocolatey 2.2.2
2023-12-18 14:47:58,949 4052 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-18 14:47:58,996 4052 [DEBUG] - gsudo 2.4.2
2023-12-18 14:47:59,011 4052 [DEBUG] - KB2919355 1.0.20160915
2023-12-18 14:47:59,027 4052 [DEBUG] - KB2919442 1.0.20160915
2023-12-18 14:47:59,043 4052 [DEBUG] - KB2999226 1.0.20181019
2023-12-18 14:47:59,060 4052 [DEBUG] - KB3035131 1.0.3
2023-12-18 14:47:59,073 4052 [DEBUG] - KB3118401 1.0.5
2023-12-18 14:47:59,090 4052 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-18 14:47:59,090 4052 [DEBUG] - --- End of List ---
2023-12-18 14:47:59,184 4052 [INFO ] -
gsudo v2.4.2
2023-12-18 14:47:59,293 4052 [DEBUG] - Running beforeModify step for 'gsudo'
2023-12-18 14:47:59,404 4052 [DEBUG] - Setting installer args for gsudo
2023-12-18 14:47:59,404 4052 [DEBUG] - Setting package parameters for gsudo
2023-12-18 14:47:59,422 4052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-12-18 14:47:59,464 4052 [DEBUG] - $ErrorActionPreference = 'Ignore'
if (Get-Process gsudo 2> $null) {
if (Get-Command gsudo.exe 2> $null) {
# Stop any gsudo open cache sessions, if any.
gsudo.exe -k 2> $null
Start-Sleep -Milliseconds 500
}
}
$ToolsLocation = Get-ToolsLocation
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$ErrorActionPreference = 'Continue'
2023-12-18 14:47:59,558 4052 [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\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-12-18 14:47:59,589 4052 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-12-18 14:48:00,887 4052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-12-18 14:48:01,761 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:48:01,776 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:48:01,776 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:01,793 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:48:01,793 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:01,809 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:01,809 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:48:01,824 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:01,839 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:48:01,839 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:01,855 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:48:01,871 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:01,871 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:48:01,886 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:48:01,886 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:01,941 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:48:01,967 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:48:01,967 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:48:01,980 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:48:01,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:48:01,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:02,011 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:02,026 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:02,043 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:02,043 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:48:02,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:48:02,073 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:02,073 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:02,089 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:02,104 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:02,104 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:02,120 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:48:02,136 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:48:02,136 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:48:02,152 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:02,167 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:48:02,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:48:02,183 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:02,183 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:02,199 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:02,213 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:48:02,213 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:02,229 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:48:02,245 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:48:02,245 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:02,261 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:48:02,277 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:48:02,277 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:02,292 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:02,292 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:48:02,309 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:48:02,372 4052 [DEBUG] - Loading community extensions
2023-12-18 14:48:02,433 4052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-12-18 14:48:02,433 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-12-18 14:48:02,635 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:48:02,651 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:48:02,698 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:48:02,714 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:48:02,736 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:48:02,745 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:48:02,745 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:02,762 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:48:02,778 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:02,794 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:02,794 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:48:02,808 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:02,808 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:48:02,826 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:02,840 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:48:02,840 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:02,855 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:48:02,872 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:48:02,888 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:02,888 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:48:02,902 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:48:02,902 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:48:02,917 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:48:02,950 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:48:02,950 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:02,964 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:02,964 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:02,980 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:02,996 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:48:03,012 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:48:03,028 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:03,044 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:03,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:03,058 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:03,074 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:03,088 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:48:03,088 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:48:03,121 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:48:03,142 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:03,151 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:48:03,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:48:03,167 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:03,184 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:03,198 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:03,198 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:48:03,229 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:03,245 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:48:03,323 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:48:03,341 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:48:03,341 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:48:03,355 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:03,370 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:48:03,370 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:48:03,387 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:03,387 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:03,419 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:48:03,432 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:48:03,450 4052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-12-18 14:48:03,450 4052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-12-18 14:48:03,464 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:03,481 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-12-18 14:48:03,481 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:03,496 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:03,512 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-12-18 14:48:03,527 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:03,527 4052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-12-18 14:48:03,544 4052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:03,544 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-12-18 14:48:03,557 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:03,573 4052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-12-18 14:48:03,589 4052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-12-18 14:48:03,605 4052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:03,605 4052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-12-18 14:48:03,621 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-12-18 14:48:03,637 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-12-18 14:48:03,652 4052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-12-18 14:48:03,652 4052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-12-18 14:48:03,668 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:03,683 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:03,683 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:03,699 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:03,714 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-12-18 14:48:03,714 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-12-18 14:48:03,730 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:03,747 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:03,761 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:03,761 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:03,777 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:03,777 4052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-12-18 14:48:03,793 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:48:03,808 4052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-12-18 14:48:03,808 4052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-12-18 14:48:03,823 4052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:03,838 4052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-12-18 14:48:03,838 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:48:03,855 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-12-18 14:48:03,855 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:03,871 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:03,886 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:03,886 4052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-12-18 14:48:03,902 4052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:03,902 4052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-12-18 14:48:03,920 4052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-12-18 14:48:03,933 4052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:03,950 4052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-12-18 14:48:03,950 4052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-12-18 14:48:03,964 4052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:03,980 4052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-12-18 14:48:03,980 4052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-12-18 14:48:03,996 4052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:04,199 4052 [DEBUG] - ---------------------------Script Execution---------------------------
2023-12-18 14:48:04,261 4052 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-12-18 14:48:04,370 4052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-12-18 14:48:04,592 4052 [DEBUG] - Running Get-ToolsLocation
2023-12-18 14:48:04,714 4052 [DEBUG] - ----------------------------------------------------------------------
2023-12-18 14:48:04,761 4052 [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\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-12-18 14:48:04,792 4052 [DEBUG] - Backing up package files for 'gsudo'
2023-12-18 14:48:05,027 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-12-18 14:48:05,058 4052 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2
2023-12-18 14:48:05,094 4052 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2'
2023-12-18 14:48:07,121 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-12-18 14:48:07,153 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-12-18 14:48:07,182 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-12-18 14:48:07,214 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-12-18 14:48:07,230 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-12-18 14:48:07,261 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-12-18 14:48:07,293 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-12-18 14:48:07,323 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-12-18 14:48:07,354 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-12-18 14:48:07,386 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-12-18 14:48:07,465 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-12-18 14:48:07,495 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-12-18 14:48:07,511 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-12-18 14:48:07,527 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-12-18 14:48:07,527 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-12-18 14:48:07,543 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-12-18 14:48:07,573 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-12-18 14:48:07,589 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-12-18 14:48:07,607 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-12-18 14:48:07,624 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-12-18 14:48:07,636 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-12-18 14:48:07,652 4052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-12-18 14:48:07,667 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-12-18 14:48:07,683 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-12-18 14:48:07,714 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-12-18 14:48:07,732 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-12-18 14:48:07,747 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-12-18 14:48:07,761 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-12-18 14:48:07,777 4052 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.2\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-12-18 14:48:09,343 4052 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-12-18 14:48:09,423 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'E8020ADE89128D1AC3E9D8DF59A3ED54'
2023-12-18 14:48:09,436 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '72A5B59D68D67B96F591ED7DF0ECC1D8'
2023-12-18 14:48:09,449 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:48:09,466 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:48:09,466 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-12-18 14:48:09,480 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-12-18 14:48:09,495 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-12-18 14:48:09,512 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-12-18 14:48:09,526 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-12-18 14:48:09,526 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'D1FC2CF6D1485AD81AC7F3CC035F2C03'
2023-12-18 14:48:09,547 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:48:09,589 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '25EACE05BEA041C0A08E4B670BE40313'
2023-12-18 14:48:09,605 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:48:09,620 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:48:09,636 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:48:09,651 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:48:09,667 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:48:09,682 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:48:09,792 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '13ABA3C359B01DAD6E8C23CB56A5E975'
2023-12-18 14:48:09,808 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-12-18 14:48:09,825 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:48:09,842 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:48:09,855 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:48:09,871 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:48:09,902 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-12-18 14:48:09,923 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-12-18 14:48:09,936 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-12-18 14:48:09,949 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-12-18 14:48:09,980 4052 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-12-18 14:48:09,999 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-12-18 14:48:10,011 4052 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-12-18 14:48:10,043 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-12-18 14:48:10,074 4052 [DEBUG] - Setting installer args for gsudo
2023-12-18 14:48:10,074 4052 [DEBUG] - Setting package parameters for gsudo
2023-12-18 14:48:10,090 4052 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-12-18 14:48:10,090 4052 [DEBUG] - Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
function MarkFileDelete {
param(
[parameter(Mandatory=$true)]
[string] $path
)
# the code below has been used from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/10/19/weekend-scripter-use-powershell-and-pinvoke-to-remove-stubborn-files.aspx
# with inspiration from
# http://www.leeholmes.com/blog/2009/02/17/moving-and-deleting-really-locked-files-in-powershell/
# and error handling from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/06/25/use-powershell-to-interact-with-the-windows-api-part-1.aspx
Add-Type @'
using System;
using System.Text;
using System.Runtime.InteropServices;
public class Posh
{
public enum MoveFileFlags
{
MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004
}
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags);
public static bool MarkFileDelete (string sourcefile)
{
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
}
'@
$deleteResult = [Posh]::MarkFileDelete($path)
if ($deleteResult) {
write-Warning "(Delete of $path failed: Will be deleted at next boot.)"
} else {
write-Warning "(Error marking $path for deletion at next boot.)"
}
}
$installPath = "$(Get-ToolsLocation)\gsudo"
Uninstall-ChocolateyPath "$installPath\Current" 'Machine'
$ErrorActionPreference="Ignore"
# Delete symlinks in Pwsh 5.
Get-ChildItem $installPath -Recurse |? LinkType -eq 'SymbolicLink'|%{$_.Delete()}
# Delete the rest.
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
if (Test-Path $installPath) {
# Files are in use so delete failed.
# Rename used files and directories.
Get-ChildItem $installPath -Recurse -Exclude "*.deleteMe" | Sort-Object -Descending {(++$script:i)} | % { Rename-Item -Path $_.FullName -NewName ($_.Name + ".deleteMe") ; } *> $NULL
# Mark remaining for delete after restart.
Get-ChildItem $installPath -Recurse | % { MarkFileDelete ( $_.FullName) }
MarkFileDelete ( $installPath );
}
$ErrorActionPreference = 'Continue'
2023-12-18 14:48:10,183 4052 [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\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-12-18 14:48:10,277 4052 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-12-18 14:48:10,479 4052 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-12-18 14:48:10,998 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:48:11,010 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:48:11,073 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:11,073 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:48:11,105 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:11,137 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:11,167 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:48:11,184 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:11,198 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:48:11,214 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:11,230 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:48:11,261 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:11,261 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:48:11,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:48:11,292 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:11,309 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:48:11,323 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:48:11,341 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:48:11,354 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:48:11,371 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:48:11,385 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:11,402 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:11,402 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:11,418 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:11,433 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:48:11,450 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:48:11,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:11,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:11,580 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:11,589 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:11,605 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:11,621 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:48:11,636 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:48:11,652 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:48:11,668 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:11,668 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:48:11,683 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:48:11,699 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:11,715 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:11,730 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:11,745 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:48:11,762 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:11,777 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:48:11,777 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:48:11,793 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:11,810 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:48:11,825 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:48:11,856 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:11,870 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:11,886 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:48:11,901 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:48:11,918 4052 [DEBUG] - Loading community extensions
2023-12-18 14:48:11,980 4052 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-12-18 14:48:12,012 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-12-18 14:48:12,151 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:48:12,168 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:48:12,182 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:48:12,198 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:48:12,214 4052 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-18 14:48:12,231 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-18 14:48:12,248 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:12,248 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-18 14:48:12,262 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:12,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:12,277 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-18 14:48:12,293 4052 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:12,307 4052 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-18 14:48:12,307 4052 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:12,324 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-18 14:48:12,340 4052 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:12,340 4052 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-18 14:48:12,356 4052 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-18 14:48:12,370 4052 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:12,386 4052 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-18 14:48:12,386 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-18 14:48:12,402 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-18 14:48:12,417 4052 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-18 14:48:12,417 4052 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-18 14:48:12,433 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:12,449 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:12,464 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:12,480 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:12,480 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-18 14:48:12,495 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-18 14:48:12,511 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:12,511 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:12,527 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:12,527 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:12,542 4052 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:12,559 4052 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-18 14:48:12,559 4052 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-18 14:48:12,574 4052 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-18 14:48:12,589 4052 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:12,589 4052 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-18 14:48:12,605 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-18 14:48:12,620 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:12,620 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:12,637 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:12,653 4052 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-18 14:48:12,668 4052 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:12,668 4052 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-18 14:48:12,683 4052 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-18 14:48:12,699 4052 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-18 14:48:12,699 4052 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-18 14:48:12,715 4052 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:12,730 4052 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-18 14:48:12,730 4052 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-18 14:48:12,746 4052 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:12,746 4052 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:12,761 4052 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-18 14:48:12,777 4052 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-18 14:48:12,792 4052 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-12-18 14:48:12,792 4052 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-12-18 14:48:12,808 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-12-18 14:48:12,823 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-12-18 14:48:12,823 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-12-18 14:48:12,922 4052 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-12-18 14:48:12,935 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-12-18 14:48:12,951 4052 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-12-18 14:48:12,963 4052 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-12-18 14:48:12,980 4052 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-12-18 14:48:12,980 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-12-18 14:48:12,995 4052 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-12-18 14:48:12,995 4052 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-12-18 14:48:13,011 4052 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-12-18 14:48:13,011 4052 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-12-18 14:48:13,029 4052 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-12-18 14:48:13,042 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-12-18 14:48:13,058 4052 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-12-18 14:48:13,058 4052 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-12-18 14:48:13,089 4052 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-12-18 14:48:13,089 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:13,105 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-12-18 14:48:13,105 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-12-18 14:48:13,122 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-12-18 14:48:13,122 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-12-18 14:48:13,136 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-12-18 14:48:13,152 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-18 14:48:13,152 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-12-18 14:48:13,166 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-12-18 14:48:13,182 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-12-18 14:48:13,198 4052 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-12-18 14:48:13,214 4052 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-12-18 14:48:13,229 4052 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-18 14:48:13,246 4052 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-12-18 14:48:13,246 4052 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-12-18 14:48:13,261 4052 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-12-18 14:48:13,277 4052 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-12-18 14:48:13,292 4052 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-18 14:48:13,292 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-12-18 14:48:13,309 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-18 14:48:13,323 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-12-18 14:48:13,323 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-12-18 14:48:13,338 4052 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-12-18 14:48:13,354 4052 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-12-18 14:48:13,354 4052 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-12-18 14:48:13,373 4052 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-12-18 14:48:13,373 4052 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-12-18 14:48:13,387 4052 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-12-18 14:48:13,403 4052 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-12-18 14:48:13,417 4052 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-12-18 14:48:13,417 4052 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-12-18 14:48:13,433 4052 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-12-18 14:48:13,449 4052 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-12-18 14:48:13,480 4052 [DEBUG] - ---------------------------Script Execution---------------------------
2023-12-18 14:48:13,497 4052 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.2 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-12-18 14:48:13,542 4052 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-12-18 14:48:13,574 4052 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-12-18 14:48:13,636 4052 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-12-18 14:48:13,653 4052 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-12-18 14:48:13,669 4052 [DEBUG] - Running Get-ToolsLocation
2023-12-18 14:48:13,822 4052 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-12-18 14:48:13,901 4052 [DEBUG] - Running Update-SessionEnvironment
2023-12-18 14:48:13,918 4052 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-12-18 14:48:14,823 4052 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-12-18 14:48:14,839 4052 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-12-18 14:48:15,168 4052 [DEBUG] - Test-ProcessAdminRights: returning True
2023-12-18 14:48:15,292 4052 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' -Scope 'Machine'
2023-12-18 14:48:15,385 4052 [DEBUG] - Registry type for Path is/will be ExpandString
2023-12-18 14:48:15,463 4052 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-12-18 14:48:16,230 4052 [DEBUG] - Running Update-SessionEnvironment
2023-12-18 14:48:16,246 4052 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-12-18 14:48:17,026 4052 [DEBUG] - ----------------------------------------------------------------------
2023-12-18 14:48:17,058 4052 [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\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-12-18 14:48:17,104 4052 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-12-18 14:48:17,119 4052 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-12-18 14:48:17,323 4052 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-12-18 14:48:17,356 4052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-12-18 14:48:17,401 4052 [DEBUG] - Ensuring removal of installation files.
2023-12-18 14:48:17,464 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'E8020ADE89128D1AC3E9D8DF59A3ED54'
2023-12-18 14:48:17,481 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-12-18 14:48:17,496 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '72A5B59D68D67B96F591ED7DF0ECC1D8'
2023-12-18 14:48:17,496 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-12-18 14:48:17,512 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-12-18 14:48:17,529 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-12-18 14:48:17,559 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-12-18 14:48:17,575 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-12-18 14:48:17,605 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-12-18 14:48:17,636 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-12-18 14:48:17,656 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-12-18 14:48:17,668 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-12-18 14:48:17,683 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-12-18 14:48:17,683 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-12-18 14:48:17,698 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'D1FC2CF6D1485AD81AC7F3CC035F2C03'
2023-12-18 14:48:17,761 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-12-18 14:48:17,777 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:48:17,807 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-12-18 14:48:17,855 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '25EACE05BEA041C0A08E4B670BE40313'
2023-12-18 14:48:17,873 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-12-18 14:48:17,918 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:48:17,935 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-12-18 14:48:17,964 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:48:17,964 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-12-18 14:48:17,981 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:48:17,996 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-12-18 14:48:17,996 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:48:18,012 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-12-18 14:48:18,044 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-12-18 14:48:18,074 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-12-18 14:48:18,309 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '13ABA3C359B01DAD6E8C23CB56A5E975'
2023-12-18 14:48:18,371 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-12-18 14:48:18,402 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'DB8AD54FFD7DCEBA74490C05BD606FAB'
2023-12-18 14:48:18,433 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-12-18 14:48:18,464 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '266EDF702869CA834000393E31F2ECC1'
2023-12-18 14:48:18,496 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-12-18 14:48:18,529 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '86CDDD5F95CB85B03911892E906F7CB0'
2023-12-18 14:48:18,559 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-12-18 14:48:18,579 4052 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'F015CDFA0FBBE60402C7BB7104EE0F55'
2023-12-18 14:48:18,610 4052 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-12-18 14:48:18,621 4052 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-12-18 14:48:18,636 4052 [INFO ] - gsudo has been successfully uninstalled.
2023-12-18 14:48:18,652 4052 [DEBUG] - Removing nupkg if it still exists.
2023-12-18 14:48:18,699 4052 [DEBUG] - Ensuring removal of installation files.
2023-12-18 14:48:18,745 4052 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-12-18 14:48:18,745 4052 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-12-18 14:48:18,794 4052 [DEBUG] - * ChocolateyLastPathUpdate='133473844959798500' (User)
2023-12-18 14:48:18,841 4052 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' (Machine)
2023-12-18 14:48:19,057 4052 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-12-18 14:48:19,075 4052 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-12-18 14:48:19,088 4052 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment