Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created February 20, 2024 01:08
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/7b1b5f340ea1773068a62a8743034dcd to your computer and use it in GitHub Desktop.
Save choco-bot/7b1b5f340ea1773068a62a8743034dcd to your computer and use it in GitHub Desktop.
gsudo v2.4.3 - Passed - Package Tests Results

gsudo v2.4.3 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.4.3
  • Tested 20 Feb 2024 01:08:05 +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="CE47D19C488F08D3C2B968C4C6194BE3" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="1E8674DD9271C43592CD5D766FA799A2" />
<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="04D11426E91F34B1B11263C49C54FA4E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="0754E14E80EB6F116392824FA6CBE54E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="DFA87E2548F8F44BE0A2E8659F1628C2" />
<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="5516F3A6BF1023ADF9649483F750AE82" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="CB1D81C4BF792D0F60130341C430D205" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1" checksum="753B4121CCD4DAD6485988B4BAC74F63" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="65CA93B676900DF8CE7C51A9F1580F8A" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="0754E14E80EB6F116392824FA6CBE54E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="8ED27D4A4B34F572D430084FB3107CD8" />
<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="5516F3A6BF1023ADF9649483F750AE82" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="CB1D81C4BF792D0F60130341C430D205" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1" checksum="753B4121CCD4DAD6485988B4BAC74F63" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="65CA93B676900DF8CE7C51A9F1580F8A" />
</files>
</fileSnapshot>
2024-02-20 01:07:01,247 4660 [DEBUG] - XmlConfiguration is now operational
2024-02-20 01:07:01,500 4660 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,513 4660 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,513 4660 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,513 4660 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,530 4660 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,530 4660 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,545 4660 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,545 4660 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,545 4660 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:01,561 4660 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-02-20 01:07:01,561 4660 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-02-20 01:07:02,559 4660 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,575 4660 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,575 4660 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,591 4660 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,591 4660 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,609 4660 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,609 4660 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,622 4660 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,622 4660 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,638 4660 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:02,669 4660 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-02-20 01:07:02,700 4660 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-02-20 01:07:02,700 4660 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-02-20 01:07:02,715 4660 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-02-20 01:07:02,715 4660 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-02-20 01:07:02,715 4660 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-02-20 01:07:02,732 4660 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-02-20 01:07:02,732 4660 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-02-20 01:07:02,747 4660 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-02-20 01:07:02,747 4660 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-02-20 01:07:02,763 4660 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-02-20 01:07:02,763 4660 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-02-20 01:07:02,779 4660 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-02-20 01:07:02,779 4660 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-02-20 01:07:02,779 4660 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-02-20 01:07:02,793 4660 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-02-20 01:07:02,793 4660 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-02-20 01:07:02,810 4660 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-02-20 01:07:02,810 4660 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-02-20 01:07:02,810 4660 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-02-20 01:07:03,155 4660 [INFO ] - ============================================================
2024-02-20 01:07:03,608 4660 [INFO ] - Chocolatey v2.2.2
2024-02-20 01:07:03,641 4660 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-02-20 01:07:03,655 4660 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-02-20 01:07:03,655 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-02-20 01:07:03,688 4660 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.4.3 -fdvy --execution-timeout=2700 --allow-downgrade
2024-02-20 01:07:03,701 4660 [DEBUG] - Received arguments: install gsudo --version 2.4.3 -fdvy --execution-timeout=2700 --allow-downgrade
2024-02-20 01:07:03,920 4660 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-02-20 01:07:03,966 4660 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-02-20 01:07:03,998 4660 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-02-20 01:07:04,280 4660 [DEBUG] - Performing validation checks.
2024-02-20 01:07:04,310 4660 [DEBUG] - Global Configuration Validation Checks:
2024-02-20 01:07:04,310 4660 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-02-20 01:07:04,326 4660 [DEBUG] - System State Validation Checks:
2024-02-20 01:07:04,341 4660 [DEBUG] - Reboot Requirement Checks:
2024-02-20 01:07:04,356 4660 [DEBUG] - - Pending Computer Rename = Checked
2024-02-20 01:07:04,356 4660 [DEBUG] - - Pending Component Based Servicing = Checked
2024-02-20 01:07:04,372 4660 [DEBUG] - - Pending Windows Auto Update = Checked
2024-02-20 01:07:04,388 4660 [DEBUG] - - Pending File Rename Operations = Ignored
2024-02-20 01:07:04,388 4660 [DEBUG] - - Pending Windows Package Installer = Checked
2024-02-20 01:07:04,404 4660 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-02-20 01:07:04,419 4660 [DEBUG] - Cache Folder Lockdown Checks:
2024-02-20 01:07:04,419 4660 [DEBUG] - - Elevated State = Checked
2024-02-20 01:07:04,435 4660 [DEBUG] - - Folder Exists = Checked
2024-02-20 01:07:04,452 4660 [DEBUG] - - Folder lockdown = Checked
2024-02-20 01:07:04,466 4660 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-02-20 01:07:04,686 4660 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-02-20 01:07:04,700 4660 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-02-20 01:07:04,763 4660 [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.3'|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-JT7O8N8D1FJ'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-02-20 01:07:04,763 4660 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-02-20 01:07:04,798 4660 [INFO ] - Installing the following packages:
2024-02-20 01:07:04,811 4660 [INFO ] - gsudo
2024-02-20 01:07:04,811 4660 [INFO ] - By installing, you accept licenses for the packages.
2024-02-20 01:07:04,842 4660 [DEBUG] - Current environment values (may contain sensitive data):
2024-02-20 01:07:04,858 4660 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-02-20 01:07:04,858 4660 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-02-20 01:07:04,874 4660 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-02-20 01:07:04,874 4660 [DEBUG] - * 'ChocolateyLastPathUpdate'='133528209932438604' ('User')
2024-02-20 01:07:04,888 4660 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-02-20 01:07:04,888 4660 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-02-20 01:07:04,905 4660 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-02-20 01:07:04,905 4660 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-02-20 01:07:04,920 4660 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-02-20 01:07:04,920 4660 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-02-20 01:07:04,937 4660 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-02-20 01:07:04,952 4660 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-02-20 01:07:04,952 4660 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-02-20 01:07:04,967 4660 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-02-20 01:07:04,983 4660 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-02-20 01:07:04,983 4660 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-02-20 01:07:04,998 4660 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-02-20 01:07:04,998 4660 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-02-20 01:07:05,017 4660 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-02-20 01:07:05,017 4660 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-02-20 01:07:05,731 4660 [DEBUG] - Running list with the following filter = ''
2024-02-20 01:07:05,748 4660 [DEBUG] - --- Start of List ---
2024-02-20 01:07:05,812 4660 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-02-20 01:07:06,828 4660 [DEBUG] - chocolatey 2.2.2
2024-02-20 01:07:06,844 4660 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-02-20 01:07:06,859 4660 [DEBUG] - KB2919355 1.0.20160915
2024-02-20 01:07:06,872 4660 [DEBUG] - KB2919442 1.0.20160915
2024-02-20 01:07:06,872 4660 [DEBUG] - KB2999226 1.0.20181019
2024-02-20 01:07:06,889 4660 [DEBUG] - KB3035131 1.0.3
2024-02-20 01:07:06,923 4660 [DEBUG] - KB3118401 1.0.5
2024-02-20 01:07:06,935 4660 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-02-20 01:07:06,935 4660 [DEBUG] - --- End of List ---
2024-02-20 01:07:06,953 4660 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-02-20 01:07:07,686 4660 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-02-20 01:07:08,420 4660 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.3')
2024-02-20 01:07:08,700 4660 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.3') 269ms
2024-02-20 01:07:08,904 4660 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-02-20 01:07:09,655 4660 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-02-20 01:07:09,671 4660 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.3')
2024-02-20 01:07:09,923 4660 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-02-20 01:07:09,937 4660 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-02-20 01:07:10,001 4660 [DEBUG] - Attempting to delete file "".
2024-02-20 01:07:10,061 4660 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/gsudo/2.4.3
2024-02-20 01:07:10,982 4660 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/gsudo/2.4.3 920ms
2024-02-20 01:07:11,044 4660 [INFO ] - [NuGet] Acquiring lock for the installation of gsudo 2.4.3
2024-02-20 01:07:11,125 4660 [INFO ] - [NuGet] Acquired lock for the installation of gsudo 2.4.3
2024-02-20 01:07:14,564 4660 [INFO ] - [NuGet] Installed gsudo 2.4.3 from https://community.chocolatey.org/api/v2/ with content hash e2/f5nivGDwH4JLf2so0/iv4OjcQgrQ+2qEi8B4muqpY/b7dLaTnSFqmFhyAKjQ5O6brL5QexCPJfSufKTSyoQ==.
2024-02-20 01:07:14,658 4660 [INFO ] - [NuGet] Adding package 'gsudo.2.4.3' to folder 'C:\ProgramData\chocolatey\lib'
2024-02-20 01:07:15,000 4660 [INFO ] - [NuGet] Added package 'gsudo.2.4.3' to folder 'C:\ProgramData\chocolatey\lib'
2024-02-20 01:07:15,031 4660 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.3\gsudo.2.4.3.nupkg".
2024-02-20 01:07:15,031 4660 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.3\.nupkg.metadata".
2024-02-20 01:07:15,046 4660 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.3\gsudo.2.4.3.nupkg.sha512".
2024-02-20 01:07:15,046 4660 [INFO ] -
gsudo v2.4.3 (forced)
2024-02-20 01:07:15,157 4660 [INFO ] - gsudo package files install completed. Performing other installation steps.
2024-02-20 01:07:15,235 4660 [DEBUG] - Setting installer args for gsudo
2024-02-20 01:07:15,251 4660 [DEBUG] - Setting package parameters for gsudo
2024-02-20 01:07:15,264 4660 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2024-02-20 01:07:15,282 4660 [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"
2024-02-20 01:07:15,359 4660 [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']
2024-02-20 01:07:15,359 4660 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-02-20 01:07:16,200 4660 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-02-20 01:07:16,903 4660 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:16,919 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:16,919 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:16,935 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:16,935 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:16,950 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:16,950 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:16,967 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:16,967 4660 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:16,982 4660 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:16,982 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:16,982 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:16,998 4660 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:17,014 4660 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:17,014 4660 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:17,029 4660 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:17,029 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:17,044 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:17,044 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:17,061 4660 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:17,061 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:17,074 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:17,074 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:17,074 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:17,154 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:17,176 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:17,176 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:17,186 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:17,186 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:17,202 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:17,202 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:17,233 4660 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:17,233 4660 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:17,247 4660 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:17,247 4660 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:17,264 4660 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:17,264 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:17,279 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:17,279 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:17,294 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:17,294 4660 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:17,312 4660 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:17,312 4660 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:17,326 4660 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:17,326 4660 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:17,326 4660 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:17,342 4660 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:17,357 4660 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:17,357 4660 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:17,374 4660 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:17,374 4660 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:17,424 4660 [DEBUG] - Loading community extensions
2024-02-20 01:07:17,468 4660 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-02-20 01:07:17,468 4660 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-02-20 01:07:17,607 4660 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:17,607 4660 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:17,626 4660 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:07:17,639 4660 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:07:17,639 4660 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:17,653 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:17,653 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:17,669 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:17,669 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:17,685 4660 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:17,685 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:17,701 4660 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:17,701 4660 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:17,717 4660 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:17,717 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:17,717 4660 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:17,732 4660 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:17,748 4660 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:17,748 4660 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:17,748 4660 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:17,764 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:17,778 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:17,778 4660 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:17,778 4660 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:17,796 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:17,796 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:17,811 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:17,811 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:17,826 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:17,826 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:17,840 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:17,840 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:17,859 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:17,859 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:17,872 4660 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:17,872 4660 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:17,890 4660 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:17,890 4660 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:17,903 4660 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:17,903 4660 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:17,921 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:17,921 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:17,935 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:17,935 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:17,950 4660 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:17,966 4660 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:17,966 4660 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:17,966 4660 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:17,983 4660 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:17,983 4660 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:17,998 4660 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:17,998 4660 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:18,015 4660 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:18,015 4660 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:18,029 4660 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:18,029 4660 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:18,044 4660 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:18,044 4660 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-02-20 01:07:18,060 4660 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-02-20 01:07:18,060 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:18,077 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-02-20 01:07:18,090 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:18,090 4660 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:18,090 4660 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-02-20 01:07:18,107 4660 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:18,107 4660 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-02-20 01:07:18,123 4660 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:18,123 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-02-20 01:07:18,138 4660 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:18,138 4660 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-02-20 01:07:18,153 4660 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-02-20 01:07:18,153 4660 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:18,171 4660 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-02-20 01:07:18,171 4660 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-02-20 01:07:18,185 4660 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-02-20 01:07:18,185 4660 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-02-20 01:07:18,200 4660 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-02-20 01:07:18,200 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:18,217 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:18,217 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:18,233 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:18,233 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-02-20 01:07:18,248 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-02-20 01:07:18,248 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:18,264 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:18,264 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:18,278 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:18,278 4660 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:18,294 4660 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-02-20 01:07:18,294 4660 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:07:18,312 4660 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-02-20 01:07:18,312 4660 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-02-20 01:07:18,326 4660 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:18,326 4660 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-02-20 01:07:18,342 4660 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:07:18,342 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-02-20 01:07:18,358 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:18,358 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:18,372 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:18,372 4660 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-02-20 01:07:18,372 4660 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:18,389 4660 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-02-20 01:07:18,389 4660 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-02-20 01:07:18,405 4660 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:18,405 4660 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-02-20 01:07:18,418 4660 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-02-20 01:07:18,418 4660 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:18,436 4660 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-02-20 01:07:18,436 4660 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-02-20 01:07:18,450 4660 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:18,592 4660 [DEBUG] - ---------------------------Script Execution---------------------------
2024-02-20 01:07:18,623 4660 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.3 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-02-20 01:07:18,688 4660 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2024-02-20 01:07:18,767 4660 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2024-02-20 01:07:18,783 4660 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2024-02-20 01:07:18,796 4660 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2024-02-20 01:07:18,889 4660 [DEBUG] - Running Get-ToolsLocation
2024-02-20 01:07:19,044 4660 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2024-02-20 01:07:19,140 4660 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2024-02-20 01:07:19,187 4660 [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);
}
}
2024-02-20 01:07:19,717 4660 [DEBUG] - Running Update-SessionEnvironment
2024-02-20 01:07:19,734 4660 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-02-20 01:07:20,762 4660 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2024-02-20 01:07:20,762 4660 [DEBUG] - Running Update-SessionEnvironment
2024-02-20 01:07:20,778 4660 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-02-20 01:07:21,121 4660 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2024-02-20 01:07:21,121 4660 [INFO ] - VERBOSE: Choosing not to expand environment names
2024-02-20 01:07:21,278 4660 [DEBUG] - Test-ProcessAdminRights: returning True
2024-02-20 01:07:21,294 4660 [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'
2024-02-20 01:07:21,326 4660 [DEBUG] - Registry type for Path is/will be ExpandString
2024-02-20 01:07:21,434 4660 [DEBUG] - Running Update-SessionEnvironment
2024-02-20 01:07:21,434 4660 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-02-20 01:07:21,872 4660 [INFO ] - symbolic link created for C:\tools\gsudo\v2.4.3\sudo.exe <<===>> C:\tools\gsudo\v2.4.3\gsudo.exe
2024-02-20 01:07:21,887 4660 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2024-02-20 01:07:22,028 4660 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.4.3\
2024-02-20 01:07:22,043 4660 [INFO ] -
2024-02-20 01:07:22,058 4660 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2024-02-20 01:07:22,058 4660 [INFO ] - Import-Module 'gsudoModule'
2024-02-20 01:07:22,074 4660 [INFO ] - Or run:
2024-02-20 01:07:22,074 4660 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2024-02-20 01:07:22,090 4660 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2024-02-20 01:07:22,137 4660 [DEBUG] - ----------------------------------------------------------------------
2024-02-20 01:07:22,152 4660 [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'.
2024-02-20 01:07:22,168 4660 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-02-20 01:07:22,325 4660 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-02-20 01:07:22,358 4660 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-02-20 01:07:22,358 4660 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-02-20 01:07:22,372 4660 [DEBUG] - * ChocolateyLastPathUpdate='133528648413408842' (User)
2024-02-20 01:07:22,372 4660 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2024-02-20 01:07:22,388 4660 [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)
2024-02-20 01:07:22,577 4660 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2024-02-20 01:07:22,670 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'CE47D19C488F08D3C2B968C4C6194BE3'
2024-02-20 01:07:22,670 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '1E8674DD9271C43592CD5D766FA799A2'
2024-02-20 01:07:22,685 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:22,685 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:22,700 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2024-02-20 01:07:22,700 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2024-02-20 01:07:22,718 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2024-02-20 01:07:22,731 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2024-02-20 01:07:22,731 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2024-02-20 01:07:22,747 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '04D11426E91F34B1B11263C49C54FA4E'
2024-02-20 01:07:22,747 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:07:22,794 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'DFA87E2548F8F44BE0A2E8659F1628C2'
2024-02-20 01:07:22,794 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:22,813 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:07:22,825 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:07:22,825 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:07:22,840 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:07:22,840 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:07:22,935 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '8ED27D4A4B34F572D430084FB3107CD8'
2024-02-20 01:07:22,935 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:22,951 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:07:22,951 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:07:22,965 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:07:22,965 4660 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:07:23,049 4660 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3".
2024-02-20 01:07:23,093 4660 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3\.files'
2024-02-20 01:07:23,137 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3\.extra".
2024-02-20 01:07:23,155 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3\.version".
2024-02-20 01:07:23,155 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3\.sxs".
2024-02-20 01:07:23,169 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.3\.pin".
2024-02-20 01:07:23,186 4660 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-02-20 01:07:23,202 4660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2024-02-20 01:07:23,218 4660 [INFO ] - The install of gsudo was successful.
2024-02-20 01:07:23,233 4660 [INFO ] - Software installed to 'C:\tools\gsudo'
2024-02-20 01:07:23,267 4660 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-02-20 01:07:23,279 4660 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-02-20 01:07:23,296 4660 [DEBUG] - Exiting with 0
2024-02-20 01:07:43,152 5176 [DEBUG] - XmlConfiguration is now operational
2024-02-20 01:07:43,497 5176 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,512 5176 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,528 5176 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,639 5176 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,654 5176 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,763 5176 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,779 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,779 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,795 5176 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-02-20 01:07:43,795 5176 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-02-20 01:07:43,811 5176 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-02-20 01:07:45,715 5176 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,715 5176 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,731 5176 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,731 5176 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,746 5176 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,746 5176 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,763 5176 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,763 5176 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,778 5176 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,778 5176 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-02-20 01:07:45,825 5176 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-02-20 01:07:45,825 5176 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-02-20 01:07:45,844 5176 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-02-20 01:07:45,855 5176 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-02-20 01:07:45,855 5176 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-02-20 01:07:45,872 5176 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-02-20 01:07:45,872 5176 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-02-20 01:07:45,888 5176 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-02-20 01:07:45,903 5176 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-02-20 01:07:45,903 5176 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-02-20 01:07:45,918 5176 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-02-20 01:07:45,918 5176 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-02-20 01:07:45,934 5176 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-02-20 01:07:45,934 5176 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-02-20 01:07:45,950 5176 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-02-20 01:07:45,950 5176 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-02-20 01:07:45,966 5176 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-02-20 01:07:45,981 5176 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-02-20 01:07:45,981 5176 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-02-20 01:07:45,997 5176 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-02-20 01:07:46,548 5176 [INFO ] - ============================================================
2024-02-20 01:07:47,278 5176 [INFO ] - Chocolatey v2.2.2
2024-02-20 01:07:47,310 5176 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-02-20 01:07:47,324 5176 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-02-20 01:07:47,324 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-02-20 01:07:47,358 5176 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.3 -dvy --execution-timeout=2700
2024-02-20 01:07:47,358 5176 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.3 -dvy --execution-timeout=2700
2024-02-20 01:07:47,528 5176 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-02-20 01:07:47,562 5176 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-02-20 01:07:47,593 5176 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-02-20 01:07:47,763 5176 [DEBUG] - Performing validation checks.
2024-02-20 01:07:47,780 5176 [DEBUG] - Global Configuration Validation Checks:
2024-02-20 01:07:47,780 5176 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-02-20 01:07:47,795 5176 [DEBUG] - System State Validation Checks:
2024-02-20 01:07:47,795 5176 [DEBUG] - Reboot Requirement Checks:
2024-02-20 01:07:47,812 5176 [DEBUG] - - Pending Computer Rename = Checked
2024-02-20 01:07:47,826 5176 [DEBUG] - - Pending Component Based Servicing = Checked
2024-02-20 01:07:47,826 5176 [DEBUG] - - Pending Windows Auto Update = Checked
2024-02-20 01:07:47,841 5176 [DEBUG] - - Pending File Rename Operations = Ignored
2024-02-20 01:07:47,857 5176 [DEBUG] - - Pending Windows Package Installer = Checked
2024-02-20 01:07:47,857 5176 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-02-20 01:07:47,874 5176 [DEBUG] - Cache Folder Lockdown Checks:
2024-02-20 01:07:47,888 5176 [DEBUG] - - Elevated State = Checked
2024-02-20 01:07:47,888 5176 [DEBUG] - - Folder Exists = Checked
2024-02-20 01:07:47,903 5176 [DEBUG] - - Folder lockdown = Checked
2024-02-20 01:07:47,920 5176 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-02-20 01:07:47,967 5176 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-02-20 01:07:47,982 5176 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-02-20 01:07:48,042 5176 [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.3'|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-JT7O8N8D1FJ'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-02-20 01:07:48,042 5176 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-02-20 01:07:48,059 5176 [INFO ] - Uninstalling the following packages:
2024-02-20 01:07:48,074 5176 [INFO ] - gsudo
2024-02-20 01:07:48,090 5176 [DEBUG] - Current environment values (may contain sensitive data):
2024-02-20 01:07:48,108 5176 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-02-20 01:07:48,108 5176 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-02-20 01:07:48,123 5176 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-02-20 01:07:48,123 5176 [DEBUG] - * 'ChocolateyLastPathUpdate'='133528648413408842' ('User')
2024-02-20 01:07:48,137 5176 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-02-20 01:07:48,153 5176 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-02-20 01:07:48,168 5176 [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')
2024-02-20 01:07:48,168 5176 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-02-20 01:07:48,184 5176 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-02-20 01:07:48,184 5176 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-02-20 01:07:48,199 5176 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-02-20 01:07:48,199 5176 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-02-20 01:07:48,216 5176 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-02-20 01:07:48,216 5176 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-02-20 01:07:48,230 5176 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-02-20 01:07:48,230 5176 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-02-20 01:07:48,248 5176 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-02-20 01:07:48,248 5176 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-02-20 01:07:48,263 5176 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-02-20 01:07:48,497 5176 [DEBUG] - Running list with the following filter = ''
2024-02-20 01:07:48,513 5176 [DEBUG] - --- Start of List ---
2024-02-20 01:07:48,782 5176 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-02-20 01:07:49,356 5176 [DEBUG] - chocolatey 2.2.2
2024-02-20 01:07:49,370 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-02-20 01:07:49,434 5176 [DEBUG] - gsudo 2.4.3
2024-02-20 01:07:49,450 5176 [DEBUG] - KB2919355 1.0.20160915
2024-02-20 01:07:49,468 5176 [DEBUG] - KB2919442 1.0.20160915
2024-02-20 01:07:49,479 5176 [DEBUG] - KB2999226 1.0.20181019
2024-02-20 01:07:49,479 5176 [DEBUG] - KB3035131 1.0.3
2024-02-20 01:07:49,496 5176 [DEBUG] - KB3118401 1.0.5
2024-02-20 01:07:49,512 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-02-20 01:07:49,527 5176 [DEBUG] - --- End of List ---
2024-02-20 01:07:49,542 5176 [DEBUG] - Running list with the following filter = ''
2024-02-20 01:07:49,542 5176 [DEBUG] - --- Start of List ---
2024-02-20 01:07:49,574 5176 [DEBUG] - chocolatey 2.2.2
2024-02-20 01:07:49,574 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-02-20 01:07:49,621 5176 [DEBUG] - gsudo 2.4.3
2024-02-20 01:07:49,639 5176 [DEBUG] - KB2919355 1.0.20160915
2024-02-20 01:07:49,652 5176 [DEBUG] - KB2919442 1.0.20160915
2024-02-20 01:07:49,683 5176 [DEBUG] - KB2999226 1.0.20181019
2024-02-20 01:07:49,700 5176 [DEBUG] - KB3035131 1.0.3
2024-02-20 01:07:49,700 5176 [DEBUG] - KB3118401 1.0.5
2024-02-20 01:07:49,716 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-02-20 01:07:49,716 5176 [DEBUG] - --- End of List ---
2024-02-20 01:07:49,792 5176 [DEBUG] - Running list with the following filter = ''
2024-02-20 01:07:49,792 5176 [DEBUG] - --- Start of List ---
2024-02-20 01:07:49,824 5176 [DEBUG] - chocolatey 2.2.2
2024-02-20 01:07:49,841 5176 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-02-20 01:07:49,870 5176 [DEBUG] - gsudo 2.4.3
2024-02-20 01:07:49,887 5176 [DEBUG] - KB2919355 1.0.20160915
2024-02-20 01:07:49,887 5176 [DEBUG] - KB2919442 1.0.20160915
2024-02-20 01:07:49,902 5176 [DEBUG] - KB2999226 1.0.20181019
2024-02-20 01:07:49,918 5176 [DEBUG] - KB3035131 1.0.3
2024-02-20 01:07:49,934 5176 [DEBUG] - KB3118401 1.0.5
2024-02-20 01:07:49,934 5176 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.14
2024-02-20 01:07:49,949 5176 [DEBUG] - --- End of List ---
2024-02-20 01:07:50,011 5176 [INFO ] -
gsudo v2.4.3
2024-02-20 01:07:50,058 5176 [DEBUG] - Running beforeModify step for 'gsudo'
2024-02-20 01:07:50,106 5176 [DEBUG] - Setting installer args for gsudo
2024-02-20 01:07:50,120 5176 [DEBUG] - Setting package parameters for gsudo
2024-02-20 01:07:50,120 5176 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2024-02-20 01:07:50,138 5176 [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'
2024-02-20 01:07:50,200 5176 [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']
2024-02-20 01:07:50,215 5176 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-02-20 01:07:51,246 5176 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-02-20 01:07:51,870 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:51,888 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:51,903 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:51,903 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:51,920 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:51,920 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:51,937 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:51,951 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:51,951 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:51,964 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:51,982 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:51,982 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:52,000 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:52,000 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:52,011 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:52,011 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:52,030 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:52,046 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:52,046 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:52,060 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:52,060 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:52,075 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:52,075 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:52,090 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:52,090 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:52,106 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:52,122 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:52,122 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:52,137 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:52,137 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:52,153 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:52,153 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:52,167 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:52,167 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:52,184 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:52,184 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:52,201 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:52,201 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:52,216 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:52,216 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:52,231 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:52,231 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:52,247 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:52,247 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:52,262 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:52,311 5176 [DEBUG] - Loading community extensions
2024-02-20 01:07:52,357 5176 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-02-20 01:07:52,357 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-02-20 01:07:52,482 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:52,497 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:52,497 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:07:52,511 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:07:52,511 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:52,529 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:52,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:52,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:52,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:52,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:52,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:52,593 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:52,604 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:52,621 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:52,621 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:52,637 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:52,637 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:52,653 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:52,653 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:52,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:52,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:52,684 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:52,684 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:52,699 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:52,715 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:52,715 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:52,729 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:52,747 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:52,747 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:52,761 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:52,761 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:52,778 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:52,778 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:52,792 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:52,792 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:52,809 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:52,809 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:52,824 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:52,824 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:52,843 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:52,843 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:52,856 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:52,856 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:52,871 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:52,871 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:52,888 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:52,888 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:52,902 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:52,902 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:52,918 5176 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-02-20 01:07:52,918 5176 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-02-20 01:07:52,934 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:52,934 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:52,949 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-02-20 01:07:52,965 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:52,965 5176 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-02-20 01:07:52,980 5176 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:52,980 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-02-20 01:07:52,995 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:52,995 5176 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-02-20 01:07:53,011 5176 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-02-20 01:07:53,011 5176 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:53,027 5176 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-02-20 01:07:53,027 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-02-20 01:07:53,042 5176 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-02-20 01:07:53,059 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:53,059 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:53,074 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:53,074 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:53,089 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-02-20 01:07:53,089 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-02-20 01:07:53,106 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:53,121 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:53,121 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:53,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:53,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:53,153 5176 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-02-20 01:07:53,153 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:07:53,167 5176 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-02-20 01:07:53,167 5176 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-02-20 01:07:53,184 5176 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:53,184 5176 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-02-20 01:07:53,199 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:07:53,199 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-02-20 01:07:53,250 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:53,265 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:53,278 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:53,278 5176 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-02-20 01:07:53,292 5176 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:53,292 5176 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-02-20 01:07:53,309 5176 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-02-20 01:07:53,309 5176 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:53,326 5176 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-02-20 01:07:53,326 5176 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-02-20 01:07:53,340 5176 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-02-20 01:07:53,359 5176 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:53,481 5176 [DEBUG] - ---------------------------Script Execution---------------------------
2024-02-20 01:07:53,544 5176 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.3 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-02-20 01:07:53,636 5176 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2024-02-20 01:07:53,871 5176 [DEBUG] - Running Get-ToolsLocation
2024-02-20 01:07:53,949 5176 [DEBUG] - ----------------------------------------------------------------------
2024-02-20 01:07:53,965 5176 [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'.
2024-02-20 01:07:53,981 5176 [DEBUG] - Backing up package files for 'gsudo'
2024-02-20 01:07:54,154 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2024-02-20 01:07:54,170 5176 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3
2024-02-20 01:07:54,182 5176 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3'
2024-02-20 01:07:56,204 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2024-02-20 01:07:56,216 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2024-02-20 01:07:56,233 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2024-02-20 01:07:56,249 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2024-02-20 01:07:56,249 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2024-02-20 01:07:56,263 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2024-02-20 01:07:56,278 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2024-02-20 01:07:56,278 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2024-02-20 01:07:56,296 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2024-02-20 01:07:56,296 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2024-02-20 01:07:56,308 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2024-02-20 01:07:56,308 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2024-02-20 01:07:56,325 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2024-02-20 01:07:56,341 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2024-02-20 01:07:56,356 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2024-02-20 01:07:56,356 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2024-02-20 01:07:56,374 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2024-02-20 01:07:56,390 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2024-02-20 01:07:56,390 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2024-02-20 01:07:56,404 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2024-02-20 01:07:56,419 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2024-02-20 01:07:56,419 5176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2024-02-20 01:07:56,435 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2024-02-20 01:07:56,448 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2024-02-20 01:07:56,484 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2024-02-20 01:07:56,497 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2024-02-20 01:07:56,497 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2024-02-20 01:07:56,514 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2024-02-20 01:07:56,528 5176 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.3\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2024-02-20 01:07:58,075 5176 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2024-02-20 01:07:58,123 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'CE47D19C488F08D3C2B968C4C6194BE3'
2024-02-20 01:07:58,137 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '1E8674DD9271C43592CD5D766FA799A2'
2024-02-20 01:07:58,137 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:58,155 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2024-02-20 01:07:58,168 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2024-02-20 01:07:58,185 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2024-02-20 01:07:58,185 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2024-02-20 01:07:58,201 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '04D11426E91F34B1B11263C49C54FA4E'
2024-02-20 01:07:58,201 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:07:58,252 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'DFA87E2548F8F44BE0A2E8659F1628C2'
2024-02-20 01:07:58,262 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:58,262 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:07:58,280 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:07:58,280 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:07:58,292 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:07:58,292 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:07:58,372 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '8ED27D4A4B34F572D430084FB3107CD8'
2024-02-20 01:07:58,391 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2024-02-20 01:07:58,403 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:07:58,403 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:07:58,420 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:07:58,420 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:07:58,449 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2024-02-20 01:07:58,449 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2024-02-20 01:07:58,468 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2024-02-20 01:07:58,480 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2024-02-20 01:07:58,496 5176 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2024-02-20 01:07:58,496 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2024-02-20 01:07:58,512 5176 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2024-02-20 01:07:58,512 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2024-02-20 01:07:58,528 5176 [DEBUG] - Setting installer args for gsudo
2024-02-20 01:07:58,545 5176 [DEBUG] - Setting package parameters for gsudo
2024-02-20 01:07:58,545 5176 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2024-02-20 01:07:58,560 5176 [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'
2024-02-20 01:07:58,560 5176 [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']
2024-02-20 01:07:58,625 5176 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-02-20 01:07:58,682 5176 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-02-20 01:07:58,887 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:58,948 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:58,965 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:58,965 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:58,979 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:58,979 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:58,994 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:59,010 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:59,010 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:59,026 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:59,026 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:59,042 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:59,042 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:59,058 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:59,058 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:59,073 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:59,073 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:59,089 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:59,089 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:59,105 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:59,120 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:59,120 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:59,135 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:59,153 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:59,153 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:59,167 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:59,167 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:59,182 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:59,198 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:59,198 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:59,215 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:59,215 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:59,230 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:59,230 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:59,246 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:59,246 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:59,262 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:59,262 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:59,277 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:59,294 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:59,309 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:59,325 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:59,342 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:59,342 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:59,355 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:59,355 5176 [DEBUG] - Loading community extensions
2024-02-20 01:07:59,373 5176 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-02-20 01:07:59,387 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-02-20 01:07:59,437 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:59,437 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:59,449 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:07:59,449 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:07:59,465 5176 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-02-20 01:07:59,465 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-02-20 01:07:59,480 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:59,480 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:59,495 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-02-20 01:07:59,512 5176 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:59,512 5176 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-02-20 01:07:59,528 5176 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:59,528 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-02-20 01:07:59,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:07:59,545 5176 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-02-20 01:07:59,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-02-20 01:07:59,559 5176 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-02-20 01:07:59,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-02-20 01:07:59,574 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-02-20 01:07:59,590 5176 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-02-20 01:07:59,606 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:59,606 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:07:59,621 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:07:59,621 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-02-20 01:07:59,636 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:07:59,653 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:07:59,653 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-02-20 01:07:59,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:07:59,668 5176 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-02-20 01:07:59,685 5176 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-02-20 01:07:59,685 5176 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-02-20 01:07:59,699 5176 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-02-20 01:07:59,699 5176 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:07:59,716 5176 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-02-20 01:07:59,716 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-02-20 01:07:59,731 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:07:59,731 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:07:59,747 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:07:59,747 5176 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-02-20 01:07:59,761 5176 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-02-20 01:07:59,761 5176 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-02-20 01:07:59,778 5176 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-02-20 01:07:59,778 5176 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-02-20 01:07:59,793 5176 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-02-20 01:07:59,793 5176 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-02-20 01:07:59,874 5176 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-02-20 01:07:59,887 5176 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:07:59,902 5176 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-02-20 01:07:59,918 5176 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-02-20 01:07:59,918 5176 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-02-20 01:07:59,933 5176 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-02-20 01:07:59,933 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-02-20 01:07:59,948 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-02-20 01:07:59,948 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-02-20 01:07:59,965 5176 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-02-20 01:07:59,965 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-02-20 01:07:59,980 5176 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-02-20 01:07:59,980 5176 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-02-20 01:07:59,996 5176 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-02-20 01:07:59,996 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-02-20 01:08:00,014 5176 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-02-20 01:08:00,028 5176 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-02-20 01:08:00,046 5176 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-02-20 01:08:00,057 5176 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-02-20 01:08:00,057 5176 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-02-20 01:08:00,073 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-02-20 01:08:00,073 5176 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-02-20 01:08:00,090 5176 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-02-20 01:08:00,090 5176 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-02-20 01:08:00,104 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-02-20 01:08:00,120 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-02-20 01:08:00,120 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-02-20 01:08:00,136 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-02-20 01:08:00,152 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-02-20 01:08:00,152 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-02-20 01:08:00,166 5176 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-02-20 01:08:00,323 5176 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-02-20 01:08:00,323 5176 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-02-20 01:08:00,340 5176 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-02-20 01:08:00,359 5176 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-02-20 01:08:00,370 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-02-20 01:08:00,386 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-02-20 01:08:00,409 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-02-20 01:08:00,417 5176 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-02-20 01:08:00,417 5176 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-02-20 01:08:00,432 5176 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-02-20 01:08:00,432 5176 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-02-20 01:08:00,449 5176 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-02-20 01:08:00,464 5176 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-02-20 01:08:00,464 5176 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-02-20 01:08:00,480 5176 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-02-20 01:08:00,480 5176 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-02-20 01:08:00,496 5176 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-02-20 01:08:00,496 5176 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-02-20 01:08:00,510 5176 [DEBUG] - ---------------------------Script Execution---------------------------
2024-02-20 01:08:00,525 5176 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.3 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-02-20 01:08:00,542 5176 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2024-02-20 01:08:00,574 5176 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2024-02-20 01:08:00,590 5176 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2024-02-20 01:08:00,604 5176 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2024-02-20 01:08:00,604 5176 [DEBUG] - Running Get-ToolsLocation
2024-02-20 01:08:00,762 5176 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2024-02-20 01:08:00,885 5176 [DEBUG] - Running Update-SessionEnvironment
2024-02-20 01:08:00,902 5176 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-02-20 01:08:02,229 5176 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2024-02-20 01:08:02,251 5176 [INFO ] - VERBOSE: Choosing not to expand environment names
2024-02-20 01:08:02,463 5176 [DEBUG] - Test-ProcessAdminRights: returning True
2024-02-20 01:08:02,573 5176 [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'
2024-02-20 01:08:02,666 5176 [DEBUG] - Registry type for Path is/will be ExpandString
2024-02-20 01:08:02,746 5176 [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);
}
}
2024-02-20 01:08:03,653 5176 [DEBUG] - Running Update-SessionEnvironment
2024-02-20 01:08:03,653 5176 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-02-20 01:08:04,262 5176 [DEBUG] - ----------------------------------------------------------------------
2024-02-20 01:08:04,279 5176 [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'.
2024-02-20 01:08:04,324 5176 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2024-02-20 01:08:04,340 5176 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-02-20 01:08:04,510 5176 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-02-20 01:08:04,526 5176 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2024-02-20 01:08:04,560 5176 [DEBUG] - Ensuring removal of installation files.
2024-02-20 01:08:04,623 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'CE47D19C488F08D3C2B968C4C6194BE3'
2024-02-20 01:08:04,623 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2024-02-20 01:08:04,638 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '1E8674DD9271C43592CD5D766FA799A2'
2024-02-20 01:08:04,652 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2024-02-20 01:08:04,652 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2024-02-20 01:08:04,667 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2024-02-20 01:08:04,667 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2024-02-20 01:08:04,683 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2024-02-20 01:08:04,683 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2024-02-20 01:08:04,698 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2024-02-20 01:08:04,698 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2024-02-20 01:08:04,698 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2024-02-20 01:08:04,716 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2024-02-20 01:08:04,716 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2024-02-20 01:08:04,730 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '04D11426E91F34B1B11263C49C54FA4E'
2024-02-20 01:08:04,730 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2024-02-20 01:08:04,746 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:08:04,746 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2024-02-20 01:08:04,793 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'DFA87E2548F8F44BE0A2E8659F1628C2'
2024-02-20 01:08:04,793 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2024-02-20 01:08:04,808 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:08:04,808 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2024-02-20 01:08:04,824 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:08:04,824 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2024-02-20 01:08:04,840 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:08:04,856 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2024-02-20 01:08:04,856 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:08:04,871 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2024-02-20 01:08:04,871 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum '0754E14E80EB6F116392824FA6CBE54E'
2024-02-20 01:08:04,886 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2024-02-20 01:08:04,968 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '8ED27D4A4B34F572D430084FB3107CD8'
2024-02-20 01:08:04,980 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2024-02-20 01:08:04,980 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '5516F3A6BF1023ADF9649483F750AE82'
2024-02-20 01:08:04,996 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2024-02-20 01:08:04,996 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'CB1D81C4BF792D0F60130341C430D205'
2024-02-20 01:08:05,009 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2024-02-20 01:08:05,009 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '753B4121CCD4DAD6485988B4BAC74F63'
2024-02-20 01:08:05,026 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2024-02-20 01:08:05,026 5176 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '65CA93B676900DF8CE7C51A9F1580F8A'
2024-02-20 01:08:05,043 5176 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2024-02-20 01:08:05,043 5176 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
2024-02-20 01:08:05,056 5176 [INFO ] - gsudo has been successfully uninstalled.
2024-02-20 01:08:05,056 5176 [DEBUG] - Removing nupkg if it still exists.
2024-02-20 01:08:05,075 5176 [DEBUG] - Ensuring removal of installation files.
2024-02-20 01:08:05,104 5176 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-02-20 01:08:05,120 5176 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-02-20 01:08:05,153 5176 [DEBUG] - * ChocolateyLastPathUpdate='133528648834325849' (User)
2024-02-20 01:08:05,182 5176 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' (Machine)
2024-02-20 01:08:05,261 5176 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-02-20 01:08:05,277 5176 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-02-20 01:08:05,292 5176 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment