Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created August 22, 2023 22:14
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/a73007d10d5e518f7c262949795b6373 to your computer and use it in GitHub Desktop.
Save choco-bot/a73007d10d5e518f7c262949795b6373 to your computer and use it in GitHub Desktop.
gsudo v2.3.1-beta - Passed - Package Tests Results

gsudo v2.3.1-beta - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.3.1-beta
  • Tested 22 Aug 2023 22:14:44 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg" checksum="F99E32A41FF0B7DDC08CB05E6EFD20AC" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="525E48AA23126055CAFA09620BF201F8" />
<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="EC30FE3307227EB53681A6CAE53BAE07" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="B7A53617082F1691EA0166C3AA407BB7" />
<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="08C588C7D45E5DC530210272E8959894" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="C83D1C6C8A40B7F288A59D333ED58FD6" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="DAF6B913F8E29587FB6D7CA8843ADB46" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="14E476C0CE23FED73CA4EB03AD89ED4B" />
<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="4DB3CAD31A12FBE754612E7178740722" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="4F2A81BA86A1E526637D3AD5E16B62D7" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="DAF6B913F8E29587FB6D7CA8843ADB46" />
</files>
</fileSnapshot>
2023-08-22 22:13:53,540 3276 [DEBUG] - XmlConfiguration is now operational
2023-08-22 22:13:54,041 3276 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,041 3276 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,055 3276 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,055 3276 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,055 3276 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,055 3276 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,071 3276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,071 3276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,071 3276 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:13:54,087 3276 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-22 22:13:54,087 3276 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-22 22:13:54,979 3276 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:54,979 3276 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:54,979 3276 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:54,994 3276 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:54,994 3276 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:54,994 3276 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:55,009 3276 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:55,009 3276 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:55,009 3276 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:55,024 3276 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:13:55,087 3276 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-22 22:13:55,087 3276 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-22 22:13:55,087 3276 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-22 22:13:55,103 3276 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-22 22:13:55,103 3276 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-22 22:13:55,103 3276 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-22 22:13:55,103 3276 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-22 22:13:55,118 3276 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-22 22:13:55,118 3276 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-22 22:13:55,118 3276 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-22 22:13:55,134 3276 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-22 22:13:55,134 3276 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-22 22:13:55,134 3276 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-22 22:13:55,134 3276 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-22 22:13:55,149 3276 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-22 22:13:55,149 3276 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-22 22:13:55,149 3276 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-22 22:13:55,165 3276 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-22 22:13:55,165 3276 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-22 22:13:55,165 3276 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-22 22:13:55,463 3276 [INFO ] - ============================================================
2023-08-22 22:13:55,916 3276 [INFO ] - Chocolatey v2.2.2
2023-08-22 22:13:56,010 3276 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-22 22:13:56,010 3276 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-22 22:13:56,024 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-22 22:13:56,056 3276 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.3.1-beta -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-22 22:13:56,056 3276 [DEBUG] - Received arguments: install gsudo --version 2.3.1-beta -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-22 22:13:56,291 3276 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-22 22:13:56,323 3276 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-22 22:13:56,354 3276 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-22 22:13:56,588 3276 [DEBUG] - Performing validation checks.
2023-08-22 22:13:56,605 3276 [DEBUG] - Global Configuration Validation Checks:
2023-08-22 22:13:56,605 3276 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-22 22:13:56,618 3276 [DEBUG] - System State Validation Checks:
2023-08-22 22:13:56,634 3276 [DEBUG] - Reboot Requirement Checks:
2023-08-22 22:13:56,649 3276 [DEBUG] - - Pending Computer Rename = Checked
2023-08-22 22:13:56,649 3276 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-22 22:13:56,665 3276 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-22 22:13:56,681 3276 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-22 22:13:56,681 3276 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-22 22:13:56,696 3276 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-22 22:13:56,728 3276 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-22 22:13:56,728 3276 [DEBUG] - - Elevated State = Checked
2023-08-22 22:13:56,728 3276 [DEBUG] - - Folder Exists = Checked
2023-08-22 22:13:56,743 3276 [DEBUG] - - Folder lockdown = Checked
2023-08-22 22:13:56,760 3276 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-22 22:13:56,821 3276 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-22 22:13:56,837 3276 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-08-22 22:13:56,868 3276 [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.3.1-beta'|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-081PQ951SEV'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-08-22 22:13:56,899 3276 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-08-22 22:13:56,931 3276 [INFO ] - Installing the following packages:
2023-08-22 22:13:56,947 3276 [INFO ] - gsudo
2023-08-22 22:13:56,947 3276 [INFO ] - By installing, you accept licenses for the packages.
2023-08-22 22:13:56,978 3276 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-22 22:13:56,993 3276 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-22 22:13:56,993 3276 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-22 22:13:57,009 3276 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-22 22:13:57,009 3276 [DEBUG] - * 'ChocolateyLastPathUpdate'='133371832336501754' ('User')
2023-08-22 22:13:57,024 3276 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-22 22:13:57,041 3276 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-22 22:13:57,056 3276 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-22 22:13:57,056 3276 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-08-22 22:13:57,056 3276 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-22 22:13:57,072 3276 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-22 22:13:57,072 3276 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-22 22:13:57,087 3276 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-22 22:13:57,087 3276 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-22 22:13:57,103 3276 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-22 22:13:57,103 3276 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-22 22:13:57,118 3276 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-22 22:13:57,118 3276 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-22 22:13:57,118 3276 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-22 22:13:57,134 3276 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-22 22:13:57,134 3276 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-22 22:13:57,712 3276 [DEBUG] - Running list with the following filter = ''
2023-08-22 22:13:57,728 3276 [DEBUG] - --- Start of List ---
2023-08-22 22:13:57,807 3276 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-22 22:13:58,447 3276 [DEBUG] - chocolatey 2.2.2
2023-08-22 22:13:58,478 3276 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-22 22:13:58,478 3276 [DEBUG] - KB2919355 1.0.20160915
2023-08-22 22:13:58,493 3276 [DEBUG] - KB2919442 1.0.20160915
2023-08-22 22:13:58,509 3276 [DEBUG] - KB2999226 1.0.20181019
2023-08-22 22:13:58,524 3276 [DEBUG] - KB3035131 1.0.3
2023-08-22 22:13:58,540 3276 [DEBUG] - KB3118401 1.0.5
2023-08-22 22:13:58,540 3276 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-22 22:13:58,556 3276 [DEBUG] - --- End of List ---
2023-08-22 22:13:58,572 3276 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-08-22 22:13:59,635 3276 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-08-22 22:14:00,322 3276 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.3.1-beta')
2023-08-22 22:14:00,556 3276 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.3.1-beta') 213ms
2023-08-22 22:14:00,994 3276 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-08-22 22:14:01,790 3276 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-08-22 22:14:01,805 3276 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.3.1-beta')
2023-08-22 22:14:02,087 3276 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-08-22 22:14:02,103 3276 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-08-22 22:14:02,181 3276 [DEBUG] - Attempting to delete file "".
2023-08-22 22:14:02,228 3276 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/gsudo/2.3.1-beta
2023-08-22 22:14:02,915 3276 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/gsudo/2.3.1-beta 678ms
2023-08-22 22:14:02,999 3276 [INFO ] - [NuGet] Acquiring lock for the installation of gsudo 2.3.1-beta
2023-08-22 22:14:03,072 3276 [INFO ] - [NuGet] Acquired lock for the installation of gsudo 2.3.1-beta
2023-08-22 22:14:04,837 3276 [INFO ] - [NuGet] Installed gsudo 2.3.1-beta from https://community.chocolatey.org/api/v2/ with content hash u+Lh5AG/DfMPjxAEGh3akDkNUMj0fKabyPDmBV0ZIEJ63PWovfTYvnc6nnu91SGNrE4zjja6FKantvmk9ELqAg==.
2023-08-22 22:14:05,056 3276 [INFO ] - [NuGet] Adding package 'gsudo.2.3.1-beta' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-22 22:14:05,338 3276 [INFO ] - [NuGet] Added package 'gsudo.2.3.1-beta' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-22 22:14:05,352 3276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.3.1-beta\gsudo.2.3.1-beta.nupkg".
2023-08-22 22:14:05,352 3276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.3.1-beta\.nupkg.metadata".
2023-08-22 22:14:05,369 3276 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.3.1-beta\gsudo.2.3.1-beta.nupkg.sha512".
2023-08-22 22:14:05,384 3276 [INFO ] -
gsudo v2.3.1-beta (forced)
2023-08-22 22:14:05,494 3276 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-08-22 22:14:05,668 3276 [DEBUG] - Setting installer args for gsudo
2023-08-22 22:14:05,696 3276 [DEBUG] - Setting package parameters for gsudo
2023-08-22 22:14:05,712 3276 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-08-22 22:14:05,728 3276 [DEBUG] - function Test-IsSymLink([string]$path) {
$file = Get-Item $path -Force -ea SilentlyContinue
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
$ErrorActionPreference = 'Continue'
$ToolsLocation = Get-ToolsLocation
if ([Environment]::Is64BitOperatingSystem -eq $true) {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x64"
} else {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x86"
}
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$TargetDir = ("$ToolsLocation\gsudo\v" + ((Get-Item "$bin\gsudo.exe").VersionInfo.ProductVersion -split "\+" )[0])
$SymLinkDir = "$ToolsLocation\gsudo\Current"
# Add to System Path
mkdir $TargetDir -ErrorAction Ignore > $null
copy "$bin\*" $TargetDir -Exclude *.ignore -Force
Install-ChocolateyPath -PathToInstall $SymLinkDir -PathType 'Machine'
cmd /c mklink "$TargetDir\sudo.exe" "$TargetDir\gsudo.exe" 2>$null
# Copy gsudoModule to "$env:ProgramFiles\PowerShell\Modules\gsudoModule"
$PSModulesTargetDir = "$env:ProgramFiles\WindowsPowerShell\Modules\gsudoModule"
md $PSModulesTargetDir -ErrorAction SilentlyContinue
copy "$bin\*.ps*" $PSModulesTargetDir -Exclude *.ignore -Force
$OldCurrentDir = Get-Item $SymLinkDir -ErrorAction ignore
if ($OldCurrentDir)
{
$OldCurrentDir.Delete()
}
cmd /c mklink /d "$SymLinkDir" "$TargetDir\"
# gsudo powershell module banner.
"";
if (Get-Module gsudoModule) {
"Please restart all your PowerShell consoles to update PowerShell gsudo Module."
} else {
& {
"PowerShell users: Add auto-complete to gsudo by adding the following line to your `$PROFILE"
" Import-Module 'gsudoModule'"
"Or run: "
" Write-Output `"``nImport-Module 'gsudoModule'`" | Add-Content `$PROFILE"
}
}
Write-Output "gsudo successfully installed. Please restart your consoles to use gsudo.`n"
2023-08-22 22:14:05,791 3276 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-08-22 22:14:05,807 3276 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-22 22:14:07,072 3276 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-22 22:14:07,697 3276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:07,697 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:07,712 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:07,712 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:07,728 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:07,728 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:07,743 3276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:07,743 3276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:07,759 3276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:07,774 3276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:07,774 3276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:07,790 3276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:07,790 3276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:07,806 3276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:07,806 3276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:07,821 3276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:07,838 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:07,838 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:07,853 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:07,853 3276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:07,885 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:07,900 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:07,915 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:07,915 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:07,931 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:07,931 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:07,931 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:07,946 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:07,962 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:07,962 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:07,979 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:07,993 3276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:07,993 3276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:07,993 3276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:08,009 3276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:08,024 3276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:08,024 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:08,024 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:08,040 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:08,040 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:08,056 3276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:08,072 3276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:08,087 3276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:08,087 3276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:08,103 3276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:08,118 3276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:08,118 3276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:08,134 3276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:08,134 3276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:08,151 3276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:08,166 3276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:08,213 3276 [DEBUG] - Loading community extensions
2023-08-22 22:14:08,276 3276 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-22 22:14:08,276 3276 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-22 22:14:08,447 3276 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:08,447 3276 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:08,462 3276 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:08,478 3276 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:08,494 3276 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:08,494 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:08,509 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:08,509 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:08,524 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:08,524 3276 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:08,540 3276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:08,556 3276 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:08,556 3276 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:08,571 3276 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:08,571 3276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:08,587 3276 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:08,587 3276 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:08,618 3276 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:08,618 3276 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:08,634 3276 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:08,634 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:08,650 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:08,650 3276 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:08,665 3276 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:08,665 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:08,681 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:08,681 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:08,696 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:08,696 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:08,712 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:08,728 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:08,728 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:08,728 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:08,744 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:08,758 3276 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:08,758 3276 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:08,774 3276 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:08,774 3276 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:08,790 3276 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:08,790 3276 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:08,806 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:08,806 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:08,821 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:08,821 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:08,839 3276 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:08,853 3276 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:08,853 3276 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:08,868 3276 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:08,868 3276 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:08,883 3276 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:08,883 3276 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:08,883 3276 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:08,899 3276 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:08,899 3276 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:08,915 3276 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:08,915 3276 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:08,931 3276 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:08,946 3276 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-22 22:14:08,946 3276 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-22 22:14:08,962 3276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:08,962 3276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-22 22:14:08,977 3276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:08,977 3276 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:08,993 3276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-22 22:14:08,993 3276 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:09,010 3276 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-22 22:14:09,010 3276 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:09,024 3276 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-22 22:14:09,024 3276 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:09,040 3276 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-22 22:14:09,040 3276 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-22 22:14:09,055 3276 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:09,055 3276 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-22 22:14:09,071 3276 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-22 22:14:09,071 3276 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-22 22:14:09,087 3276 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-22 22:14:09,087 3276 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-22 22:14:09,102 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:09,118 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:09,118 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:09,134 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:09,134 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-22 22:14:09,149 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-22 22:14:09,149 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:09,165 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:09,165 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:09,180 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:09,197 3276 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:09,214 3276 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-22 22:14:09,227 3276 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:09,227 3276 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-22 22:14:09,227 3276 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-22 22:14:09,243 3276 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:09,243 3276 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-22 22:14:09,259 3276 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:09,275 3276 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-22 22:14:09,275 3276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:09,290 3276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:09,306 3276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:09,322 3276 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-22 22:14:09,322 3276 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:09,337 3276 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-22 22:14:09,337 3276 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-22 22:14:09,337 3276 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:09,353 3276 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-22 22:14:09,353 3276 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-22 22:14:09,368 3276 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:09,368 3276 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-22 22:14:09,384 3276 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-22 22:14:09,384 3276 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:09,509 3276 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-22 22:14:09,525 3276 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.1-beta with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-22 22:14:09,587 3276 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-08-22 22:14:09,650 3276 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-08-22 22:14:09,665 3276 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-08-22 22:14:09,681 3276 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-08-22 22:14:09,758 3276 [DEBUG] - Running Get-ToolsLocation
2023-08-22 22:14:09,915 3276 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-08-22 22:14:09,994 3276 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-08-22 22:14:10,057 3276 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-08-22 22:14:10,556 3276 [DEBUG] - Running Update-SessionEnvironment
2023-08-22 22:14:10,572 3276 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-22 22:14:11,510 3276 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-08-22 22:14:11,524 3276 [DEBUG] - Running Update-SessionEnvironment
2023-08-22 22:14:11,540 3276 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-22 22:14:11,874 3276 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-08-22 22:14:11,884 3276 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-08-22 22:14:12,041 3276 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-22 22:14:12,041 3276 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' -Scope 'Machine'
2023-08-22 22:14:12,072 3276 [DEBUG] - Registry type for Path is/will be ExpandString
2023-08-22 22:14:12,197 3276 [DEBUG] - Running Update-SessionEnvironment
2023-08-22 22:14:12,197 3276 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-22 22:14:12,571 3276 [INFO ] - symbolic link created for C:\tools\gsudo\v2.3.1-beta\sudo.exe <<===>> C:\tools\gsudo\v2.3.1-beta\gsudo.exe
2023-08-22 22:14:12,603 3276 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2023-08-22 22:14:12,681 3276 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.3.1-beta\
2023-08-22 22:14:12,696 3276 [INFO ] -
2023-08-22 22:14:12,712 3276 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-08-22 22:14:12,712 3276 [INFO ] - Import-Module 'gsudoModule'
2023-08-22 22:14:12,728 3276 [INFO ] - Or run:
2023-08-22 22:14:12,728 3276 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-08-22 22:14:12,743 3276 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-08-22 22:14:12,774 3276 [DEBUG] - ----------------------------------------------------------------------
2023-08-22 22:14:12,806 3276 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-08-22 22:14:12,806 3276 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-22 22:14:12,993 3276 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-22 22:14:13,025 3276 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-08-22 22:14:13,025 3276 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-08-22 22:14:13,040 3276 [DEBUG] - * ChocolateyLastPathUpdate='133372160521029130' (User)
2023-08-22 22:14:13,055 3276 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-08-22 22:14:13,055 3276 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' (Machine)
2023-08-22 22:14:13,244 3276 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-08-22 22:14:13,308 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'F99E32A41FF0B7DDC08CB05E6EFD20AC'
2023-08-22 22:14:13,322 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '525E48AA23126055CAFA09620BF201F8'
2023-08-22 22:14:13,337 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:13,353 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:13,353 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-22 22:14:13,353 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-22 22:14:13,368 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-22 22:14:13,368 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-22 22:14:13,384 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-22 22:14:13,384 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'EC30FE3307227EB53681A6CAE53BAE07'
2023-08-22 22:14:13,399 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:13,462 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B7A53617082F1691EA0166C3AA407BB7'
2023-08-22 22:14:13,479 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:13,479 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '08C588C7D45E5DC530210272E8959894'
2023-08-22 22:14:13,494 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C83D1C6C8A40B7F288A59D333ED58FD6'
2023-08-22 22:14:13,494 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:13,509 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:13,589 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '14E476C0CE23FED73CA4EB03AD89ED4B'
2023-08-22 22:14:13,603 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:13,603 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '4DB3CAD31A12FBE754612E7178740722'
2023-08-22 22:14:13,619 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '4F2A81BA86A1E526637D3AD5E16B62D7'
2023-08-22 22:14:13,634 3276 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:13,712 3276 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta".
2023-08-22 22:14:13,759 3276 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta\.files'
2023-08-22 22:14:13,775 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta\.extra".
2023-08-22 22:14:13,808 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta\.version".
2023-08-22 22:14:13,822 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta\.sxs".
2023-08-22 22:14:13,822 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.1-beta\.pin".
2023-08-22 22:14:13,837 3276 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-08-22 22:14:13,853 3276 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-08-22 22:14:13,868 3276 [INFO ] - The install of gsudo was successful.
2023-08-22 22:14:13,868 3276 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-08-22 22:14:13,915 3276 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-22 22:14:13,930 3276 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-22 22:14:13,946 3276 [DEBUG] - Exiting with 0
2023-08-22 22:14:26,165 1860 [DEBUG] - XmlConfiguration is now operational
2023-08-22 22:14:26,321 1860 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,321 1860 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,321 1860 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,337 1860 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,337 1860 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,337 1860 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,337 1860 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,353 1860 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,353 1860 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-22 22:14:26,353 1860 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-22 22:14:26,368 1860 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-22 22:14:27,243 1860 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,243 1860 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,259 1860 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,259 1860 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,259 1860 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,275 1860 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,275 1860 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,275 1860 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,290 1860 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,290 1860 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-22 22:14:27,322 1860 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-22 22:14:27,322 1860 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-22 22:14:27,322 1860 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-22 22:14:27,337 1860 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-22 22:14:27,337 1860 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-22 22:14:27,337 1860 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-22 22:14:27,337 1860 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-22 22:14:27,352 1860 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-22 22:14:27,352 1860 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-22 22:14:27,352 1860 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-22 22:14:27,368 1860 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-22 22:14:27,368 1860 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-22 22:14:27,368 1860 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-22 22:14:27,368 1860 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-22 22:14:27,384 1860 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-22 22:14:27,384 1860 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-22 22:14:27,401 1860 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-22 22:14:27,401 1860 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-22 22:14:27,401 1860 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-22 22:14:27,415 1860 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-22 22:14:27,712 1860 [INFO ] - ============================================================
2023-08-22 22:14:28,165 1860 [INFO ] - Chocolatey v2.2.2
2023-08-22 22:14:28,181 1860 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-22 22:14:28,197 1860 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-22 22:14:28,212 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-22 22:14:28,244 1860 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.3.1-beta -dvy --execution-timeout=2700
2023-08-22 22:14:28,244 1860 [DEBUG] - Received arguments: uninstall gsudo --version 2.3.1-beta -dvy --execution-timeout=2700
2023-08-22 22:14:28,431 1860 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-22 22:14:28,463 1860 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-22 22:14:28,494 1860 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-22 22:14:28,744 1860 [DEBUG] - Performing validation checks.
2023-08-22 22:14:28,759 1860 [DEBUG] - Global Configuration Validation Checks:
2023-08-22 22:14:28,759 1860 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-22 22:14:28,775 1860 [DEBUG] - System State Validation Checks:
2023-08-22 22:14:28,790 1860 [DEBUG] - Reboot Requirement Checks:
2023-08-22 22:14:28,806 1860 [DEBUG] - - Pending Computer Rename = Checked
2023-08-22 22:14:28,822 1860 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-22 22:14:28,822 1860 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-22 22:14:28,837 1860 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-22 22:14:28,853 1860 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-22 22:14:28,853 1860 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-22 22:14:28,869 1860 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-22 22:14:28,884 1860 [DEBUG] - - Elevated State = Checked
2023-08-22 22:14:28,884 1860 [DEBUG] - - Folder Exists = Checked
2023-08-22 22:14:28,899 1860 [DEBUG] - - Folder lockdown = Checked
2023-08-22 22:14:28,916 1860 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-22 22:14:28,963 1860 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-22 22:14:28,977 1860 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-08-22 22:14:29,025 1860 [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.3.1-beta'|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-081PQ951SEV'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-08-22 22:14:29,056 1860 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-08-22 22:14:29,088 1860 [INFO ] - Uninstalling the following packages:
2023-08-22 22:14:29,088 1860 [INFO ] - gsudo
2023-08-22 22:14:29,119 1860 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-22 22:14:29,134 1860 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-22 22:14:29,149 1860 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-22 22:14:29,149 1860 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-22 22:14:29,165 1860 [DEBUG] - * 'ChocolateyLastPathUpdate'='133372160521029130' ('User')
2023-08-22 22:14:29,165 1860 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-08-22 22:14:29,181 1860 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-22 22:14:29,196 1860 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-22 22:14:29,212 1860 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-22 22:14:29,212 1860 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' ('Machine')
2023-08-22 22:14:29,227 1860 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-22 22:14:29,227 1860 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-22 22:14:29,244 1860 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-22 22:14:29,259 1860 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-22 22:14:29,259 1860 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-22 22:14:29,274 1860 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-22 22:14:29,274 1860 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-22 22:14:29,274 1860 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-22 22:14:29,290 1860 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-22 22:14:29,306 1860 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-22 22:14:29,306 1860 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-22 22:14:29,322 1860 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-22 22:14:29,571 1860 [DEBUG] - Running list with the following filter = ''
2023-08-22 22:14:29,588 1860 [DEBUG] - --- Start of List ---
2023-08-22 22:14:29,853 1860 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-22 22:14:30,400 1860 [DEBUG] - chocolatey 2.2.2
2023-08-22 22:14:30,431 1860 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-22 22:14:30,509 1860 [DEBUG] - gsudo 2.3.1-beta
2023-08-22 22:14:30,524 1860 [DEBUG] - KB2919355 1.0.20160915
2023-08-22 22:14:30,524 1860 [DEBUG] - KB2919442 1.0.20160915
2023-08-22 22:14:30,540 1860 [DEBUG] - KB2999226 1.0.20181019
2023-08-22 22:14:30,556 1860 [DEBUG] - KB3035131 1.0.3
2023-08-22 22:14:30,571 1860 [DEBUG] - KB3118401 1.0.5
2023-08-22 22:14:30,587 1860 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-22 22:14:30,587 1860 [DEBUG] - --- End of List ---
2023-08-22 22:14:30,603 1860 [DEBUG] - Running list with the following filter = ''
2023-08-22 22:14:30,619 1860 [DEBUG] - --- Start of List ---
2023-08-22 22:14:30,665 1860 [DEBUG] - chocolatey 2.2.2
2023-08-22 22:14:30,665 1860 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-22 22:14:30,712 1860 [DEBUG] - gsudo 2.3.1-beta
2023-08-22 22:14:30,731 1860 [DEBUG] - KB2919355 1.0.20160915
2023-08-22 22:14:30,745 1860 [DEBUG] - KB2919442 1.0.20160915
2023-08-22 22:14:30,760 1860 [DEBUG] - KB2999226 1.0.20181019
2023-08-22 22:14:30,777 1860 [DEBUG] - KB3035131 1.0.3
2023-08-22 22:14:30,791 1860 [DEBUG] - KB3118401 1.0.5
2023-08-22 22:14:30,806 1860 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-22 22:14:30,821 1860 [DEBUG] - --- End of List ---
2023-08-22 22:14:30,900 1860 [DEBUG] - Running list with the following filter = ''
2023-08-22 22:14:30,915 1860 [DEBUG] - --- Start of List ---
2023-08-22 22:14:30,946 1860 [DEBUG] - chocolatey 2.2.2
2023-08-22 22:14:30,962 1860 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-22 22:14:30,993 1860 [DEBUG] - gsudo 2.3.1-beta
2023-08-22 22:14:31,025 1860 [DEBUG] - KB2919355 1.0.20160915
2023-08-22 22:14:31,040 1860 [DEBUG] - KB2919442 1.0.20160915
2023-08-22 22:14:31,056 1860 [DEBUG] - KB2999226 1.0.20181019
2023-08-22 22:14:31,072 1860 [DEBUG] - KB3035131 1.0.3
2023-08-22 22:14:31,072 1860 [DEBUG] - KB3118401 1.0.5
2023-08-22 22:14:31,087 1860 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-22 22:14:31,087 1860 [DEBUG] - --- End of List ---
2023-08-22 22:14:31,150 1860 [INFO ] -
gsudo v2.3.1-beta
2023-08-22 22:14:31,181 1860 [DEBUG] - Running beforeModify step for 'gsudo'
2023-08-22 22:14:31,244 1860 [DEBUG] - Setting installer args for gsudo
2023-08-22 22:14:31,244 1860 [DEBUG] - Setting package parameters for gsudo
2023-08-22 22:14:31,259 1860 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-08-22 22:14:31,275 1860 [DEBUG] - $ErrorActionPreference = 'Ignore'
if (Get-Process gsudo 2> $null) {
if (Get-Command gsudo.exe 2> $null) {
# Stop any gsudo open cache sessions, if any.
gsudo.exe -k 2> $null
Start-Sleep -Milliseconds 500
}
}
$ToolsLocation = Get-ToolsLocation
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$ErrorActionPreference = 'Continue'
2023-08-22 22:14:31,338 1860 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-08-22 22:14:31,353 1860 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-22 22:14:32,118 1860 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-22 22:14:32,696 1860 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:32,696 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:32,712 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:32,712 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:32,728 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:32,743 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:32,743 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:32,759 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:32,759 1860 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:32,774 1860 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:32,774 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:32,790 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:32,790 1860 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:32,806 1860 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:32,806 1860 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:32,821 1860 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:32,821 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:32,837 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:32,837 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:32,852 1860 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:32,869 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:32,884 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:32,884 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:32,884 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:32,900 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:32,900 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:32,915 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:32,915 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:32,931 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:32,931 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:32,946 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:32,946 1860 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:32,962 1860 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:32,962 1860 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:32,978 1860 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:32,993 1860 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:32,993 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:33,009 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:33,024 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:33,040 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:33,040 1860 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:33,056 1860 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:33,056 1860 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:33,071 1860 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:33,087 1860 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:33,087 1860 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:33,103 1860 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:33,103 1860 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:33,118 1860 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:33,118 1860 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:33,134 1860 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:33,181 1860 [DEBUG] - Loading community extensions
2023-08-22 22:14:33,213 1860 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-22 22:14:33,245 1860 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-22 22:14:33,355 1860 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:33,369 1860 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:33,369 1860 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:33,384 1860 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:33,384 1860 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:33,399 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:33,399 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:33,415 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:33,431 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:33,446 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:33,462 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:33,478 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:33,493 1860 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:33,493 1860 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:33,509 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:33,509 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:33,524 1860 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:33,544 1860 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:33,556 1860 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:33,572 1860 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:33,572 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:33,587 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:33,587 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:33,602 1860 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:33,602 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:33,618 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:33,618 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:33,634 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:33,634 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:33,649 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:33,649 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:33,666 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:33,666 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:33,681 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:33,681 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:33,696 1860 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:33,696 1860 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:33,712 1860 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:33,712 1860 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:33,727 1860 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:33,727 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:33,743 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:33,759 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:33,759 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:33,774 1860 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:33,774 1860 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:33,790 1860 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:33,790 1860 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:33,806 1860 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:33,821 1860 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:33,821 1860 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:33,837 1860 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:33,837 1860 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:33,853 1860 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:33,868 1860 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:33,868 1860 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:33,884 1860 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:33,900 1860 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-22 22:14:33,900 1860 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-22 22:14:33,915 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:33,948 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-22 22:14:33,948 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:33,962 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:33,962 1860 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-22 22:14:33,978 1860 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:33,978 1860 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-22 22:14:33,993 1860 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:33,993 1860 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-22 22:14:34,010 1860 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:34,024 1860 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-22 22:14:34,024 1860 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-22 22:14:34,040 1860 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:34,040 1860 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-22 22:14:34,055 1860 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-22 22:14:34,055 1860 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-22 22:14:34,071 1860 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-22 22:14:34,071 1860 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-22 22:14:34,087 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:34,087 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:34,103 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:34,103 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:34,119 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-22 22:14:34,134 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-22 22:14:34,134 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:34,149 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:34,149 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:34,165 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:34,180 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:34,180 1860 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-22 22:14:34,196 1860 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:34,196 1860 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-22 22:14:34,212 1860 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-22 22:14:34,212 1860 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:34,228 1860 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-22 22:14:34,228 1860 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:34,243 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-22 22:14:34,243 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:34,259 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:34,259 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:34,275 1860 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-22 22:14:34,275 1860 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:34,290 1860 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-22 22:14:34,290 1860 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-22 22:14:34,305 1860 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:34,323 1860 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-22 22:14:34,323 1860 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-22 22:14:34,337 1860 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:34,337 1860 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-22 22:14:34,354 1860 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-22 22:14:34,368 1860 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:34,479 1860 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-22 22:14:34,494 1860 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.1-beta with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-22 22:14:34,556 1860 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-08-22 22:14:34,635 1860 [DEBUG] - Running Get-ToolsLocation
2023-08-22 22:14:34,697 1860 [DEBUG] - ----------------------------------------------------------------------
2023-08-22 22:14:34,712 1860 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-08-22 22:14:34,728 1860 [DEBUG] - Backing up package files for 'gsudo'
2023-08-22 22:14:34,916 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-08-22 22:14:34,931 1860 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta
2023-08-22 22:14:34,931 1860 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta'
2023-08-22 22:14:36,962 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-08-22 22:14:36,962 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-08-22 22:14:36,995 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-08-22 22:14:36,995 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-08-22 22:14:37,009 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-08-22 22:14:37,025 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-08-22 22:14:37,025 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-08-22 22:14:37,040 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-08-22 22:14:37,055 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-08-22 22:14:37,055 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-08-22 22:14:37,071 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-08-22 22:14:37,088 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-08-22 22:14:37,103 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-08-22 22:14:37,103 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-08-22 22:14:37,119 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-08-22 22:14:37,135 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-08-22 22:14:37,166 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-08-22 22:14:37,166 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-08-22 22:14:37,181 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-08-22 22:14:37,181 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-08-22 22:14:37,196 1860 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-08-22 22:14:37,196 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-08-22 22:14:37,212 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-08-22 22:14:37,244 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-08-22 22:14:37,263 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-08-22 22:14:37,275 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-08-22 22:14:37,290 1860 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.3.1-beta\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-08-22 22:14:38,838 1860 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-08-22 22:14:38,901 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'F99E32A41FF0B7DDC08CB05E6EFD20AC'
2023-08-22 22:14:38,916 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '525E48AA23126055CAFA09620BF201F8'
2023-08-22 22:14:38,916 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:38,931 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:38,931 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-22 22:14:38,946 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-22 22:14:38,962 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-22 22:14:38,962 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-22 22:14:38,962 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-22 22:14:38,978 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'EC30FE3307227EB53681A6CAE53BAE07'
2023-08-22 22:14:38,978 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:39,087 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B7A53617082F1691EA0166C3AA407BB7'
2023-08-22 22:14:39,087 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:39,103 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '08C588C7D45E5DC530210272E8959894'
2023-08-22 22:14:39,103 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C83D1C6C8A40B7F288A59D333ED58FD6'
2023-08-22 22:14:39,119 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:39,119 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:39,228 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '14E476C0CE23FED73CA4EB03AD89ED4B'
2023-08-22 22:14:39,228 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-08-22 22:14:39,244 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '4DB3CAD31A12FBE754612E7178740722'
2023-08-22 22:14:39,244 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '4F2A81BA86A1E526637D3AD5E16B62D7'
2023-08-22 22:14:39,259 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:39,275 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-08-22 22:14:39,321 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-08-22 22:14:39,338 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-08-22 22:14:39,338 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-08-22 22:14:39,353 1860 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-08-22 22:14:39,369 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-08-22 22:14:39,369 1860 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-08-22 22:14:39,384 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-08-22 22:14:39,384 1860 [DEBUG] - Setting installer args for gsudo
2023-08-22 22:14:39,399 1860 [DEBUG] - Setting package parameters for gsudo
2023-08-22 22:14:39,399 1860 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-08-22 22:14:39,399 1860 [DEBUG] - Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
function MarkFileDelete {
param(
[parameter(Mandatory=$true)]
[string] $path
)
# the code below has been used from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/10/19/weekend-scripter-use-powershell-and-pinvoke-to-remove-stubborn-files.aspx
# with inspiration from
# http://www.leeholmes.com/blog/2009/02/17/moving-and-deleting-really-locked-files-in-powershell/
# and error handling from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/06/25/use-powershell-to-interact-with-the-windows-api-part-1.aspx
Add-Type @'
using System;
using System.Text;
using System.Runtime.InteropServices;
public class Posh
{
public enum MoveFileFlags
{
MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004
}
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags);
public static bool MarkFileDelete (string sourcefile)
{
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
}
'@
$deleteResult = [Posh]::MarkFileDelete($path)
if ($deleteResult) {
write-Warning "(Delete of $path failed: Will be deleted at next boot.)"
} else {
write-Warning "(Error marking $path for deletion at next boot.)"
}
}
$installPath = "$(Get-ToolsLocation)\gsudo"
Uninstall-ChocolateyPath "$installPath\Current" 'Machine'
$ErrorActionPreference="Ignore"
# Delete symlinks in Pwsh 5.
Get-ChildItem $installPath -Recurse |? LinkType -eq 'SymbolicLink'|%{$_.Delete()}
# Delete the rest.
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
if (Test-Path $installPath) {
# Files are in use so delete failed.
# Rename used files and directories.
Get-ChildItem $installPath -Recurse -Exclude "*.deleteMe" | Sort-Object -Descending {(++$script:i)} | % { Rename-Item -Path $_.FullName -NewName ($_.Name + ".deleteMe") ; } *> $NULL
# Mark remaining for delete after restart.
Get-ChildItem $installPath -Recurse | % { MarkFileDelete ( $_.FullName) }
MarkFileDelete ( $installPath );
}
$ErrorActionPreference = 'Continue'
2023-08-22 22:14:39,431 1860 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-08-22 22:14:39,524 1860 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-22 22:14:39,635 1860 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-22 22:14:39,814 1860 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:39,822 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:39,822 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:39,822 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:39,837 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:39,853 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:39,853 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:39,868 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:39,884 1860 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:39,884 1860 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:39,900 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:39,900 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:39,915 1860 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:39,915 1860 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:39,931 1860 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:39,931 1860 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:39,946 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:39,946 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:39,962 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:39,962 1860 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:39,978 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:39,978 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:39,994 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:39,994 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:40,010 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:40,025 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:40,025 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:40,040 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:40,055 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:40,055 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:40,071 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:40,071 1860 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:40,087 1860 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:40,103 1860 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:40,103 1860 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:40,118 1860 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:40,118 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:40,134 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:40,134 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:40,149 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:40,149 1860 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:40,165 1860 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:40,165 1860 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:40,181 1860 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:40,181 1860 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:40,197 1860 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:40,197 1860 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:40,212 1860 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:40,212 1860 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:40,228 1860 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:40,245 1860 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:40,259 1860 [DEBUG] - Loading community extensions
2023-08-22 22:14:40,259 1860 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-22 22:14:40,276 1860 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-22 22:14:40,322 1860 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:40,322 1860 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:40,338 1860 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:40,338 1860 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:40,353 1860 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-22 22:14:40,353 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-22 22:14:40,368 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:40,368 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-22 22:14:40,384 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:40,384 1860 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:40,384 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-22 22:14:40,400 1860 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:40,419 1860 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-22 22:14:40,419 1860 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:40,431 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-22 22:14:40,447 1860 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:40,447 1860 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-22 22:14:40,462 1860 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-22 22:14:40,478 1860 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:40,478 1860 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-22 22:14:40,493 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-22 22:14:40,493 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-22 22:14:40,509 1860 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-22 22:14:40,524 1860 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-22 22:14:40,524 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:40,540 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:40,556 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:40,573 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:40,573 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-22 22:14:40,587 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-22 22:14:40,603 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:40,619 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:40,619 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:40,634 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:40,650 1860 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:40,665 1860 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-22 22:14:40,681 1860 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-22 22:14:40,681 1860 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-22 22:14:40,697 1860 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:40,697 1860 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-22 22:14:40,712 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-22 22:14:40,712 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:40,728 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:40,743 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:40,759 1860 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-22 22:14:40,759 1860 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:40,774 1860 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-22 22:14:40,774 1860 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-22 22:14:40,790 1860 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-22 22:14:40,790 1860 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-22 22:14:40,822 1860 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:40,822 1860 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-22 22:14:40,837 1860 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-22 22:14:40,837 1860 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:40,853 1860 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:40,853 1860 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-22 22:14:40,868 1860 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-22 22:14:40,884 1860 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-22 22:14:40,884 1860 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-22 22:14:40,900 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-22 22:14:40,900 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-22 22:14:40,915 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-22 22:14:40,915 1860 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-22 22:14:40,931 1860 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-22 22:14:40,931 1860 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-22 22:14:40,947 1860 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-22 22:14:40,947 1860 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-22 22:14:40,963 1860 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-22 22:14:40,978 1860 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-22 22:14:40,978 1860 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-22 22:14:40,993 1860 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-22 22:14:40,993 1860 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-22 22:14:40,993 1860 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-22 22:14:41,010 1860 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-22 22:14:41,029 1860 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-22 22:14:41,040 1860 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-22 22:14:41,040 1860 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-22 22:14:41,056 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:41,056 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-22 22:14:41,071 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-22 22:14:41,071 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-22 22:14:41,088 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-22 22:14:41,102 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-22 22:14:41,118 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-22 22:14:41,118 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-22 22:14:41,134 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-22 22:14:41,134 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-22 22:14:41,149 1860 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-22 22:14:41,165 1860 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-22 22:14:41,165 1860 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-22 22:14:41,181 1860 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-22 22:14:41,181 1860 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-22 22:14:41,197 1860 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-22 22:14:41,212 1860 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-22 22:14:41,212 1860 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-22 22:14:41,228 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-22 22:14:41,243 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-22 22:14:41,259 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-22 22:14:41,259 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-22 22:14:41,275 1860 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-22 22:14:41,293 1860 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-22 22:14:41,293 1860 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-22 22:14:41,306 1860 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-22 22:14:41,306 1860 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-22 22:14:41,322 1860 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-22 22:14:41,322 1860 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-22 22:14:41,337 1860 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-22 22:14:41,353 1860 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-22 22:14:41,353 1860 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-22 22:14:41,368 1860 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-22 22:14:41,368 1860 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-22 22:14:41,385 1860 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.1-beta with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-22 22:14:41,399 1860 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-08-22 22:14:41,417 1860 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-08-22 22:14:41,432 1860 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-08-22 22:14:41,446 1860 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-08-22 22:14:41,462 1860 [DEBUG] - Running Get-ToolsLocation
2023-08-22 22:14:41,541 1860 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-08-22 22:14:41,572 1860 [DEBUG] - Running Update-SessionEnvironment
2023-08-22 22:14:41,603 1860 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-22 22:14:42,368 1860 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-08-22 22:14:42,368 1860 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-08-22 22:14:42,494 1860 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-22 22:14:42,556 1860 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' -Scope 'Machine'
2023-08-22 22:14:42,618 1860 [DEBUG] - Registry type for Path is/will be ExpandString
2023-08-22 22:14:42,651 1860 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-08-22 22:14:43,072 1860 [DEBUG] - Running Update-SessionEnvironment
2023-08-22 22:14:43,087 1860 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-08-22 22:14:43,369 1860 [DEBUG] - ----------------------------------------------------------------------
2023-08-22 22:14:43,384 1860 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-08-22 22:14:43,431 1860 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-08-22 22:14:43,447 1860 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-22 22:14:43,571 1860 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-22 22:14:43,603 1860 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-08-22 22:14:43,635 1860 [DEBUG] - Ensuring removal of installation files.
2023-08-22 22:14:43,680 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'F99E32A41FF0B7DDC08CB05E6EFD20AC'
2023-08-22 22:14:43,697 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-08-22 22:14:43,697 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '525E48AA23126055CAFA09620BF201F8'
2023-08-22 22:14:43,714 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-08-22 22:14:43,728 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-08-22 22:14:43,728 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-08-22 22:14:43,743 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-08-22 22:14:43,743 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-08-22 22:14:43,759 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-08-22 22:14:43,759 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-08-22 22:14:43,774 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-08-22 22:14:43,774 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-08-22 22:14:43,790 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-08-22 22:14:43,806 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-08-22 22:14:43,806 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'EC30FE3307227EB53681A6CAE53BAE07'
2023-08-22 22:14:43,822 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-08-22 22:14:43,837 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:43,837 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-08-22 22:14:43,900 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B7A53617082F1691EA0166C3AA407BB7'
2023-08-22 22:14:43,916 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-08-22 22:14:43,916 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '08C588C7D45E5DC530210272E8959894'
2023-08-22 22:14:43,931 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-08-22 22:14:43,946 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C83D1C6C8A40B7F288A59D333ED58FD6'
2023-08-22 22:14:43,946 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-08-22 22:14:43,962 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:43,977 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-08-22 22:14:43,977 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-08-22 22:14:43,993 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-08-22 22:14:44,073 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '14E476C0CE23FED73CA4EB03AD89ED4B'
2023-08-22 22:14:44,073 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-08-22 22:14:44,087 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '4DB3CAD31A12FBE754612E7178740722'
2023-08-22 22:14:44,087 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-08-22 22:14:44,103 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '4F2A81BA86A1E526637D3AD5E16B62D7'
2023-08-22 22:14:44,118 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-08-22 22:14:44,118 1860 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum 'DAF6B913F8E29587FB6D7CA8843ADB46'
2023-08-22 22:14:44,118 1860 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-08-22 22:14:44,134 1860 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-08-22 22:14:44,149 1860 [INFO ] - gsudo has been successfully uninstalled.
2023-08-22 22:14:44,149 1860 [DEBUG] - Removing nupkg if it still exists.
2023-08-22 22:14:44,165 1860 [DEBUG] - Ensuring removal of installation files.
2023-08-22 22:14:44,198 1860 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-08-22 22:14:44,213 1860 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-08-22 22:14:44,213 1860 [DEBUG] - * ChocolateyLastPathUpdate='133372160830097443' (User)
2023-08-22 22:14:44,228 1860 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' (Machine)
2023-08-22 22:14:44,260 1860 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-22 22:14:44,275 1860 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-22 22:14:44,290 1860 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment