Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created August 27, 2023 22:21
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/55cb9fed51e4eb8e2af6c9f5646a1ed4 to your computer and use it in GitHub Desktop.
Save choco-bot/55cb9fed51e4eb8e2af6c9f5646a1ed4 to your computer and use it in GitHub Desktop.
gsudo v2.4.0 - Passed - Package Tests Results

gsudo v2.4.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.4.0
  • Tested 27 Aug 2023 22:21:44 +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="944B7F78296AF1C7E0E3787FC218F01B" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="A1BCF405D46E21B76D411B6BA1FCFBD0" />
<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="83D35E08EC4F9EB24194F18B361E79CF" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="3BFB7F65D7605BE22DB714AB75936A88" />
<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="CF1F70417092A81B06FFEF21409A6366" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="A30ECF8FCBB6BF5FEF0BE01A7D859907" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1" checksum="B4B33FA699B7F7C39D53E172312B3DD1" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="7FA5DE986B6F9B500DB8C2DDBBDA61D9" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="CEFA11C4FE8AC9425FA10A1087913FA3" />
<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="B88AA3623CEBF26BEB4427297CA1915A" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="CD0EA31079B4FEEBB3AA058E76805558" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1" checksum="B4B33FA699B7F7C39D53E172312B3DD1" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="7FA5DE986B6F9B500DB8C2DDBBDA61D9" />
</files>
</fileSnapshot>
2023-08-27 22:20:54,579 5004 [DEBUG] - XmlConfiguration is now operational
2023-08-27 22:20:54,750 5004 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,750 5004 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,750 5004 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,750 5004 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,766 5004 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,766 5004 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,766 5004 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,782 5004 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,782 5004 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:20:54,782 5004 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-27 22:20:54,782 5004 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-27 22:20:55,784 5004 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,798 5004 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,798 5004 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,798 5004 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,813 5004 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,813 5004 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,813 5004 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,813 5004 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,829 5004 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,829 5004 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:20:55,939 5004 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-27 22:20:55,939 5004 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-27 22:20:55,954 5004 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-27 22:20:55,954 5004 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-27 22:20:55,954 5004 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-27 22:20:55,954 5004 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-27 22:20:55,969 5004 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-27 22:20:55,969 5004 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-27 22:20:55,969 5004 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-27 22:20:55,969 5004 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-27 22:20:55,985 5004 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-27 22:20:55,985 5004 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-27 22:20:55,985 5004 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-27 22:20:56,001 5004 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-27 22:20:56,001 5004 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-27 22:20:56,001 5004 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-27 22:20:56,001 5004 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-27 22:20:56,016 5004 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-27 22:20:56,016 5004 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-27 22:20:56,016 5004 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-27 22:20:56,314 5004 [INFO ] - ============================================================
2023-08-27 22:20:56,736 5004 [INFO ] - Chocolatey v2.2.2
2023-08-27 22:20:56,814 5004 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-27 22:20:56,829 5004 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-27 22:20:56,844 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-27 22:20:56,861 5004 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.4.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-27 22:20:56,861 5004 [DEBUG] - Received arguments: install gsudo --version 2.4.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-27 22:20:57,032 5004 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-27 22:20:57,064 5004 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-27 22:20:57,094 5004 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-27 22:20:57,314 5004 [DEBUG] - Performing validation checks.
2023-08-27 22:20:57,330 5004 [DEBUG] - Global Configuration Validation Checks:
2023-08-27 22:20:57,330 5004 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-27 22:20:57,344 5004 [DEBUG] - System State Validation Checks:
2023-08-27 22:20:57,344 5004 [DEBUG] - Reboot Requirement Checks:
2023-08-27 22:20:57,360 5004 [DEBUG] - - Pending Computer Rename = Checked
2023-08-27 22:20:57,376 5004 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-27 22:20:57,391 5004 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-27 22:20:57,391 5004 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-27 22:20:57,407 5004 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-27 22:20:57,407 5004 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-27 22:20:57,423 5004 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-27 22:20:57,438 5004 [DEBUG] - - Elevated State = Checked
2023-08-27 22:20:57,438 5004 [DEBUG] - - Folder Exists = Checked
2023-08-27 22:20:57,455 5004 [DEBUG] - - Folder lockdown = Checked
2023-08-27 22:20:57,470 5004 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-27 22:20:57,516 5004 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-27 22:20:57,516 5004 [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-08-27 22:20:57,563 5004 [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.0'|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-5B15ORLOIDF'|
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-08-27 22:20:57,579 5004 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-08-27 22:20:57,611 5004 [INFO ] - Installing the following packages:
2023-08-27 22:20:57,611 5004 [INFO ] - gsudo
2023-08-27 22:20:57,626 5004 [INFO ] - By installing, you accept licenses for the packages.
2023-08-27 22:20:57,642 5004 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-27 22:20:57,658 5004 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-27 22:20:57,658 5004 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-27 22:20:57,672 5004 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-27 22:20:57,672 5004 [DEBUG] - * 'ChocolateyLastPathUpdate'='133376135021899300' ('User')
2023-08-27 22:20:57,672 5004 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-27 22:20:57,688 5004 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-27 22:20:57,704 5004 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-27 22:20:57,719 5004 [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-08-27 22:20:57,719 5004 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-27 22:20:57,735 5004 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-27 22:20:57,735 5004 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-27 22:20:57,751 5004 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-27 22:20:57,751 5004 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-27 22:20:57,751 5004 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-27 22:20:57,766 5004 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-27 22:20:57,766 5004 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-27 22:20:57,782 5004 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-27 22:20:57,782 5004 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-27 22:20:57,797 5004 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-27 22:20:57,797 5004 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-27 22:20:58,360 5004 [DEBUG] - Running list with the following filter = ''
2023-08-27 22:20:58,376 5004 [DEBUG] - --- Start of List ---
2023-08-27 22:20:58,438 5004 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-27 22:20:59,111 5004 [DEBUG] - chocolatey 2.2.2
2023-08-27 22:20:59,157 5004 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-27 22:20:59,173 5004 [DEBUG] - KB2919355 1.0.20160915
2023-08-27 22:20:59,189 5004 [DEBUG] - KB2919442 1.0.20160915
2023-08-27 22:20:59,205 5004 [DEBUG] - KB2999226 1.0.20181019
2023-08-27 22:20:59,236 5004 [DEBUG] - KB3035131 1.0.3
2023-08-27 22:20:59,251 5004 [DEBUG] - KB3118401 1.0.5
2023-08-27 22:20:59,268 5004 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-27 22:20:59,268 5004 [DEBUG] - --- End of List ---
2023-08-27 22:20:59,283 5004 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-08-27 22:21:00,375 5004 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-08-27 22:21:01,017 5004 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.0')
2023-08-27 22:21:01,331 5004 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.0') 317ms
2023-08-27 22:21:01,720 5004 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-08-27 22:21:02,532 5004 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-08-27 22:21:02,547 5004 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.0')
2023-08-27 22:21:02,768 5004 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-08-27 22:21:02,798 5004 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-08-27 22:21:02,862 5004 [DEBUG] - Attempting to delete file "".
2023-08-27 22:21:02,907 5004 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/gsudo/2.4.0
2023-08-27 22:21:03,595 5004 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/gsudo/2.4.0 683ms
2023-08-27 22:21:03,658 5004 [INFO ] - [NuGet] Acquiring lock for the installation of gsudo 2.4.0
2023-08-27 22:21:03,735 5004 [INFO ] - [NuGet] Acquired lock for the installation of gsudo 2.4.0
2023-08-27 22:21:05,173 5004 [INFO ] - [NuGet] Installed gsudo 2.4.0 from https://community.chocolatey.org/api/v2/ with content hash PWeySPa1mboz/XCKb4tuXPsrl0dJUHbEIaRPEtDWnytI3ZbYG+TZAXBoPgsCTFUGZ+0MFk0D544Ahb3VP6lVyg==.
2023-08-27 22:21:05,235 5004 [INFO ] - [NuGet] Adding package 'gsudo.2.4.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-27 22:21:05,689 5004 [INFO ] - [NuGet] Added package 'gsudo.2.4.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-27 22:21:05,704 5004 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.0\gsudo.2.4.0.nupkg".
2023-08-27 22:21:05,720 5004 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.0\.nupkg.metadata".
2023-08-27 22:21:05,735 5004 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.0\gsudo.2.4.0.nupkg.sha512".
2023-08-27 22:21:05,751 5004 [INFO ] -
gsudo v2.4.0 (forced)
2023-08-27 22:21:05,847 5004 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-08-27 22:21:05,938 5004 [DEBUG] - Setting installer args for gsudo
2023-08-27 22:21:05,938 5004 [DEBUG] - Setting package parameters for gsudo
2023-08-27 22:21:05,938 5004 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-08-27 22:21:05,969 5004 [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-08-27 22:21:06,017 5004 [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-08-27 22:21:06,032 5004 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-27 22:21:06,751 5004 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-27 22:21:07,438 5004 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:07,438 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:07,438 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:07,454 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:07,454 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:07,470 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:07,485 5004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:07,485 5004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:07,485 5004 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:07,501 5004 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:07,501 5004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:07,516 5004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:07,516 5004 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:07,532 5004 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:07,532 5004 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:07,547 5004 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:07,547 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:07,563 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:07,580 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:07,580 5004 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:07,594 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:07,594 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:07,610 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:07,610 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:07,626 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:07,626 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:07,641 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:07,641 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:07,657 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:07,657 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:07,673 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:07,689 5004 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:07,704 5004 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:07,704 5004 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:07,719 5004 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:07,719 5004 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:07,735 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:07,735 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:07,750 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:07,750 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:07,766 5004 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:07,766 5004 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:07,782 5004 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:07,782 5004 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:07,797 5004 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:07,813 5004 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:07,829 5004 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:07,829 5004 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:07,844 5004 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:07,844 5004 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:07,860 5004 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:07,891 5004 [DEBUG] - Loading community extensions
2023-08-27 22:21:07,923 5004 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-27 22:21:07,939 5004 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-27 22:21:08,047 5004 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:08,063 5004 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:08,063 5004 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:08,079 5004 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:08,079 5004 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:08,094 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:08,110 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:08,110 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:08,110 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:08,125 5004 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:08,141 5004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:08,141 5004 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:08,157 5004 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:08,157 5004 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:08,172 5004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:08,172 5004 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:08,204 5004 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:08,204 5004 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:08,219 5004 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:08,219 5004 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:08,235 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:08,235 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:08,250 5004 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:08,250 5004 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:08,266 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:08,282 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:08,282 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:08,297 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:08,297 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:08,297 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:08,313 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:08,328 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:08,328 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:08,345 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:08,345 5004 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:08,360 5004 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:08,360 5004 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:08,360 5004 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:08,375 5004 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:08,375 5004 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:08,391 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:08,391 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:08,407 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:08,407 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:08,422 5004 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:08,422 5004 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:08,438 5004 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:08,438 5004 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:08,454 5004 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:08,454 5004 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:08,454 5004 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:08,469 5004 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:08,485 5004 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:08,485 5004 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:08,501 5004 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:08,501 5004 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:08,516 5004 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:08,516 5004 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-27 22:21:08,532 5004 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-27 22:21:08,532 5004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:08,548 5004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-27 22:21:08,548 5004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:08,563 5004 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:08,579 5004 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-27 22:21:08,579 5004 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:08,595 5004 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-27 22:21:08,612 5004 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:08,626 5004 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-27 22:21:08,626 5004 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:08,641 5004 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-27 22:21:08,641 5004 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-27 22:21:08,657 5004 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:08,657 5004 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-27 22:21:08,673 5004 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-27 22:21:08,673 5004 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-27 22:21:08,688 5004 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-27 22:21:08,704 5004 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-27 22:21:08,704 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:08,704 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:08,720 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:08,720 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:08,735 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-27 22:21:08,751 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-27 22:21:08,751 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:08,766 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:08,766 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:08,781 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:08,782 5004 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:08,782 5004 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-27 22:21:08,798 5004 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:08,798 5004 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-27 22:21:08,814 5004 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-27 22:21:08,814 5004 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:08,830 5004 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-27 22:21:08,860 5004 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:08,876 5004 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-27 22:21:08,876 5004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:08,891 5004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:08,891 5004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:08,891 5004 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-27 22:21:08,907 5004 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:08,907 5004 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-27 22:21:08,922 5004 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-27 22:21:08,922 5004 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:08,922 5004 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-27 22:21:08,938 5004 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-27 22:21:08,953 5004 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:08,953 5004 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-27 22:21:08,969 5004 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-27 22:21:08,969 5004 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:09,079 5004 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-27 22:21:09,094 5004 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-27 22:21:09,157 5004 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-08-27 22:21:09,204 5004 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-08-27 22:21:09,219 5004 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-08-27 22:21:09,219 5004 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-08-27 22:21:09,299 5004 [DEBUG] - Running Get-ToolsLocation
2023-08-27 22:21:09,423 5004 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-08-27 22:21:09,501 5004 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-08-27 22:21:09,548 5004 [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-08-27 22:21:09,924 5004 [DEBUG] - Running Update-SessionEnvironment
2023-08-27 22:21:09,938 5004 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-27 22:21:11,047 5004 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-08-27 22:21:11,063 5004 [DEBUG] - Running Update-SessionEnvironment
2023-08-27 22:21:11,063 5004 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-27 22:21:11,391 5004 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-08-27 22:21:11,391 5004 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-08-27 22:21:11,501 5004 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-27 22:21:11,516 5004 [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-08-27 22:21:11,532 5004 [DEBUG] - Registry type for Path is/will be ExpandString
2023-08-27 22:21:11,688 5004 [DEBUG] - Running Update-SessionEnvironment
2023-08-27 22:21:11,688 5004 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-27 22:21:12,141 5004 [INFO ] - symbolic link created for C:\tools\gsudo\v2.4.0\sudo.exe <<===>> C:\tools\gsudo\v2.4.0\gsudo.exe
2023-08-27 22:21:12,158 5004 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2023-08-27 22:21:12,297 5004 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.4.0\
2023-08-27 22:21:12,313 5004 [INFO ] -
2023-08-27 22:21:12,329 5004 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-08-27 22:21:12,344 5004 [INFO ] - Import-Module 'gsudoModule'
2023-08-27 22:21:12,344 5004 [INFO ] - Or run:
2023-08-27 22:21:12,360 5004 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-08-27 22:21:12,360 5004 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-08-27 22:21:12,438 5004 [DEBUG] - ----------------------------------------------------------------------
2023-08-27 22:21:12,454 5004 [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-08-27 22:21:12,469 5004 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-27 22:21:12,813 5004 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-27 22:21:12,860 5004 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-08-27 22:21:12,875 5004 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-08-27 22:21:12,875 5004 [DEBUG] - * ChocolateyLastPathUpdate='133376484715787403' (User)
2023-08-27 22:21:12,891 5004 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-08-27 22:21:12,891 5004 [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-08-27 22:21:13,079 5004 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-08-27 22:21:13,143 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '944B7F78296AF1C7E0E3787FC218F01B'
2023-08-27 22:21:13,143 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum 'A1BCF405D46E21B76D411B6BA1FCFBD0'
2023-08-27 22:21:13,156 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:13,172 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:13,172 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-27 22:21:13,188 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-27 22:21:13,188 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-27 22:21:13,188 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-27 22:21:13,203 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-27 22:21:13,203 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '83D35E08EC4F9EB24194F18B361E79CF'
2023-08-27 22:21:13,219 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:13,297 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '3BFB7F65D7605BE22DB714AB75936A88'
2023-08-27 22:21:13,297 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:13,297 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'CF1F70417092A81B06FFEF21409A6366'
2023-08-27 22:21:13,314 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'A30ECF8FCBB6BF5FEF0BE01A7D859907'
2023-08-27 22:21:13,314 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:13,328 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:13,328 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:13,440 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum 'CEFA11C4FE8AC9425FA10A1087913FA3'
2023-08-27 22:21:13,454 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:13,454 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'B88AA3623CEBF26BEB4427297CA1915A'
2023-08-27 22:21:13,454 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CD0EA31079B4FEEBB3AA058E76805558'
2023-08-27 22:21:13,469 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:13,485 5004 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:13,547 5004 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0".
2023-08-27 22:21:13,611 5004 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0\.files'
2023-08-27 22:21:13,641 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0\.extra".
2023-08-27 22:21:13,704 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0\.version".
2023-08-27 22:21:13,704 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0\.sxs".
2023-08-27 22:21:13,719 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.0\.pin".
2023-08-27 22:21:13,735 5004 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-08-27 22:21:13,751 5004 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-08-27 22:21:13,766 5004 [INFO ] - The install of gsudo was successful.
2023-08-27 22:21:13,786 5004 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-08-27 22:21:13,845 5004 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-27 22:21:13,879 5004 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-27 22:21:13,907 5004 [DEBUG] - Exiting with 0
2023-08-27 22:21:27,328 5324 [DEBUG] - XmlConfiguration is now operational
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,485 5324 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,500 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-27 22:21:27,516 5324 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,361 5324 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,375 5324 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,390 5324 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,406 5324 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-27 22:21:28,438 5324 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-27 22:21:28,453 5324 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-27 22:21:28,454 5324 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-27 22:21:28,469 5324 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-27 22:21:28,484 5324 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-27 22:21:28,500 5324 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-27 22:21:28,516 5324 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-27 22:21:28,797 5324 [INFO ] - ============================================================
2023-08-27 22:21:29,172 5324 [INFO ] - Chocolatey v2.2.2
2023-08-27 22:21:29,203 5324 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-27 22:21:29,220 5324 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-27 22:21:29,220 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-27 22:21:29,251 5324 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.0 -dvy --execution-timeout=2700
2023-08-27 22:21:29,251 5324 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.0 -dvy --execution-timeout=2700
2023-08-27 22:21:29,438 5324 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-27 22:21:29,469 5324 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-27 22:21:29,484 5324 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-27 22:21:29,703 5324 [DEBUG] - Performing validation checks.
2023-08-27 22:21:29,719 5324 [DEBUG] - Global Configuration Validation Checks:
2023-08-27 22:21:29,719 5324 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-27 22:21:29,735 5324 [DEBUG] - System State Validation Checks:
2023-08-27 22:21:29,751 5324 [DEBUG] - Reboot Requirement Checks:
2023-08-27 22:21:29,766 5324 [DEBUG] - - Pending Computer Rename = Checked
2023-08-27 22:21:29,766 5324 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-27 22:21:29,781 5324 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-27 22:21:29,781 5324 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-27 22:21:29,797 5324 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-27 22:21:29,812 5324 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-27 22:21:29,812 5324 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-27 22:21:29,829 5324 [DEBUG] - - Elevated State = Checked
2023-08-27 22:21:29,829 5324 [DEBUG] - - Folder Exists = Checked
2023-08-27 22:21:29,844 5324 [DEBUG] - - Folder lockdown = Checked
2023-08-27 22:21:29,860 5324 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-27 22:21:29,906 5324 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-27 22:21:29,906 5324 [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-08-27 22:21:29,984 5324 [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.0'|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-5B15ORLOIDF'|
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-08-27 22:21:30,000 5324 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-08-27 22:21:30,016 5324 [INFO ] - Uninstalling the following packages:
2023-08-27 22:21:30,031 5324 [INFO ] - gsudo
2023-08-27 22:21:30,047 5324 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-27 22:21:30,047 5324 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-27 22:21:30,062 5324 [DEBUG] - * 'ChocolateyLastPathUpdate'='133376484715787403' ('User')
2023-08-27 22:21:30,078 5324 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-08-27 22:21:30,078 5324 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-27 22:21:30,094 5324 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-27 22:21:30,094 5324 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-27 22:21:30,109 5324 [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-08-27 22:21:30,109 5324 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-27 22:21:30,125 5324 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-27 22:21:30,125 5324 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-27 22:21:30,141 5324 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-27 22:21:30,141 5324 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-27 22:21:30,157 5324 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-27 22:21:30,157 5324 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-27 22:21:30,172 5324 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-27 22:21:30,172 5324 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-27 22:21:30,187 5324 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-27 22:21:30,187 5324 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-27 22:21:30,203 5324 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-27 22:21:30,438 5324 [DEBUG] - Running list with the following filter = ''
2023-08-27 22:21:30,438 5324 [DEBUG] - --- Start of List ---
2023-08-27 22:21:30,703 5324 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-27 22:21:31,172 5324 [DEBUG] - chocolatey 2.2.2
2023-08-27 22:21:31,187 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-27 22:21:31,250 5324 [DEBUG] - gsudo 2.4.0
2023-08-27 22:21:31,265 5324 [DEBUG] - KB2919355 1.0.20160915
2023-08-27 22:21:31,265 5324 [DEBUG] - KB2919442 1.0.20160915
2023-08-27 22:21:31,281 5324 [DEBUG] - KB2999226 1.0.20181019
2023-08-27 22:21:31,297 5324 [DEBUG] - KB3035131 1.0.3
2023-08-27 22:21:31,312 5324 [DEBUG] - KB3118401 1.0.5
2023-08-27 22:21:31,312 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-27 22:21:31,329 5324 [DEBUG] - --- End of List ---
2023-08-27 22:21:31,329 5324 [DEBUG] - Running list with the following filter = ''
2023-08-27 22:21:31,344 5324 [DEBUG] - --- Start of List ---
2023-08-27 22:21:31,375 5324 [DEBUG] - chocolatey 2.2.2
2023-08-27 22:21:31,375 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-27 22:21:31,422 5324 [DEBUG] - gsudo 2.4.0
2023-08-27 22:21:31,422 5324 [DEBUG] - KB2919355 1.0.20160915
2023-08-27 22:21:31,437 5324 [DEBUG] - KB2919442 1.0.20160915
2023-08-27 22:21:31,437 5324 [DEBUG] - KB2999226 1.0.20181019
2023-08-27 22:21:31,453 5324 [DEBUG] - KB3035131 1.0.3
2023-08-27 22:21:31,468 5324 [DEBUG] - KB3118401 1.0.5
2023-08-27 22:21:31,484 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-27 22:21:31,484 5324 [DEBUG] - --- End of List ---
2023-08-27 22:21:31,546 5324 [DEBUG] - Running list with the following filter = ''
2023-08-27 22:21:31,563 5324 [DEBUG] - --- Start of List ---
2023-08-27 22:21:31,594 5324 [DEBUG] - chocolatey 2.2.2
2023-08-27 22:21:31,609 5324 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-27 22:21:31,640 5324 [DEBUG] - gsudo 2.4.0
2023-08-27 22:21:31,672 5324 [DEBUG] - KB2919355 1.0.20160915
2023-08-27 22:21:31,687 5324 [DEBUG] - KB2919442 1.0.20160915
2023-08-27 22:21:31,687 5324 [DEBUG] - KB2999226 1.0.20181019
2023-08-27 22:21:31,703 5324 [DEBUG] - KB3035131 1.0.3
2023-08-27 22:21:31,719 5324 [DEBUG] - KB3118401 1.0.5
2023-08-27 22:21:31,734 5324 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-27 22:21:31,734 5324 [DEBUG] - --- End of List ---
2023-08-27 22:21:31,798 5324 [INFO ] -
gsudo v2.4.0
2023-08-27 22:21:31,844 5324 [DEBUG] - Running beforeModify step for 'gsudo'
2023-08-27 22:21:31,876 5324 [DEBUG] - Setting installer args for gsudo
2023-08-27 22:21:31,891 5324 [DEBUG] - Setting package parameters for gsudo
2023-08-27 22:21:31,891 5324 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-08-27 22:21:31,922 5324 [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-08-27 22:21:31,969 5324 [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-08-27 22:21:31,985 5324 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-27 22:21:32,625 5324 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-27 22:21:33,172 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:33,172 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:33,187 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:33,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:33,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:33,219 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:33,219 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:33,234 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:33,234 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:33,250 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:33,250 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:33,265 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:33,265 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:33,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:33,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:33,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:33,312 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:33,312 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:33,328 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:33,360 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:33,360 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:33,376 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:33,376 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:33,390 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:33,407 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:33,421 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:33,421 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:33,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:33,453 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:33,453 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:33,469 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:33,469 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:33,484 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:33,484 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:33,500 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:33,500 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:33,515 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:33,515 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:33,532 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:33,547 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:33,547 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:33,563 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:33,563 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:33,578 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:33,593 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:33,657 5324 [DEBUG] - Loading community extensions
2023-08-27 22:21:33,734 5324 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-27 22:21:33,751 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-27 22:21:33,844 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:33,859 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:33,859 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:33,875 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:33,875 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:33,891 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:33,891 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:33,907 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:33,922 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:33,922 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:33,938 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:33,953 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:33,969 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:33,969 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:33,984 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:33,984 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:34,000 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:34,000 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:34,016 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:34,016 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:34,031 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:34,031 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:34,047 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:34,063 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:34,063 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:34,079 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:34,079 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:34,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:34,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:34,109 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:34,109 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:34,125 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:34,125 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:34,140 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:34,140 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:34,156 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:34,156 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:34,172 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:34,172 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:34,187 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:34,203 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:34,203 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:34,219 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:34,234 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:34,234 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:34,250 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:34,250 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:34,266 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:34,266 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:34,281 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:34,281 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:34,297 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:34,297 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:34,313 5324 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-27 22:21:34,313 5324 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-27 22:21:34,345 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:34,360 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-27 22:21:34,360 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:34,375 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:34,375 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-27 22:21:34,391 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:34,391 5324 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-27 22:21:34,406 5324 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:34,406 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-27 22:21:34,422 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:34,422 5324 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-27 22:21:34,437 5324 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-27 22:21:34,437 5324 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:34,453 5324 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-27 22:21:34,453 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-27 22:21:34,468 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-27 22:21:34,468 5324 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:34,484 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:34,500 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:34,500 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:34,515 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-27 22:21:34,515 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-27 22:21:34,532 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:34,532 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:34,547 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:34,562 5324 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-27 22:21:34,579 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:34,579 5324 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:34,594 5324 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-27 22:21:34,610 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:34,625 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-27 22:21:34,625 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:34,640 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:34,640 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:34,656 5324 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-27 22:21:34,656 5324 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:34,672 5324 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-27 22:21:34,672 5324 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-27 22:21:34,687 5324 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-27 22:21:34,703 5324 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:34,719 5324 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-27 22:21:34,734 5324 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-27 22:21:34,734 5324 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:34,828 5324 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-27 22:21:34,859 5324 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-27 22:21:34,906 5324 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-08-27 22:21:35,000 5324 [DEBUG] - Running Get-ToolsLocation
2023-08-27 22:21:35,063 5324 [DEBUG] - ----------------------------------------------------------------------
2023-08-27 22:21:35,078 5324 [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-08-27 22:21:35,093 5324 [DEBUG] - Backing up package files for 'gsudo'
2023-08-27 22:21:35,250 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-08-27 22:21:35,265 5324 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0
2023-08-27 22:21:35,282 5324 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0'
2023-08-27 22:21:37,297 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-08-27 22:21:37,297 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-08-27 22:21:37,329 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-08-27 22:21:37,329 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-08-27 22:21:37,344 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-08-27 22:21:37,359 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-08-27 22:21:37,359 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-08-27 22:21:37,375 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-08-27 22:21:37,375 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-08-27 22:21:37,391 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-08-27 22:21:37,391 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-08-27 22:21:37,406 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-08-27 22:21:37,421 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-08-27 22:21:37,437 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-08-27 22:21:37,454 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-08-27 22:21:37,470 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-08-27 22:21:37,470 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-08-27 22:21:37,484 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-08-27 22:21:37,500 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-08-27 22:21:37,500 5324 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-08-27 22:21:37,515 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-08-27 22:21:37,515 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-08-27 22:21:37,766 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-08-27 22:21:37,781 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-08-27 22:21:37,781 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-08-27 22:21:37,797 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-08-27 22:21:37,812 5324 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.0\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-08-27 22:21:39,328 5324 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-08-27 22:21:39,391 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '944B7F78296AF1C7E0E3787FC218F01B'
2023-08-27 22:21:39,391 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum 'A1BCF405D46E21B76D411B6BA1FCFBD0'
2023-08-27 22:21:39,406 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:39,406 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:39,422 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-27 22:21:39,439 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-27 22:21:39,453 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-27 22:21:39,453 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '83D35E08EC4F9EB24194F18B361E79CF'
2023-08-27 22:21:39,470 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '3BFB7F65D7605BE22DB714AB75936A88'
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:39,564 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'CF1F70417092A81B06FFEF21409A6366'
2023-08-27 22:21:39,578 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'A30ECF8FCBB6BF5FEF0BE01A7D859907'
2023-08-27 22:21:39,595 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:39,595 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:39,609 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:39,703 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum 'CEFA11C4FE8AC9425FA10A1087913FA3'
2023-08-27 22:21:39,703 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-27 22:21:39,719 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'B88AA3623CEBF26BEB4427297CA1915A'
2023-08-27 22:21:39,719 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CD0EA31079B4FEEBB3AA058E76805558'
2023-08-27 22:21:39,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:39,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:39,750 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-08-27 22:21:39,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-08-27 22:21:39,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-08-27 22:21:39,781 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-08-27 22:21:39,797 5324 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-08-27 22:21:39,813 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-08-27 22:21:39,813 5324 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-08-27 22:21:39,828 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-08-27 22:21:39,828 5324 [DEBUG] - Setting installer args for gsudo
2023-08-27 22:21:39,843 5324 [DEBUG] - Setting package parameters for gsudo
2023-08-27 22:21:39,843 5324 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-08-27 22:21:39,843 5324 [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-08-27 22:21:39,875 5324 [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-08-27 22:21:39,921 5324 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-27 22:21:39,985 5324 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-27 22:21:40,173 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:40,188 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:40,188 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:40,203 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:40,220 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:40,220 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:40,235 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:40,235 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:40,251 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:40,251 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:40,266 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:40,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:40,281 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:40,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:40,297 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:40,328 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:40,343 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:40,343 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:40,359 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:40,359 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:40,375 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:40,375 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:40,391 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:40,406 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:40,406 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:40,422 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:40,422 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:40,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:40,437 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:40,453 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:40,453 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:40,468 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:40,468 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:40,484 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:40,499 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:40,515 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:40,531 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:40,546 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:40,546 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:40,562 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:40,562 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:40,578 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:40,578 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:40,593 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:40,593 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:40,609 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:40,609 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:40,625 5324 [DEBUG] - Loading community extensions
2023-08-27 22:21:40,642 5324 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-27 22:21:40,657 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-27 22:21:40,703 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:40,719 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:40,719 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:40,734 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:40,750 5324 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-27 22:21:40,750 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-27 22:21:40,765 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:40,781 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-27 22:21:40,781 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:40,797 5324 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:40,797 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-27 22:21:40,812 5324 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:40,812 5324 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-27 22:21:40,828 5324 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:40,828 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-27 22:21:40,844 5324 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:40,844 5324 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-27 22:21:40,860 5324 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-27 22:21:40,860 5324 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:40,875 5324 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-27 22:21:40,890 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-27 22:21:40,890 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-27 22:21:40,906 5324 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-27 22:21:40,906 5324 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-27 22:21:40,922 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:40,922 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:40,938 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-27 22:21:40,953 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-27 22:21:40,969 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:40,969 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:40,985 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:40,985 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:41,000 5324 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-27 22:21:41,015 5324 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-27 22:21:41,031 5324 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:41,031 5324 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-27 22:21:41,046 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-27 22:21:41,046 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:41,062 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-27 22:21:41,078 5324 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:41,094 5324 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-27 22:21:41,094 5324 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-27 22:21:41,109 5324 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-27 22:21:41,109 5324 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-27 22:21:41,125 5324 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:41,125 5324 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-27 22:21:41,140 5324 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-27 22:21:41,156 5324 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:41,156 5324 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:41,171 5324 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-27 22:21:41,171 5324 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-27 22:21:41,187 5324 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-27 22:21:41,187 5324 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-27 22:21:41,203 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-27 22:21:41,219 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-27 22:21:41,219 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-27 22:21:41,234 5324 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-27 22:21:41,250 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-27 22:21:41,250 5324 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-27 22:21:41,266 5324 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-27 22:21:41,266 5324 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-27 22:21:41,281 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-27 22:21:41,296 5324 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-27 22:21:41,312 5324 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-27 22:21:41,328 5324 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-27 22:21:41,328 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-27 22:21:41,344 5324 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-27 22:21:41,344 5324 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-27 22:21:41,359 5324 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-27 22:21:41,359 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:41,375 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-27 22:21:41,375 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-27 22:21:41,390 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-27 22:21:41,390 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-27 22:21:41,406 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-27 22:21:41,422 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-27 22:21:41,422 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-27 22:21:41,438 5324 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-27 22:21:41,438 5324 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-27 22:21:41,453 5324 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-27 22:21:41,453 5324 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-27 22:21:41,469 5324 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-27 22:21:41,485 5324 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-27 22:21:41,485 5324 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-27 22:21:41,499 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-27 22:21:41,515 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-27 22:21:41,515 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-27 22:21:41,531 5324 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-27 22:21:41,531 5324 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-27 22:21:41,546 5324 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-27 22:21:41,546 5324 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-27 22:21:41,562 5324 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-27 22:21:41,578 5324 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-27 22:21:41,578 5324 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-27 22:21:41,594 5324 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-27 22:21:41,594 5324 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-27 22:21:41,609 5324 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-27 22:21:41,625 5324 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-27 22:21:41,641 5324 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-08-27 22:21:41,656 5324 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-08-27 22:21:41,673 5324 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-08-27 22:21:41,673 5324 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-08-27 22:21:41,687 5324 [DEBUG] - Running Get-ToolsLocation
2023-08-27 22:21:41,750 5324 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-08-27 22:21:41,782 5324 [DEBUG] - Running Update-SessionEnvironment
2023-08-27 22:21:41,797 5324 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-27 22:21:42,486 5324 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-08-27 22:21:42,500 5324 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-08-27 22:21:42,595 5324 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-27 22:21:42,657 5324 [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-08-27 22:21:42,704 5324 [DEBUG] - Registry type for Path is/will be ExpandString
2023-08-27 22:21:42,750 5324 [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-08-27 22:21:43,125 5324 [DEBUG] - Running Update-SessionEnvironment
2023-08-27 22:21:43,140 5324 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-27 22:21:43,376 5324 [DEBUG] - ----------------------------------------------------------------------
2023-08-27 22:21:43,391 5324 [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-08-27 22:21:43,437 5324 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-08-27 22:21:43,437 5324 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-27 22:21:43,547 5324 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-27 22:21:43,579 5324 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-08-27 22:21:43,610 5324 [DEBUG] - Ensuring removal of installation files.
2023-08-27 22:21:43,656 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '944B7F78296AF1C7E0E3787FC218F01B'
2023-08-27 22:21:43,656 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-08-27 22:21:43,671 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum 'A1BCF405D46E21B76D411B6BA1FCFBD0'
2023-08-27 22:21:43,688 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-08-27 22:21:43,688 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-27 22:21:43,703 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-08-27 22:21:43,718 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-27 22:21:43,718 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-08-27 22:21:43,734 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-27 22:21:43,734 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-08-27 22:21:43,750 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-27 22:21:43,750 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-08-27 22:21:43,765 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-27 22:21:43,765 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-08-27 22:21:43,781 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '83D35E08EC4F9EB24194F18B361E79CF'
2023-08-27 22:21:43,781 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-08-27 22:21:43,797 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:43,797 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-08-27 22:21:43,860 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '3BFB7F65D7605BE22DB714AB75936A88'
2023-08-27 22:21:43,875 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-08-27 22:21:43,875 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'CF1F70417092A81B06FFEF21409A6366'
2023-08-27 22:21:43,890 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-08-27 22:21:43,890 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'A30ECF8FCBB6BF5FEF0BE01A7D859907'
2023-08-27 22:21:43,890 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-08-27 22:21:43,906 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:43,906 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-08-27 22:21:43,921 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:43,921 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-08-27 22:21:43,921 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-27 22:21:43,937 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-08-27 22:21:44,016 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum 'CEFA11C4FE8AC9425FA10A1087913FA3'
2023-08-27 22:21:44,016 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-08-27 22:21:44,031 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'B88AA3623CEBF26BEB4427297CA1915A'
2023-08-27 22:21:44,046 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-08-27 22:21:44,046 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CD0EA31079B4FEEBB3AA058E76805558'
2023-08-27 22:21:44,046 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-08-27 22:21:44,062 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum 'B4B33FA699B7F7C39D53E172312B3DD1'
2023-08-27 22:21:44,062 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-08-27 22:21:44,078 5324 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '7FA5DE986B6F9B500DB8C2DDBBDA61D9'
2023-08-27 22:21:44,093 5324 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-08-27 22:21:44,093 5324 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-08-27 22:21:44,109 5324 [INFO ] - gsudo has been successfully uninstalled.
2023-08-27 22:21:44,109 5324 [DEBUG] - Removing nupkg if it still exists.
2023-08-27 22:21:44,125 5324 [DEBUG] - Ensuring removal of installation files.
2023-08-27 22:21:44,157 5324 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-08-27 22:21:44,171 5324 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-08-27 22:21:44,171 5324 [DEBUG] - * ChocolateyLastPathUpdate='133376485030787041' (User)
2023-08-27 22:21:44,187 5324 [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-08-27 22:21:44,219 5324 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-27 22:21:44,219 5324 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-27 22:21:44,234 5324 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment