Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created October 1, 2023 03:39
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/f6f920fbfc1c6abf1d478cc581065f33 to your computer and use it in GitHub Desktop.
Save choco-bot/f6f920fbfc1c6abf1d478cc581065f33 to your computer and use it in GitHub Desktop.
gsudo v2.4.1-fixnoninteractive - Passed - Package Tests Results

gsudo v2.4.1-fixnoninteractive - Passed - Package Test Results

<?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="80B5FE37EF35FA63BF942E6D4786546D" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="954BAC92962A15DBF6A2B88400F174A5" />
<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="047EA547DD39419D85D76CEDAF62A7A5" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="B0FB8BC1BEA0A36840F1B4141C32F1A5" />
<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="FA530D2FFB860811911CCBF14BF65172" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="C94489CBEF622DCC52D079C9FEFF8A6E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1" checksum="4D14810FDB5B13FD52B7F7C7D8E405C2" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="8A06B9FDF47B6FB3A994ADFBBA877C0A" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="3B066FB4ECE41F5CC1C4EC87254096A1" />
<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="F58BE0FE3F8C2E1849B9D544409C1448" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="C6EBE3F7EF44E98CF9977A6FB990B9E9" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1" checksum="5DD1E00CDD961449076710AE413CEA18" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="024DE4B41748BB8AFA3FE5FA60329698" />
</files>
</fileSnapshot>
2023-10-01 03:38:55,495 1140 [DEBUG] - XmlConfiguration is now operational
2023-10-01 03:38:55,651 1140 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,651 1140 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,666 1140 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,666 1140 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,666 1140 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,666 1140 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,682 1140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,682 1140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,682 1140 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:38:55,682 1140 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-10-01 03:38:55,698 1140 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-10-01 03:38:56,542 1140 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,557 1140 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,557 1140 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,557 1140 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,557 1140 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,557 1140 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,573 1140 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,573 1140 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,573 1140 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,573 1140 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:38:56,667 1140 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-10-01 03:38:56,667 1140 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-10-01 03:38:56,682 1140 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-10-01 03:38:56,682 1140 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-10-01 03:38:56,682 1140 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-10-01 03:38:56,698 1140 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-10-01 03:38:56,698 1140 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-10-01 03:38:56,698 1140 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-10-01 03:38:56,698 1140 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-10-01 03:38:56,713 1140 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-10-01 03:38:56,713 1140 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-10-01 03:38:56,713 1140 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-10-01 03:38:56,713 1140 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-10-01 03:38:56,729 1140 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-10-01 03:38:56,729 1140 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-10-01 03:38:56,729 1140 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-10-01 03:38:56,729 1140 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-10-01 03:38:56,745 1140 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-10-01 03:38:56,745 1140 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-10-01 03:38:56,745 1140 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-10-01 03:38:57,073 1140 [INFO ] - ============================================================
2023-10-01 03:38:57,714 1140 [INFO ] - Chocolatey v2.2.2
2023-10-01 03:38:57,791 1140 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-10-01 03:38:57,807 1140 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-10-01 03:38:57,807 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-10-01 03:38:57,839 1140 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.4.1-fixnoninteractive -fdvy --execution-timeout=2700 --allow-downgrade
2023-10-01 03:38:57,886 1140 [DEBUG] - Received arguments: install gsudo --version 2.4.1-fixnoninteractive -fdvy --execution-timeout=2700 --allow-downgrade
2023-10-01 03:38:58,073 1140 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-10-01 03:38:58,105 1140 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-10-01 03:38:58,119 1140 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-10-01 03:38:58,322 1140 [DEBUG] - Performing validation checks.
2023-10-01 03:38:58,339 1140 [DEBUG] - Global Configuration Validation Checks:
2023-10-01 03:38:58,339 1140 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-10-01 03:38:58,354 1140 [DEBUG] - System State Validation Checks:
2023-10-01 03:38:58,370 1140 [DEBUG] - Reboot Requirement Checks:
2023-10-01 03:38:58,385 1140 [DEBUG] - - Pending Computer Rename = Checked
2023-10-01 03:38:58,385 1140 [DEBUG] - - Pending Component Based Servicing = Checked
2023-10-01 03:38:58,401 1140 [DEBUG] - - Pending Windows Auto Update = Checked
2023-10-01 03:38:58,417 1140 [DEBUG] - - Pending File Rename Operations = Ignored
2023-10-01 03:38:58,417 1140 [DEBUG] - - Pending Windows Package Installer = Checked
2023-10-01 03:38:58,432 1140 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-10-01 03:38:58,448 1140 [DEBUG] - Cache Folder Lockdown Checks:
2023-10-01 03:38:58,448 1140 [DEBUG] - - Elevated State = Checked
2023-10-01 03:38:58,464 1140 [DEBUG] - - Folder Exists = Checked
2023-10-01 03:38:58,479 1140 [DEBUG] - - Folder lockdown = Checked
2023-10-01 03:38:58,479 1140 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-10-01 03:38:58,526 1140 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-10-01 03:38:58,541 1140 [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-10-01 03:38:58,573 1140 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='gsudo'|
Version='2.4.1-fixnoninteractive'|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-UBCCN3FRVDM'|
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-10-01 03:38:58,604 1140 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-10-01 03:38:58,637 1140 [INFO ] - Installing the following packages:
2023-10-01 03:38:58,637 1140 [INFO ] - gsudo
2023-10-01 03:38:58,651 1140 [INFO ] - By installing, you accept licenses for the packages.
2023-10-01 03:38:58,667 1140 [DEBUG] - Current environment values (may contain sensitive data):
2023-10-01 03:38:58,667 1140 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-10-01 03:38:58,683 1140 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-01 03:38:58,683 1140 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-01 03:38:58,697 1140 [DEBUG] - * 'ChocolateyLastPathUpdate'='133405492933025329' ('User')
2023-10-01 03:38:58,697 1140 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-10-01 03:38:58,730 1140 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-10-01 03:38:58,730 1140 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-10-01 03:38:58,745 1140 [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-10-01 03:38:58,745 1140 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-10-01 03:38:58,745 1140 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-10-01 03:38:58,761 1140 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-10-01 03:38:58,776 1140 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-10-01 03:38:58,776 1140 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-10-01 03:38:58,776 1140 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-10-01 03:38:58,792 1140 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-10-01 03:38:58,807 1140 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-10-01 03:38:58,807 1140 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-10-01 03:38:58,807 1140 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-10-01 03:38:58,823 1140 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-10-01 03:38:58,823 1140 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-10-01 03:38:59,307 1140 [DEBUG] - Running list with the following filter = ''
2023-10-01 03:38:59,324 1140 [DEBUG] - --- Start of List ---
2023-10-01 03:38:59,386 1140 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-10-01 03:38:59,979 1140 [DEBUG] - chocolatey 2.2.2
2023-10-01 03:39:00,042 1140 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-01 03:39:00,057 1140 [DEBUG] - KB2919355 1.0.20160915
2023-10-01 03:39:00,073 1140 [DEBUG] - KB2919442 1.0.20160915
2023-10-01 03:39:00,073 1140 [DEBUG] - KB2999226 1.0.20181019
2023-10-01 03:39:00,088 1140 [DEBUG] - KB3035131 1.0.3
2023-10-01 03:39:00,104 1140 [DEBUG] - KB3118401 1.0.5
2023-10-01 03:39:00,104 1140 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-01 03:39:00,119 1140 [DEBUG] - --- End of List ---
2023-10-01 03:39:00,136 1140 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-10-01 03:39:00,994 1140 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-10-01 03:39:01,652 1140 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.1-fixnoninteractive')
2023-10-01 03:39:01,980 1140 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.1-fixnoninteractive') 273ms
2023-10-01 03:39:02,495 1140 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-10-01 03:39:03,260 1140 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-10-01 03:39:03,276 1140 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='gsudo',Version='2.4.1-fixnoninteractive')
2023-10-01 03:39:03,496 1140 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-10-01 03:39:03,510 1140 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-10-01 03:39:03,589 1140 [DEBUG] - Attempting to delete file "".
2023-10-01 03:39:03,637 1140 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/gsudo/2.4.1-fixnoninteractive
2023-10-01 03:39:04,324 1140 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/gsudo/2.4.1-fixnoninteractive 672ms
2023-10-01 03:39:04,370 1140 [INFO ] - [NuGet] Acquiring lock for the installation of gsudo 2.4.1-fixnoninteractive
2023-10-01 03:39:04,448 1140 [INFO ] - [NuGet] Acquired lock for the installation of gsudo 2.4.1-fixnoninteractive
2023-10-01 03:39:05,808 1140 [INFO ] - [NuGet] Installed gsudo 2.4.1-fixnoninteractive from https://community.chocolatey.org/api/v2/ with content hash JkqcabjIq65lb1D21rPAkefIN5pbw4s3xmxF2aQoHZGInQUBcJfE/8MCHaA5KwZjlUM2bp+0Z+JTop6H5vd/rg==.
2023-10-01 03:39:05,871 1140 [INFO ] - [NuGet] Adding package 'gsudo.2.4.1-fixnoninteractive' to folder 'C:\ProgramData\chocolatey\lib'
2023-10-01 03:39:06,106 1140 [INFO ] - [NuGet] Added package 'gsudo.2.4.1-fixnoninteractive' to folder 'C:\ProgramData\chocolatey\lib'
2023-10-01 03:39:06,120 1140 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.1-fixnoninteractive\gsudo.2.4.1-fixnoninteractive.nupkg".
2023-10-01 03:39:06,136 1140 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.1-fixnoninteractive\.nupkg.metadata".
2023-10-01 03:39:06,151 1140 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\gsudo/2.4.1-fixnoninteractive\gsudo.2.4.1-fixnoninteractive.nupkg.sha512".
2023-10-01 03:39:06,151 1140 [INFO ] -
gsudo v2.4.1-fixnoninteractive (forced)
2023-10-01 03:39:06,230 1140 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-10-01 03:39:06,356 1140 [DEBUG] - Setting installer args for gsudo
2023-10-01 03:39:06,370 1140 [DEBUG] - Setting package parameters for gsudo
2023-10-01 03:39:06,370 1140 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-10-01 03:39:06,385 1140 [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-10-01 03:39:06,433 1140 [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-10-01 03:39:06,448 1140 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-10-01 03:39:07,088 1140 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-10-01 03:39:07,510 1140 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:07,526 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:07,572 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:07,572 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:07,589 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:07,604 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:07,604 1140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:07,604 1140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:07,620 1140 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:07,620 1140 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:07,635 1140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:07,635 1140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:07,651 1140 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:07,651 1140 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:07,666 1140 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:07,666 1140 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:07,683 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:07,683 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:07,697 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:07,697 1140 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:07,713 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:07,713 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:07,729 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:07,854 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:07,854 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:07,870 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:07,870 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:07,885 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:07,885 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:07,900 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:07,900 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:07,900 1140 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:07,916 1140 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:07,916 1140 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:07,932 1140 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:07,948 1140 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:07,948 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:07,963 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:07,963 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:07,963 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:07,979 1140 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:07,979 1140 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:07,994 1140 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:07,994 1140 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:08,011 1140 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:08,011 1140 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:08,026 1140 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:08,026 1140 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:08,042 1140 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:08,042 1140 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:08,057 1140 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:08,089 1140 [DEBUG] - Loading community extensions
2023-10-01 03:39:08,104 1140 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-10-01 03:39:08,120 1140 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-10-01 03:39:08,229 1140 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:08,245 1140 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:08,245 1140 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:08,260 1140 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:08,260 1140 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:08,276 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:08,276 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:08,291 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:08,291 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:08,307 1140 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:08,307 1140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:08,322 1140 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:08,322 1140 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:08,338 1140 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:08,338 1140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:08,338 1140 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:08,354 1140 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:08,354 1140 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:08,369 1140 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:08,369 1140 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:08,385 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:08,385 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:08,385 1140 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:08,401 1140 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:08,401 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:08,401 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:08,416 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:08,416 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:08,432 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:08,432 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:08,448 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:08,448 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:08,448 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:08,463 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:08,463 1140 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:08,479 1140 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:08,479 1140 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:08,479 1140 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:08,494 1140 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:08,494 1140 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:08,510 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:08,510 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:08,510 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:08,526 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:08,541 1140 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:08,541 1140 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:08,557 1140 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:08,557 1140 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:08,573 1140 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:08,573 1140 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:08,588 1140 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:08,588 1140 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:08,588 1140 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:08,604 1140 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:08,604 1140 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:08,620 1140 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:08,635 1140 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:08,651 1140 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-10-01 03:39:08,651 1140 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-10-01 03:39:08,669 1140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:08,669 1140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-10-01 03:39:08,682 1140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:08,682 1140 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:08,698 1140 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-10-01 03:39:08,698 1140 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:08,713 1140 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-10-01 03:39:08,713 1140 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:08,729 1140 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-10-01 03:39:08,729 1140 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:08,744 1140 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-10-01 03:39:08,744 1140 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-10-01 03:39:08,744 1140 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:08,760 1140 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-10-01 03:39:08,760 1140 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-10-01 03:39:08,776 1140 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-10-01 03:39:08,776 1140 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-10-01 03:39:08,791 1140 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-10-01 03:39:08,791 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:08,807 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:08,807 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:08,823 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:08,823 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-10-01 03:39:08,838 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-10-01 03:39:08,838 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:08,854 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:08,854 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:08,870 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:08,870 1140 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:08,886 1140 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-10-01 03:39:08,886 1140 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:08,901 1140 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-10-01 03:39:08,901 1140 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-10-01 03:39:08,917 1140 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:08,917 1140 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-10-01 03:39:08,932 1140 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:08,932 1140 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-10-01 03:39:08,948 1140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:08,948 1140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:08,948 1140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:08,963 1140 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-10-01 03:39:08,963 1140 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:08,979 1140 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-10-01 03:39:08,979 1140 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-10-01 03:39:08,995 1140 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:08,995 1140 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-10-01 03:39:09,010 1140 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-10-01 03:39:09,010 1140 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:09,026 1140 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-10-01 03:39:09,026 1140 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-10-01 03:39:09,026 1140 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:09,120 1140 [DEBUG] - ---------------------------Script Execution---------------------------
2023-10-01 03:39:09,151 1140 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.1-fixnoninteractive with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-10-01 03:39:09,307 1140 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-10-01 03:39:09,401 1140 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-10-01 03:39:09,401 1140 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-10-01 03:39:09,417 1140 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-10-01 03:39:09,495 1140 [DEBUG] - Running Get-ToolsLocation
2023-10-01 03:39:09,589 1140 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-10-01 03:39:09,651 1140 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-10-01 03:39:09,698 1140 [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-10-01 03:39:10,026 1140 [DEBUG] - Running Update-SessionEnvironment
2023-10-01 03:39:10,026 1140 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-10-01 03:39:10,823 1140 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-10-01 03:39:10,838 1140 [DEBUG] - Running Update-SessionEnvironment
2023-10-01 03:39:10,838 1140 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-10-01 03:39:11,042 1140 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-10-01 03:39:11,042 1140 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-10-01 03:39:11,151 1140 [DEBUG] - Test-ProcessAdminRights: returning True
2023-10-01 03:39:11,151 1140 [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-10-01 03:39:11,183 1140 [DEBUG] - Registry type for Path is/will be ExpandString
2023-10-01 03:39:11,244 1140 [DEBUG] - Running Update-SessionEnvironment
2023-10-01 03:39:11,261 1140 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-10-01 03:39:11,432 1140 [INFO ] - symbolic link created for C:\tools\gsudo\v2.4.1-fixnoninteractive\sudo.exe <<===>> C:\tools\gsudo\v2.4.1-fixnoninteractive\gsudo.exe
2023-10-01 03:39:11,464 1140 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2023-10-01 03:39:11,526 1140 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.4.1-fixnoninteractive\
2023-10-01 03:39:11,526 1140 [INFO ] -
2023-10-01 03:39:11,541 1140 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-10-01 03:39:11,541 1140 [INFO ] - Import-Module 'gsudoModule'
2023-10-01 03:39:11,557 1140 [INFO ] - Or run:
2023-10-01 03:39:11,557 1140 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-10-01 03:39:11,572 1140 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-10-01 03:39:11,604 1140 [DEBUG] - ----------------------------------------------------------------------
2023-10-01 03:39:11,604 1140 [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-10-01 03:39:11,620 1140 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-10-01 03:39:11,792 1140 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-10-01 03:39:11,823 1140 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-10-01 03:39:11,838 1140 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-10-01 03:39:11,838 1140 [DEBUG] - * ChocolateyLastPathUpdate='133406051511983714' (User)
2023-10-01 03:39:11,838 1140 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-10-01 03:39:11,854 1140 [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-10-01 03:39:12,011 1140 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-10-01 03:39:12,088 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '80B5FE37EF35FA63BF942E6D4786546D'
2023-10-01 03:39:12,104 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '954BAC92962A15DBF6A2B88400F174A5'
2023-10-01 03:39:12,104 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:12,120 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:12,120 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-10-01 03:39:12,120 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-10-01 03:39:12,135 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-10-01 03:39:12,135 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-10-01 03:39:12,151 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-10-01 03:39:12,151 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '047EA547DD39419D85D76CEDAF62A7A5'
2023-10-01 03:39:12,166 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:12,230 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B0FB8BC1BEA0A36840F1B4141C32F1A5'
2023-10-01 03:39:12,244 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:12,244 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'FA530D2FFB860811911CCBF14BF65172'
2023-10-01 03:39:12,244 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C94489CBEF622DCC52D079C9FEFF8A6E'
2023-10-01 03:39:12,260 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '4D14810FDB5B13FD52B7F7C7D8E405C2'
2023-10-01 03:39:12,260 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '8A06B9FDF47B6FB3A994ADFBBA877C0A'
2023-10-01 03:39:12,276 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:12,355 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '3B066FB4ECE41F5CC1C4EC87254096A1'
2023-10-01 03:39:12,355 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:12,370 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'F58BE0FE3F8C2E1849B9D544409C1448'
2023-10-01 03:39:12,370 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'C6EBE3F7EF44E98CF9977A6FB990B9E9'
2023-10-01 03:39:12,385 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '5DD1E00CDD961449076710AE413CEA18'
2023-10-01 03:39:12,400 1140 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '024DE4B41748BB8AFA3FE5FA60329698'
2023-10-01 03:39:12,479 1140 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive".
2023-10-01 03:39:12,527 1140 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive\.files'
2023-10-01 03:39:12,541 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive\.extra".
2023-10-01 03:39:12,557 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive\.version".
2023-10-01 03:39:12,557 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive\.sxs".
2023-10-01 03:39:12,557 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.4.1-fixnoninteractive\.pin".
2023-10-01 03:39:12,573 1140 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-10-01 03:39:12,573 1140 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-10-01 03:39:12,589 1140 [INFO ] - The install of gsudo was successful.
2023-10-01 03:39:12,604 1140 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-10-01 03:39:12,635 1140 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-10-01 03:39:12,635 1140 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-10-01 03:39:12,651 1140 [DEBUG] - Exiting with 0
2023-10-01 03:39:24,760 5040 [DEBUG] - XmlConfiguration is now operational
2023-10-01 03:39:24,901 5040 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,917 5040 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,917 5040 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,917 5040 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,917 5040 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,932 5040 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,932 5040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,932 5040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,932 5040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-10-01 03:39:24,948 5040 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-10-01 03:39:24,948 5040 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-10-01 03:39:25,901 5040 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,901 5040 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,901 5040 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,901 5040 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,917 5040 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,917 5040 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,917 5040 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,932 5040 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,932 5040 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,932 5040 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-10-01 03:39:25,964 5040 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-10-01 03:39:25,964 5040 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-10-01 03:39:25,979 5040 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-10-01 03:39:25,979 5040 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-10-01 03:39:25,979 5040 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-10-01 03:39:25,979 5040 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-10-01 03:39:25,995 5040 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-10-01 03:39:25,995 5040 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-10-01 03:39:25,995 5040 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-10-01 03:39:26,010 5040 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-10-01 03:39:26,010 5040 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-10-01 03:39:26,010 5040 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-10-01 03:39:26,010 5040 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-10-01 03:39:26,025 5040 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-10-01 03:39:26,025 5040 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-10-01 03:39:26,025 5040 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-10-01 03:39:26,025 5040 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-10-01 03:39:26,041 5040 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-10-01 03:39:26,041 5040 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-10-01 03:39:26,041 5040 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-10-01 03:39:26,323 5040 [INFO ] - ============================================================
2023-10-01 03:39:26,714 5040 [INFO ] - Chocolatey v2.2.2
2023-10-01 03:39:26,745 5040 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-10-01 03:39:26,760 5040 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-10-01 03:39:26,760 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-10-01 03:39:26,792 5040 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.4.1-fixnoninteractive -dvy --execution-timeout=2700
2023-10-01 03:39:26,807 5040 [DEBUG] - Received arguments: uninstall gsudo --version 2.4.1-fixnoninteractive -dvy --execution-timeout=2700
2023-10-01 03:39:26,965 5040 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-10-01 03:39:26,996 5040 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-10-01 03:39:27,027 5040 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-10-01 03:39:27,230 5040 [DEBUG] - Performing validation checks.
2023-10-01 03:39:27,245 5040 [DEBUG] - Global Configuration Validation Checks:
2023-10-01 03:39:27,245 5040 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-10-01 03:39:27,260 5040 [DEBUG] - System State Validation Checks:
2023-10-01 03:39:27,277 5040 [DEBUG] - Reboot Requirement Checks:
2023-10-01 03:39:27,277 5040 [DEBUG] - - Pending Computer Rename = Checked
2023-10-01 03:39:27,291 5040 [DEBUG] - - Pending Component Based Servicing = Checked
2023-10-01 03:39:27,291 5040 [DEBUG] - - Pending Windows Auto Update = Checked
2023-10-01 03:39:27,307 5040 [DEBUG] - - Pending File Rename Operations = Ignored
2023-10-01 03:39:27,307 5040 [DEBUG] - - Pending Windows Package Installer = Checked
2023-10-01 03:39:27,323 5040 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-10-01 03:39:27,339 5040 [DEBUG] - Cache Folder Lockdown Checks:
2023-10-01 03:39:27,339 5040 [DEBUG] - - Elevated State = Checked
2023-10-01 03:39:27,339 5040 [DEBUG] - - Folder Exists = Checked
2023-10-01 03:39:27,355 5040 [DEBUG] - - Folder lockdown = Checked
2023-10-01 03:39:27,369 5040 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-10-01 03:39:27,417 5040 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-10-01 03:39:27,432 5040 [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-10-01 03:39:27,479 5040 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='gsudo'|
Version='2.4.1-fixnoninteractive'|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-UBCCN3FRVDM'|
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-10-01 03:39:27,495 5040 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-10-01 03:39:27,510 5040 [INFO ] - Uninstalling the following packages:
2023-10-01 03:39:27,510 5040 [INFO ] - gsudo
2023-10-01 03:39:27,527 5040 [DEBUG] - Current environment values (may contain sensitive data):
2023-10-01 03:39:27,543 5040 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-10-01 03:39:27,557 5040 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-01 03:39:27,557 5040 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-10-01 03:39:27,557 5040 [DEBUG] - * 'ChocolateyLastPathUpdate'='133406051511983714' ('User')
2023-10-01 03:39:27,573 5040 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-10-01 03:39:27,573 5040 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-10-01 03:39:27,573 5040 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-10-01 03:39:27,589 5040 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-10-01 03:39:27,589 5040 [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-10-01 03:39:27,604 5040 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-10-01 03:39:27,604 5040 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-10-01 03:39:27,604 5040 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-10-01 03:39:27,619 5040 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-10-01 03:39:27,619 5040 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-10-01 03:39:27,635 5040 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-10-01 03:39:27,635 5040 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-10-01 03:39:27,650 5040 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-10-01 03:39:27,650 5040 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-10-01 03:39:27,650 5040 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-10-01 03:39:27,667 5040 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-10-01 03:39:27,682 5040 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-10-01 03:39:27,886 5040 [DEBUG] - Running list with the following filter = ''
2023-10-01 03:39:27,886 5040 [DEBUG] - --- Start of List ---
2023-10-01 03:39:28,119 5040 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-10-01 03:39:28,604 5040 [DEBUG] - chocolatey 2.2.2
2023-10-01 03:39:28,619 5040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-01 03:39:28,698 5040 [DEBUG] - gsudo 2.4.1-fixnoninteractive
2023-10-01 03:39:28,713 5040 [DEBUG] - KB2919355 1.0.20160915
2023-10-01 03:39:28,713 5040 [DEBUG] - KB2919442 1.0.20160915
2023-10-01 03:39:28,729 5040 [DEBUG] - KB2999226 1.0.20181019
2023-10-01 03:39:28,744 5040 [DEBUG] - KB3035131 1.0.3
2023-10-01 03:39:28,744 5040 [DEBUG] - KB3118401 1.0.5
2023-10-01 03:39:28,760 5040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-01 03:39:28,760 5040 [DEBUG] - --- End of List ---
2023-10-01 03:39:28,775 5040 [DEBUG] - Running list with the following filter = ''
2023-10-01 03:39:28,775 5040 [DEBUG] - --- Start of List ---
2023-10-01 03:39:28,807 5040 [DEBUG] - chocolatey 2.2.2
2023-10-01 03:39:28,823 5040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-01 03:39:28,854 5040 [DEBUG] - gsudo 2.4.1-fixnoninteractive
2023-10-01 03:39:28,854 5040 [DEBUG] - KB2919355 1.0.20160915
2023-10-01 03:39:28,870 5040 [DEBUG] - KB2919442 1.0.20160915
2023-10-01 03:39:28,885 5040 [DEBUG] - KB2999226 1.0.20181019
2023-10-01 03:39:28,901 5040 [DEBUG] - KB3035131 1.0.3
2023-10-01 03:39:28,901 5040 [DEBUG] - KB3118401 1.0.5
2023-10-01 03:39:28,916 5040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-01 03:39:28,916 5040 [DEBUG] - --- End of List ---
2023-10-01 03:39:28,980 5040 [DEBUG] - Running list with the following filter = ''
2023-10-01 03:39:28,980 5040 [DEBUG] - --- Start of List ---
2023-10-01 03:39:29,010 5040 [DEBUG] - chocolatey 2.2.2
2023-10-01 03:39:29,010 5040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-10-01 03:39:29,058 5040 [DEBUG] - gsudo 2.4.1-fixnoninteractive
2023-10-01 03:39:29,074 5040 [DEBUG] - KB2919355 1.0.20160915
2023-10-01 03:39:29,089 5040 [DEBUG] - KB2919442 1.0.20160915
2023-10-01 03:39:29,104 5040 [DEBUG] - KB2999226 1.0.20181019
2023-10-01 03:39:29,119 5040 [DEBUG] - KB3035131 1.0.3
2023-10-01 03:39:29,119 5040 [DEBUG] - KB3118401 1.0.5
2023-10-01 03:39:29,135 5040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-10-01 03:39:29,135 5040 [DEBUG] - --- End of List ---
2023-10-01 03:39:29,198 5040 [INFO ] -
gsudo v2.4.1-fixnoninteractive
2023-10-01 03:39:29,229 5040 [DEBUG] - Running beforeModify step for 'gsudo'
2023-10-01 03:39:29,276 5040 [DEBUG] - Setting installer args for gsudo
2023-10-01 03:39:29,292 5040 [DEBUG] - Setting package parameters for gsudo
2023-10-01 03:39:29,292 5040 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-10-01 03:39:29,308 5040 [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-10-01 03:39:29,393 5040 [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-10-01 03:39:29,401 5040 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-10-01 03:39:30,073 5040 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-10-01 03:39:30,527 5040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:30,541 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:30,541 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:30,557 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:30,557 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:30,573 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:30,588 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:30,588 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:30,604 5040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:30,604 5040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:30,620 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:30,620 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:30,635 5040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:30,635 5040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:30,651 5040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:30,651 5040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:30,666 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:30,666 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:30,682 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:30,682 5040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:30,698 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:30,713 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:30,713 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:30,729 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:30,729 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:30,745 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:30,760 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:30,760 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:30,776 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:30,776 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:30,792 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:30,792 5040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:30,807 5040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:30,807 5040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:30,822 5040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:30,822 5040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:30,822 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:30,838 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:30,854 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:30,854 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:30,869 5040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:30,869 5040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:30,885 5040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:30,901 5040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:30,901 5040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:30,901 5040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:30,917 5040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:30,917 5040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:30,932 5040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:30,932 5040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:30,947 5040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:30,980 5040 [DEBUG] - Loading community extensions
2023-10-01 03:39:31,011 5040 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-10-01 03:39:31,027 5040 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-10-01 03:39:31,136 5040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:31,182 5040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:31,182 5040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:31,198 5040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:31,198 5040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:31,214 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:31,214 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:31,229 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:31,229 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:31,245 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:31,245 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:31,260 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:31,276 5040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:31,276 5040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:31,276 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:31,291 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:31,291 5040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:31,307 5040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:31,307 5040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:31,323 5040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:31,323 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:31,370 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:31,370 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:31,385 5040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:31,385 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:31,401 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:31,401 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:31,401 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:31,416 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:31,416 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:31,432 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:31,432 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:31,432 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:31,447 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:31,447 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:31,463 5040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:31,463 5040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:31,479 5040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:31,479 5040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:31,494 5040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:31,510 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:31,510 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:31,525 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:31,525 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:31,541 5040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:31,541 5040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:31,557 5040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:31,557 5040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:31,572 5040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:31,572 5040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:31,588 5040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:31,588 5040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:31,604 5040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:31,604 5040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:31,619 5040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:31,635 5040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:31,635 5040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:31,651 5040 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-10-01 03:39:31,667 5040 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-10-01 03:39:31,667 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:31,699 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-10-01 03:39:31,713 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:31,713 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:31,713 5040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-10-01 03:39:31,729 5040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:31,729 5040 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-10-01 03:39:31,744 5040 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:31,744 5040 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-10-01 03:39:31,760 5040 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:31,760 5040 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-10-01 03:39:31,776 5040 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-10-01 03:39:31,776 5040 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:31,776 5040 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-10-01 03:39:31,791 5040 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-10-01 03:39:31,791 5040 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-10-01 03:39:31,807 5040 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-10-01 03:39:31,807 5040 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-10-01 03:39:31,823 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:31,838 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:31,838 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:31,838 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:31,854 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-10-01 03:39:31,854 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-10-01 03:39:31,870 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:31,870 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:31,886 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:31,901 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:31,901 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:31,901 5040 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-10-01 03:39:31,916 5040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:31,932 5040 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-10-01 03:39:31,932 5040 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-10-01 03:39:31,948 5040 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:31,948 5040 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-10-01 03:39:31,948 5040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:31,963 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-10-01 03:39:31,963 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:31,979 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:31,979 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:31,994 5040 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-10-01 03:39:31,994 5040 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:32,010 5040 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-10-01 03:39:32,026 5040 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-10-01 03:39:32,041 5040 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:32,041 5040 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-10-01 03:39:32,057 5040 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-10-01 03:39:32,057 5040 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:32,072 5040 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-10-01 03:39:32,072 5040 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-10-01 03:39:32,088 5040 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:32,183 5040 [DEBUG] - ---------------------------Script Execution---------------------------
2023-10-01 03:39:32,198 5040 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.1-fixnoninteractive with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-10-01 03:39:32,260 5040 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-10-01 03:39:32,371 5040 [DEBUG] - Running Get-ToolsLocation
2023-10-01 03:39:32,416 5040 [DEBUG] - ----------------------------------------------------------------------
2023-10-01 03:39:32,432 5040 [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-10-01 03:39:32,448 5040 [DEBUG] - Backing up package files for 'gsudo'
2023-10-01 03:39:32,620 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-10-01 03:39:32,620 5040 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\gsudo to C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive
2023-10-01 03:39:32,636 5040 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive'
2023-10-01 03:39:34,666 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-10-01 03:39:34,682 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-10-01 03:39:34,717 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-10-01 03:39:34,717 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-10-01 03:39:34,729 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-10-01 03:39:34,729 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-10-01 03:39:34,744 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-10-01 03:39:34,744 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-10-01 03:39:34,760 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-10-01 03:39:34,776 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-10-01 03:39:34,776 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-10-01 03:39:34,791 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-10-01 03:39:34,808 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-10-01 03:39:34,808 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-10-01 03:39:34,823 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-10-01 03:39:34,839 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-10-01 03:39:34,857 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-10-01 03:39:34,857 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-10-01 03:39:34,871 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-10-01 03:39:34,885 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-10-01 03:39:34,885 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-10-01 03:39:34,901 5040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-10-01 03:39:34,901 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-10-01 03:39:34,916 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-10-01 03:39:34,968 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-10-01 03:39:34,980 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-10-01 03:39:34,980 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-10-01 03:39:34,995 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\Invoke-ElevatedCommand.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-10-01 03:39:35,010 5040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\2.4.1-fixnoninteractive\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-10-01 03:39:36,526 5040 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-10-01 03:39:36,589 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '80B5FE37EF35FA63BF942E6D4786546D'
2023-10-01 03:39:36,589 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '954BAC92962A15DBF6A2B88400F174A5'
2023-10-01 03:39:36,604 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:36,604 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:36,619 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-10-01 03:39:36,619 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-10-01 03:39:36,635 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-10-01 03:39:36,635 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-10-01 03:39:36,650 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-10-01 03:39:36,650 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '047EA547DD39419D85D76CEDAF62A7A5'
2023-10-01 03:39:36,650 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:36,902 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B0FB8BC1BEA0A36840F1B4141C32F1A5'
2023-10-01 03:39:36,917 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:36,917 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'FA530D2FFB860811911CCBF14BF65172'
2023-10-01 03:39:36,933 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C94489CBEF622DCC52D079C9FEFF8A6E'
2023-10-01 03:39:36,933 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '4D14810FDB5B13FD52B7F7C7D8E405C2'
2023-10-01 03:39:36,933 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '8A06B9FDF47B6FB3A994ADFBBA877C0A'
2023-10-01 03:39:36,948 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:37,027 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '3B066FB4ECE41F5CC1C4EC87254096A1'
2023-10-01 03:39:37,027 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-10-01 03:39:37,042 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'F58BE0FE3F8C2E1849B9D544409C1448'
2023-10-01 03:39:37,057 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'C6EBE3F7EF44E98CF9977A6FB990B9E9'
2023-10-01 03:39:37,057 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '5DD1E00CDD961449076710AE413CEA18'
2023-10-01 03:39:37,072 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '024DE4B41748BB8AFA3FE5FA60329698'
2023-10-01 03:39:37,088 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-10-01 03:39:37,088 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-10-01 03:39:37,088 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-10-01 03:39:37,104 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-10-01 03:39:37,119 5040 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-10-01 03:39:37,119 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-10-01 03:39:37,136 5040 [DEBUG] - Removing shim for gsudo.exe at 'C:\ProgramData\chocolatey\bin\gsudo.exe
2023-10-01 03:39:37,136 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\bin\gsudo.exe".
2023-10-01 03:39:37,151 5040 [DEBUG] - Setting installer args for gsudo
2023-10-01 03:39:37,151 5040 [DEBUG] - Setting package parameters for gsudo
2023-10-01 03:39:37,166 5040 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-10-01 03:39:37,166 5040 [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-10-01 03:39:37,182 5040 [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-10-01 03:39:37,229 5040 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-10-01 03:39:37,276 5040 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-10-01 03:39:37,465 5040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:37,480 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:37,480 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:37,495 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:37,495 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:37,510 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:37,510 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:37,526 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:37,526 5040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:37,526 5040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:37,541 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:37,541 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:37,557 5040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:37,557 5040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:37,575 5040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:37,589 5040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:37,589 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:37,604 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:37,604 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:37,620 5040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:37,620 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:37,635 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:37,635 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:37,651 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:37,651 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:37,666 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:37,666 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:37,682 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:37,682 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:37,698 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:37,713 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:37,713 5040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:37,729 5040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:37,729 5040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:37,744 5040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:37,744 5040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:37,744 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:37,761 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:37,775 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:37,775 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:37,775 5040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:37,791 5040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:37,791 5040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:37,807 5040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:37,807 5040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:37,823 5040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:37,823 5040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:37,838 5040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:37,838 5040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:37,854 5040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:37,854 5040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:37,869 5040 [DEBUG] - Loading community extensions
2023-10-01 03:39:37,885 5040 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-10-01 03:39:37,900 5040 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-10-01 03:39:37,917 5040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:37,933 5040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:37,948 5040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:37,948 5040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:37,963 5040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-10-01 03:39:37,963 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-10-01 03:39:37,979 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:37,979 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-10-01 03:39:37,994 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:37,994 5040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:38,010 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-10-01 03:39:38,010 5040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:38,026 5040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-10-01 03:39:38,026 5040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:38,041 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-10-01 03:39:38,041 5040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:38,057 5040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-10-01 03:39:38,057 5040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-10-01 03:39:38,072 5040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:38,072 5040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-10-01 03:39:38,088 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-10-01 03:39:38,088 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-10-01 03:39:38,104 5040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-10-01 03:39:38,104 5040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-10-01 03:39:38,120 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:38,120 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:38,135 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:38,150 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:38,150 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-10-01 03:39:38,150 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-10-01 03:39:38,167 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:38,167 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:38,182 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:38,182 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:38,198 5040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:38,198 5040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-10-01 03:39:38,213 5040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-10-01 03:39:38,213 5040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-10-01 03:39:38,229 5040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:38,229 5040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-10-01 03:39:38,229 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-10-01 03:39:38,244 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:38,244 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:38,260 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:38,260 5040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-10-01 03:39:38,275 5040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:38,275 5040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-10-01 03:39:38,275 5040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-10-01 03:39:38,291 5040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-10-01 03:39:38,291 5040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-10-01 03:39:38,307 5040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:38,307 5040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-10-01 03:39:38,322 5040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-10-01 03:39:38,322 5040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:38,338 5040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:38,338 5040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-10-01 03:39:38,354 5040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-10-01 03:39:38,354 5040 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-10-01 03:39:38,369 5040 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-10-01 03:39:38,369 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-10-01 03:39:38,385 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-10-01 03:39:38,401 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-10-01 03:39:38,401 5040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-10-01 03:39:38,417 5040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-10-01 03:39:38,417 5040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-10-01 03:39:38,432 5040 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-10-01 03:39:38,432 5040 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-10-01 03:39:38,448 5040 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-10-01 03:39:38,448 5040 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-10-01 03:39:38,463 5040 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-10-01 03:39:38,463 5040 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-10-01 03:39:38,479 5040 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-10-01 03:39:38,479 5040 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-10-01 03:39:38,494 5040 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-10-01 03:39:38,494 5040 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-10-01 03:39:38,511 5040 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-10-01 03:39:38,525 5040 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-10-01 03:39:38,525 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:38,541 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-10-01 03:39:38,541 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-10-01 03:39:38,557 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-10-01 03:39:38,573 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-10-01 03:39:38,573 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-10-01 03:39:38,666 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-10-01 03:39:38,682 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-10-01 03:39:38,682 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-10-01 03:39:38,697 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-10-01 03:39:38,713 5040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-10-01 03:39:38,713 5040 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-10-01 03:39:38,713 5040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-10-01 03:39:38,729 5040 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-10-01 03:39:38,729 5040 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-10-01 03:39:38,744 5040 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-10-01 03:39:38,744 5040 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-10-01 03:39:38,760 5040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-10-01 03:39:38,760 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-10-01 03:39:38,760 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-10-01 03:39:38,776 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-10-01 03:39:38,791 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-10-01 03:39:38,791 5040 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-10-01 03:39:38,791 5040 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-10-01 03:39:38,807 5040 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-10-01 03:39:38,807 5040 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-10-01 03:39:38,823 5040 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-10-01 03:39:38,823 5040 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-10-01 03:39:38,838 5040 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-10-01 03:39:38,838 5040 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-10-01 03:39:38,854 5040 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-10-01 03:39:38,854 5040 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-10-01 03:39:38,869 5040 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-10-01 03:39:38,869 5040 [DEBUG] - ---------------------------Script Execution---------------------------
2023-10-01 03:39:38,885 5040 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.4.1-fixnoninteractive with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-10-01 03:39:38,885 5040 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-10-01 03:39:38,918 5040 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-10-01 03:39:38,965 5040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-10-01 03:39:38,979 5040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-10-01 03:39:38,979 5040 [DEBUG] - Running Get-ToolsLocation
2023-10-01 03:39:39,057 5040 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-10-01 03:39:39,089 5040 [DEBUG] - Running Update-SessionEnvironment
2023-10-01 03:39:39,089 5040 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-10-01 03:39:39,713 5040 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-10-01 03:39:39,729 5040 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-10-01 03:39:39,823 5040 [DEBUG] - Test-ProcessAdminRights: returning True
2023-10-01 03:39:39,885 5040 [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-10-01 03:39:39,932 5040 [DEBUG] - Registry type for Path is/will be ExpandString
2023-10-01 03:39:39,965 5040 [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-10-01 03:39:40,276 5040 [DEBUG] - Running Update-SessionEnvironment
2023-10-01 03:39:40,291 5040 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-10-01 03:39:40,527 5040 [DEBUG] - ----------------------------------------------------------------------
2023-10-01 03:39:40,527 5040 [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-10-01 03:39:40,572 5040 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-10-01 03:39:40,589 5040 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-10-01 03:39:40,713 5040 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-10-01 03:39:40,729 5040 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-10-01 03:39:40,761 5040 [DEBUG] - Ensuring removal of installation files.
2023-10-01 03:39:40,809 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '80B5FE37EF35FA63BF942E6D4786546D'
2023-10-01 03:39:40,823 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-10-01 03:39:40,823 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '954BAC92962A15DBF6A2B88400F174A5'
2023-10-01 03:39:40,838 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-10-01 03:39:40,838 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-10-01 03:39:40,854 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-10-01 03:39:40,854 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-10-01 03:39:40,854 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-10-01 03:39:40,870 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-10-01 03:39:40,870 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-10-01 03:39:40,885 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-10-01 03:39:40,885 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-10-01 03:39:40,901 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-10-01 03:39:40,901 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-10-01 03:39:40,901 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '047EA547DD39419D85D76CEDAF62A7A5'
2023-10-01 03:39:40,916 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-10-01 03:39:40,916 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:40,932 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-10-01 03:39:40,980 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'B0FB8BC1BEA0A36840F1B4141C32F1A5'
2023-10-01 03:39:40,996 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-10-01 03:39:41,010 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'FA530D2FFB860811911CCBF14BF65172'
2023-10-01 03:39:41,010 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-10-01 03:39:41,010 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'C94489CBEF622DCC52D079C9FEFF8A6E'
2023-10-01 03:39:41,026 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-10-01 03:39:41,026 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1'
with checksum '4D14810FDB5B13FD52B7F7C7D8E405C2'
2023-10-01 03:39:41,041 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-ElevatedCommand.ps1".
2023-10-01 03:39:41,041 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '8A06B9FDF47B6FB3A994ADFBBA877C0A'
2023-10-01 03:39:41,057 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-10-01 03:39:41,073 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-10-01 03:39:41,073 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-10-01 03:39:41,153 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '3B066FB4ECE41F5CC1C4EC87254096A1'
2023-10-01 03:39:41,153 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-10-01 03:39:41,168 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'F58BE0FE3F8C2E1849B9D544409C1448'
2023-10-01 03:39:41,182 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-10-01 03:39:41,182 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'C6EBE3F7EF44E98CF9977A6FB990B9E9'
2023-10-01 03:39:41,182 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-10-01 03:39:41,197 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1'
with checksum '5DD1E00CDD961449076710AE413CEA18'
2023-10-01 03:39:41,197 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-ElevatedCommand.ps1".
2023-10-01 03:39:41,213 5040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '024DE4B41748BB8AFA3FE5FA60329698'
2023-10-01 03:39:41,213 5040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-10-01 03:39:41,229 5040 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-10-01 03:39:41,229 5040 [INFO ] - gsudo has been successfully uninstalled.
2023-10-01 03:39:41,244 5040 [DEBUG] - Removing nupkg if it still exists.
2023-10-01 03:39:41,244 5040 [DEBUG] - Ensuring removal of installation files.
2023-10-01 03:39:41,276 5040 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-10-01 03:39:41,291 5040 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-10-01 03:39:41,307 5040 [DEBUG] - * ChocolateyLastPathUpdate='133406051802295433' (User)
2023-10-01 03:39:41,307 5040 [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-10-01 03:39:41,340 5040 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-10-01 03:39:41,354 5040 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-10-01 03:39:41,354 5040 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment