Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 18, 2023 00:10
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/550b7e6a4ee3e09a5b6c90b8c2141db7 to your computer and use it in GitHub Desktop.
Save choco-bot/550b7e6a4ee3e09a5b6c90b8c2141db7 to your computer and use it in GitHub Desktop.
gsudo v2.3.0 - Passed - Package Tests Results

gsudo v2.3.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.3.0
  • Tested 18 Jul 2023 00:10:14 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg" checksum="DB399D13118EAFACE0A0794A912D91EB" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="31E6660E5186193DD013F1BF59E5F22C" />
<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="5823FE008AC4C9ABF1B3D67BA22A8069" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="7CFB2F35BE06C7A7C3BF731FDABDC14B" />
<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="45FDE60AD884B7636B858FD11E1F99FD" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="E18DB58B007CBB04732E981636BCC5F2" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="20357C8BA05E4B967093ECF2A9C6DE0A" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="25E4CEE3946D994CDF2323C569A93AA2" />
<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="2CC715AD47B76CA589E202F6F587BC6B" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="F78497EEEB559B92194C6E3129D74D5A" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="4F9844E03518EA2F80093C4941812A22" />
</files>
</fileSnapshot>
2023-07-18 00:09:28,947 2872 [DEBUG] - XmlConfiguration is now operational
2023-07-18 00:09:29,104 2872 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:29,104 2872 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:29,119 2872 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:29,119 2872 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:29,119 2872 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:29,119 2872 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-18 00:09:29,385 2872 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-18 00:09:29,385 2872 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-18 00:09:29,385 2872 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-18 00:09:29,400 2872 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-18 00:09:29,400 2872 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-18 00:09:29,400 2872 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-18 00:09:29,416 2872 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-18 00:09:29,416 2872 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-18 00:09:29,416 2872 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-18 00:09:29,416 2872 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-18 00:09:29,432 2872 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-18 00:09:29,432 2872 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-18 00:09:29,432 2872 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-18 00:09:29,432 2872 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-18 00:09:29,478 2872 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-18 00:09:29,494 2872 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-18 00:09:29,494 2872 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-18 00:09:29,494 2872 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-18 00:09:29,807 2872 [INFO ] - ============================================================
2023-07-18 00:09:30,197 2872 [INFO ] - Chocolatey v1.3.0
2023-07-18 00:09:30,213 2872 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-18 00:09:30,229 2872 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-18 00:09:30,244 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-18 00:09:30,260 2872 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.3.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-18 00:09:30,260 2872 [DEBUG] - Received arguments: install gsudo --version 2.3.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-18 00:09:30,463 2872 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-18 00:09:30,495 2872 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-18 00:09:30,525 2872 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-18 00:09:30,714 2872 [DEBUG] - Performing validation checks.
2023-07-18 00:09:30,728 2872 [DEBUG] - Global Configuration Validation Checks:
2023-07-18 00:09:30,728 2872 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-18 00:09:30,745 2872 [DEBUG] - System State Validation Checks:
2023-07-18 00:09:30,760 2872 [DEBUG] - Reboot Requirement Checks:
2023-07-18 00:09:30,775 2872 [DEBUG] - - Pending Computer Rename = Checked
2023-07-18 00:09:30,792 2872 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-18 00:09:30,792 2872 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-18 00:09:30,806 2872 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-18 00:09:30,806 2872 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-18 00:09:30,822 2872 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-18 00:09:30,839 2872 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-18 00:09:30,916 2872 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-18 00:09:30,916 2872 [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-07-18 00:09:30,979 2872 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='gsudo'|
Version='2.3.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-O1NBU424698'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-18 00:09:30,994 2872 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-18 00:09:31,026 2872 [INFO ] - Installing the following packages:
2023-07-18 00:09:31,026 2872 [INFO ] - gsudo
2023-07-18 00:09:31,042 2872 [INFO ] - By installing, you accept licenses for the packages.
2023-07-18 00:09:31,057 2872 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-18 00:09:31,073 2872 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-18 00:09:31,088 2872 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-18 00:09:31,088 2872 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-18 00:09:31,104 2872 [DEBUG] - * 'ChocolateyLastPathUpdate'='133340723152818450' ('User')
2023-07-18 00:09:31,104 2872 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-18 00:09:31,119 2872 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-18 00:09:31,119 2872 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-18 00:09:31,134 2872 [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-07-18 00:09:31,134 2872 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-18 00:09:31,150 2872 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-18 00:09:31,150 2872 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-18 00:09:31,150 2872 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-18 00:09:31,166 2872 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-18 00:09:31,166 2872 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-18 00:09:31,181 2872 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-18 00:09:31,198 2872 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-18 00:09:31,198 2872 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-18 00:09:31,213 2872 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-18 00:09:31,213 2872 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-18 00:09:31,229 2872 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-18 00:09:35,353 2872 [INFO ] - [NuGet] Installing 'gsudo 2.3.0'.
2023-07-18 00:09:35,400 2872 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'gsudo\tools'.
2023-07-18 00:09:35,416 2872 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,434 2872 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'gsudo\tools'.
2023-07-18 00:09:35,447 2872 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,447 2872 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'gsudo\tools'.
2023-07-18 00:09:35,463 2872 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,463 2872 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'gsudo\tools'.
2023-07-18 00:09:35,478 2872 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,494 2872 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyPath.psm1' to folder 'gsudo\tools'.
2023-07-18 00:09:35,541 2872 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,541 2872 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'gsudo\tools'.
2023-07-18 00:09:35,557 2872 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,557 2872 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,572 2872 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,588 2872 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,588 2872 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,603 2872 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x64'.
2023-07-18 00:09:35,634 2872 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x86'.
2023-07-18 00:09:35,634 2872 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-18 00:09:35,634 2872 [DEBUG] - [NuGet] Added file 'sudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-18 00:09:35,682 2872 [DEBUG] - [NuGet] Added file 'gsudo.nupkg' to folder 'gsudo'.
2023-07-18 00:09:36,042 2872 [DEBUG] - [NuGet] Added file 'gsudo.nuspec' to folder 'gsudo'.
2023-07-18 00:09:36,042 2872 [INFO ] - [NuGet] Successfully installed 'gsudo 2.3.0'.
2023-07-18 00:09:36,057 2872 [INFO ] -
gsudo v2.3.0 (forced)
2023-07-18 00:09:36,090 2872 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-07-18 00:09:36,167 2872 [DEBUG] - Setting installer args for gsudo
2023-07-18 00:09:36,182 2872 [DEBUG] - Setting package parameters for gsudo
2023-07-18 00:09:36,182 2872 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-07-18 00:09:36,214 2872 [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-07-18 00:09:36,292 2872 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:09:36,307 2872 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-18 00:09:37,214 2872 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-18 00:09:37,728 2872 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:09:37,744 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:09:37,760 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:09:37,760 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:09:37,776 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:09:37,776 2872 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:09:37,791 2872 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:09:37,791 2872 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:09:37,807 2872 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:09:37,807 2872 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:09:37,825 2872 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:09:37,838 2872 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:09:37,838 2872 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:09:37,854 2872 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:09:37,854 2872 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:09:37,870 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:09:37,870 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:09:37,885 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:09:37,900 2872 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:09:37,900 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:37,916 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:09:37,994 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:09:38,010 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:09:38,025 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:09:38,057 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:09:38,088 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:09:38,151 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:09:38,166 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:09:38,198 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:09:38,228 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:09:38,244 2872 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:09:38,275 2872 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:09:38,306 2872 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:09:38,339 2872 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:09:38,354 2872 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:09:38,354 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:09:38,369 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:38,385 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:09:38,385 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:09:38,400 2872 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:09:38,416 2872 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:09:38,416 2872 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:09:38,431 2872 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:09:38,447 2872 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:09:38,447 2872 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:09:38,465 2872 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:09:38,465 2872 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:09:38,479 2872 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:09:38,479 2872 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:09:38,494 2872 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:09:38,541 2872 [DEBUG] - Loading community extensions
2023-07-18 00:09:38,588 2872 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-18 00:09:38,588 2872 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-18 00:09:38,714 2872 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:09:38,729 2872 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:09:38,744 2872 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:09:38,744 2872 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:09:38,760 2872 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:09:38,760 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:09:38,776 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:09:38,776 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:09:38,791 2872 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:09:38,791 2872 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:09:38,807 2872 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:09:38,807 2872 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:09:38,839 2872 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:09:38,854 2872 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:09:38,854 2872 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:09:38,869 2872 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:09:38,869 2872 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:09:38,885 2872 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:09:38,885 2872 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:09:38,901 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:09:38,901 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:09:38,916 2872 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:09:38,916 2872 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:09:38,932 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:38,947 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:09:38,947 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:09:38,947 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:09:38,963 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:09:38,979 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:09:38,979 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:09:38,994 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:09:38,994 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:09:39,010 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:09:39,026 2872 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:09:39,026 2872 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:09:39,041 2872 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:09:39,041 2872 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:09:39,057 2872 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:09:39,057 2872 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:09:39,072 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:09:39,072 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:39,088 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:09:39,088 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:09:39,104 2872 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:09:39,119 2872 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:09:39,119 2872 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:09:39,119 2872 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:09:39,135 2872 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:09:39,150 2872 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:09:39,150 2872 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:09:39,150 2872 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:09:39,166 2872 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:09:39,182 2872 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:09:39,182 2872 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:09:39,197 2872 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:09:39,197 2872 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:09:39,213 2872 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-18 00:09:39,228 2872 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-18 00:09:39,228 2872 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-18 00:09:39,244 2872 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-18 00:09:39,244 2872 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-18 00:09:39,244 2872 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-18 00:09:39,260 2872 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-18 00:09:39,275 2872 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-18 00:09:39,275 2872 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-18 00:09:39,275 2872 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-18 00:09:39,291 2872 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:09:39,307 2872 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-18 00:09:39,307 2872 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-18 00:09:39,322 2872 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-18 00:09:39,322 2872 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-18 00:09:39,338 2872 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-18 00:09:39,354 2872 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-18 00:09:39,354 2872 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-18 00:09:39,369 2872 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-18 00:09:39,369 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:39,385 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:09:39,385 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:09:39,400 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:09:39,416 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-18 00:09:39,416 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-18 00:09:39,432 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:09:39,432 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:09:39,448 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-18 00:09:39,448 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:09:39,448 2872 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-18 00:09:39,464 2872 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-18 00:09:39,479 2872 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:09:39,479 2872 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-18 00:09:39,494 2872 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-18 00:09:39,494 2872 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:09:39,510 2872 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-18 00:09:39,510 2872 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:09:39,526 2872 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-18 00:09:39,526 2872 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:09:39,541 2872 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:09:39,541 2872 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:09:39,557 2872 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-18 00:09:39,557 2872 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-18 00:09:39,573 2872 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-18 00:09:39,573 2872 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-18 00:09:39,588 2872 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-18 00:09:39,588 2872 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-18 00:09:39,604 2872 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-18 00:09:39,604 2872 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:09:39,619 2872 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-18 00:09:39,619 2872 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-18 00:09:39,635 2872 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-18 00:09:39,745 2872 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-18 00:09:39,791 2872 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-18 00:09:39,885 2872 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-07-18 00:09:39,932 2872 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-18 00:09:39,947 2872 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-18 00:09:39,947 2872 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-18 00:09:40,026 2872 [DEBUG] - Running Get-ToolsLocation
2023-07-18 00:09:40,183 2872 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-07-18 00:09:40,260 2872 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-07-18 00:09:40,323 2872 [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-07-18 00:09:40,885 2872 [DEBUG] - Running Update-SessionEnvironment
2023-07-18 00:09:40,900 2872 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-18 00:09:41,604 2872 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-18 00:09:41,949 2872 [DEBUG] - Running Update-SessionEnvironment
2023-07-18 00:09:41,963 2872 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-18 00:09:42,167 2872 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-07-18 00:09:42,167 2872 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-18 00:09:42,277 2872 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-18 00:09:42,277 2872 [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-07-18 00:09:42,311 2872 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-18 00:09:42,385 2872 [DEBUG] - Running Update-SessionEnvironment
2023-07-18 00:09:42,385 2872 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-18 00:09:42,776 2872 [INFO ] - symbolic link created for C:\tools\gsudo\v2.3.0\sudo.exe <<===>> C:\tools\gsudo\v2.3.0\gsudo.exe
2023-07-18 00:09:42,776 2872 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\gsudoModule
2023-07-18 00:09:42,854 2872 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.3.0\
2023-07-18 00:09:42,870 2872 [INFO ] -
2023-07-18 00:09:42,885 2872 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-07-18 00:09:42,885 2872 [INFO ] - Import-Module 'gsudoModule'
2023-07-18 00:09:42,901 2872 [INFO ] - Or run:
2023-07-18 00:09:42,901 2872 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-07-18 00:09:42,916 2872 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-07-18 00:09:42,948 2872 [DEBUG] - ----------------------------------------------------------------------
2023-07-18 00:09:42,964 2872 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:09:42,978 2872 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-18 00:09:43,089 2872 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-18 00:09:43,136 2872 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-18 00:09:43,136 2872 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-18 00:09:43,150 2872 [DEBUG] - * ChocolateyLastPathUpdate='133341125823385705' (User)
2023-07-18 00:09:43,150 2872 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-07-18 00:09:43,166 2872 [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-07-18 00:09:43,338 2872 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-18 00:09:43,401 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'DB399D13118EAFACE0A0794A912D91EB'
2023-07-18 00:09:43,401 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '31E6660E5186193DD013F1BF59E5F22C'
2023-07-18 00:09:43,416 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:09:43,416 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:09:43,432 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-18 00:09:43,432 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-07-18 00:09:43,447 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-18 00:09:43,447 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-18 00:09:43,447 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-18 00:09:43,463 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '5823FE008AC4C9ABF1B3D67BA22A8069'
2023-07-18 00:09:43,463 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-18 00:09:43,526 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '7CFB2F35BE06C7A7C3BF731FDABDC14B'
2023-07-18 00:09:43,526 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:09:43,541 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '45FDE60AD884B7636B858FD11E1F99FD'
2023-07-18 00:09:43,557 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'E18DB58B007CBB04732E981636BCC5F2'
2023-07-18 00:09:43,557 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '20357C8BA05E4B967093ECF2A9C6DE0A'
2023-07-18 00:09:43,557 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-18 00:09:43,635 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '25E4CEE3946D994CDF2323C569A93AA2'
2023-07-18 00:09:43,651 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:09:43,651 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '2CC715AD47B76CA589E202F6F587BC6B'
2023-07-18 00:09:43,666 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'F78497EEEB559B92194C6E3129D74D5A'
2023-07-18 00:09:43,666 2872 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '4F9844E03518EA2F80093C4941812A22'
2023-07-18 00:09:43,745 2872 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0".
2023-07-18 00:09:43,776 2872 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0\.files'
2023-07-18 00:09:43,791 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0\.extra".
2023-07-18 00:09:43,838 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0\.version".
2023-07-18 00:09:43,854 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0\.sxs".
2023-07-18 00:09:43,854 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.3.0\.pin".
2023-07-18 00:09:43,916 2872 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-18 00:09:43,932 2872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-07-18 00:09:43,948 2872 [INFO ] - The install of gsudo was successful.
2023-07-18 00:09:43,948 2872 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-07-18 00:09:43,963 2872 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\gsudo.2.3.0.nupkg".
2023-07-18 00:09:43,995 2872 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-18 00:09:44,010 2872 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-18 00:09:44,058 2872 [DEBUG] - Exiting with 0
2023-07-18 00:09:56,746 2096 [DEBUG] - XmlConfiguration is now operational
2023-07-18 00:09:56,902 2096 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:56,902 2096 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:56,902 2096 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:56,917 2096 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:56,917 2096 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-18 00:09:56,917 2096 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-18 00:09:57,215 2096 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-18 00:09:57,215 2096 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-18 00:09:57,215 2096 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-18 00:09:57,229 2096 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-18 00:09:57,229 2096 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-18 00:09:57,229 2096 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-18 00:09:57,244 2096 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-18 00:09:57,244 2096 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-18 00:09:57,244 2096 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-18 00:09:57,244 2096 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-18 00:09:57,260 2096 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-18 00:09:57,260 2096 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-18 00:09:57,260 2096 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-18 00:09:57,260 2096 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-18 00:09:57,276 2096 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-18 00:09:57,276 2096 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-18 00:09:57,276 2096 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-18 00:09:57,291 2096 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-18 00:09:57,620 2096 [INFO ] - ============================================================
2023-07-18 00:09:58,011 2096 [INFO ] - Chocolatey v1.3.0
2023-07-18 00:09:58,058 2096 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-18 00:09:58,058 2096 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-18 00:09:58,073 2096 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-18 00:09:58,088 2096 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.3.0 -dvy --execution-timeout=2700
2023-07-18 00:09:58,104 2096 [DEBUG] - Received arguments: uninstall gsudo --version 2.3.0 -dvy --execution-timeout=2700
2023-07-18 00:09:58,276 2096 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-18 00:09:58,307 2096 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-18 00:09:58,323 2096 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-18 00:09:58,511 2096 [DEBUG] - Performing validation checks.
2023-07-18 00:09:58,511 2096 [DEBUG] - Global Configuration Validation Checks:
2023-07-18 00:09:58,526 2096 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-18 00:09:58,542 2096 [DEBUG] - System State Validation Checks:
2023-07-18 00:09:58,542 2096 [DEBUG] - Reboot Requirement Checks:
2023-07-18 00:09:58,557 2096 [DEBUG] - - Pending Computer Rename = Checked
2023-07-18 00:09:58,573 2096 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-18 00:09:58,573 2096 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-18 00:09:58,588 2096 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-18 00:09:58,605 2096 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-18 00:09:58,605 2096 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-18 00:09:58,620 2096 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-18 00:09:58,682 2096 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-18 00:09:58,682 2096 [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-07-18 00:09:58,729 2096 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='gsudo'|
Version='2.3.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-O1NBU424698'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='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'|
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.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-18 00:09:58,760 2096 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-18 00:09:58,776 2096 [INFO ] - Uninstalling the following packages:
2023-07-18 00:09:58,792 2096 [INFO ] - gsudo
2023-07-18 00:09:58,807 2096 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-18 00:09:58,807 2096 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-18 00:09:58,823 2096 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-18 00:09:58,823 2096 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-18 00:09:58,838 2096 [DEBUG] - * 'ChocolateyLastPathUpdate'='133341125823385705' ('User')
2023-07-18 00:09:58,838 2096 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-07-18 00:09:58,854 2096 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-18 00:09:58,854 2096 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-18 00:09:58,870 2096 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-18 00:09:58,885 2096 [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-07-18 00:09:58,885 2096 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-18 00:09:58,901 2096 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-18 00:09:58,901 2096 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-18 00:09:58,917 2096 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-18 00:09:58,917 2096 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-18 00:09:58,932 2096 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-18 00:09:58,949 2096 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-18 00:09:58,949 2096 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-18 00:09:58,949 2096 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-18 00:09:58,963 2096 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-18 00:09:58,963 2096 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-18 00:09:58,980 2096 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-18 00:09:59,119 2096 [DEBUG] - Running list with the following filter = ''
2023-07-18 00:09:59,135 2096 [DEBUG] - --- Start of List ---
2023-07-18 00:09:59,526 2096 [DEBUG] - gsudo 2.3.0
2023-07-18 00:09:59,542 2096 [DEBUG] - --- End of List ---
2023-07-18 00:09:59,715 2096 [DEBUG] - Setting installer args for gsudo
2023-07-18 00:09:59,715 2096 [DEBUG] - Setting package parameters for gsudo
2023-07-18 00:09:59,730 2096 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-07-18 00:09:59,745 2096 [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-07-18 00:09:59,823 2096 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:09:59,839 2096 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-18 00:10:00,557 2096 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-18 00:10:01,183 2096 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:10:01,198 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:10:01,198 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:10:01,213 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:01,213 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:01,230 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:10:01,245 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:01,245 2096 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:10:01,260 2096 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:01,276 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:10:01,276 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:01,291 2096 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:10:01,307 2096 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:10:01,307 2096 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:01,327 2096 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:10:01,340 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:10:01,354 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:10:01,354 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:10:01,370 2096 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:10:01,370 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:01,385 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:01,416 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:01,416 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:01,432 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:10:01,451 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:10:01,466 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:01,466 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:01,479 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:01,479 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:01,494 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:01,510 2096 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:10:01,510 2096 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:10:01,526 2096 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:10:01,526 2096 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:01,541 2096 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:10:01,541 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:10:01,557 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:01,557 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:01,573 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:01,573 2096 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:10:01,588 2096 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:01,620 2096 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:10:01,667 2096 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:10:01,682 2096 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:01,698 2096 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:10:01,698 2096 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:10:01,713 2096 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:01,713 2096 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:01,729 2096 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:10:01,729 2096 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:10:01,776 2096 [DEBUG] - Loading community extensions
2023-07-18 00:10:01,811 2096 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-18 00:10:01,824 2096 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-18 00:10:01,980 2096 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:10:01,980 2096 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:10:01,996 2096 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:10:01,996 2096 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:10:02,011 2096 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:10:02,011 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:10:02,026 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:10:02,026 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:02,041 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:02,041 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:10:02,058 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:02,058 2096 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:10:02,073 2096 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:02,073 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:10:02,088 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:02,088 2096 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:10:02,104 2096 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:10:02,104 2096 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:02,120 2096 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:10:02,120 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:10:02,135 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:10:02,135 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:10:02,151 2096 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:10:02,151 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:02,151 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:02,167 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:02,167 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:02,182 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:10:02,198 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:10:02,198 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:02,214 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:02,214 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:02,229 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:02,229 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:02,245 2096 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:10:02,261 2096 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:10:02,261 2096 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:10:02,276 2096 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:02,276 2096 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:10:02,292 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:10:02,292 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:02,307 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:02,307 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:02,323 2096 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:10:02,323 2096 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:02,339 2096 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:10:02,354 2096 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:10:02,354 2096 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:10:02,354 2096 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:10:02,370 2096 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:02,386 2096 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:10:02,386 2096 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:10:02,401 2096 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:02,401 2096 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:02,417 2096 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:10:02,433 2096 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:10:02,433 2096 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-18 00:10:02,448 2096 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-18 00:10:02,448 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-18 00:10:02,464 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:02,479 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:02,479 2096 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-18 00:10:02,495 2096 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:02,511 2096 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-18 00:10:02,511 2096 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:02,526 2096 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-18 00:10:02,542 2096 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:02,542 2096 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-18 00:10:02,557 2096 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-18 00:10:02,557 2096 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:02,573 2096 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-18 00:10:02,573 2096 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-18 00:10:02,588 2096 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-18 00:10:02,604 2096 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-18 00:10:02,604 2096 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-18 00:10:02,604 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:02,620 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:02,620 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:02,635 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:02,635 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-18 00:10:02,651 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-18 00:10:02,666 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:02,666 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:02,682 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:02,698 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:02,698 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:02,714 2096 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-18 00:10:02,714 2096 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:10:02,730 2096 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-18 00:10:02,730 2096 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-18 00:10:02,745 2096 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:02,761 2096 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-18 00:10:02,761 2096 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:10:02,776 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-18 00:10:02,776 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:02,839 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:02,854 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:02,854 2096 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-18 00:10:02,870 2096 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:02,870 2096 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-18 00:10:02,885 2096 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-18 00:10:02,901 2096 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:02,901 2096 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-18 00:10:02,916 2096 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-18 00:10:02,916 2096 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:02,932 2096 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-18 00:10:02,932 2096 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-18 00:10:02,948 2096 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:03,058 2096 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-18 00:10:03,073 2096 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-18 00:10:03,151 2096 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-07-18 00:10:03,277 2096 [DEBUG] - Running Get-ToolsLocation
2023-07-18 00:10:03,338 2096 [DEBUG] - ----------------------------------------------------------------------
2023-07-18 00:10:03,355 2096 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:10:03,543 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-18 00:10:03,543 2096 [DEBUG] - Backing up existing gsudo prior to operation.
2023-07-18 00:10:03,557 2096 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo'
2023-07-18 00:10:05,590 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-07-18 00:10:05,590 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-07-18 00:10:05,621 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-07-18 00:10:05,636 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-07-18 00:10:05,636 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-07-18 00:10:05,651 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-07-18 00:10:05,666 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-07-18 00:10:05,666 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-07-18 00:10:05,683 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-07-18 00:10:05,683 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-07-18 00:10:05,698 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-07-18 00:10:05,713 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-07-18 00:10:05,713 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-07-18 00:10:05,729 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-07-18 00:10:05,744 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-07-18 00:10:05,744 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-07-18 00:10:05,760 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-07-18 00:10:05,776 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-07-18 00:10:05,792 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-07-18 00:10:05,808 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-07-18 00:10:05,808 2096 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-07-18 00:10:05,823 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-07-18 00:10:05,839 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-07-18 00:10:05,871 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-07-18 00:10:05,871 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-07-18 00:10:05,886 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-07-18 00:10:05,963 2096 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-07-18 00:10:07,511 2096 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-18 00:10:07,558 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'DB399D13118EAFACE0A0794A912D91EB'
2023-07-18 00:10:07,558 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '31E6660E5186193DD013F1BF59E5F22C'
2023-07-18 00:10:07,573 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:10:07,573 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:10:07,589 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-18 00:10:07,589 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'A0247D5C52C7C707343E023100E25CFC'
2023-07-18 00:10:07,604 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-18 00:10:07,604 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-18 00:10:07,620 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-18 00:10:07,620 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '5823FE008AC4C9ABF1B3D67BA22A8069'
2023-07-18 00:10:07,636 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-18 00:10:07,730 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '7CFB2F35BE06C7A7C3BF731FDABDC14B'
2023-07-18 00:10:07,730 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:10:07,745 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '45FDE60AD884B7636B858FD11E1F99FD'
2023-07-18 00:10:07,745 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum 'E18DB58B007CBB04732E981636BCC5F2'
2023-07-18 00:10:07,760 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '20357C8BA05E4B967093ECF2A9C6DE0A'
2023-07-18 00:10:07,776 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-18 00:10:07,854 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '25E4CEE3946D994CDF2323C569A93AA2'
2023-07-18 00:10:07,854 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-18 00:10:07,854 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '2CC715AD47B76CA589E202F6F587BC6B'
2023-07-18 00:10:07,870 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum 'F78497EEEB559B92194C6E3129D74D5A'
2023-07-18 00:10:07,870 2096 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '4F9844E03518EA2F80093C4941812A22'
2023-07-18 00:10:08,808 2096 [INFO ] - [NuGet] Uninstalling 'gsudo 2.3.0'.
2023-07-18 00:10:08,823 2096 [INFO ] -
gsudo v2.3.0
2023-07-18 00:10:09,042 2096 [DEBUG] - Setting installer args for gsudo
2023-07-18 00:10:09,042 2096 [DEBUG] - Setting package parameters for gsudo
2023-07-18 00:10:09,042 2096 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-07-18 00:10:09,058 2096 [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-07-18 00:10:09,073 2096 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:10:09,136 2096 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-18 00:10:09,245 2096 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-18 00:10:09,417 2096 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:10:09,417 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:10:09,432 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:10:09,432 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:09,448 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:09,448 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:10:09,463 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:09,463 2096 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:10:09,463 2096 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:09,479 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:10:09,479 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:09,495 2096 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:10:09,495 2096 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:10:09,511 2096 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:09,511 2096 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:10:09,526 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:10:09,526 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:10:09,543 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:10:09,558 2096 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:10:09,558 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:09,573 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:09,573 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:09,588 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:09,588 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:10:09,604 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:10:09,604 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:09,620 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:09,620 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:09,635 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:09,651 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:09,651 2096 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:10:09,667 2096 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:10:09,667 2096 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:10:09,682 2096 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:09,682 2096 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:10:09,698 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:10:09,698 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:09,714 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:09,729 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:09,729 2096 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:10:09,744 2096 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:09,744 2096 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:10:09,744 2096 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:10:09,760 2096 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:09,776 2096 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:10:09,776 2096 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:10:09,792 2096 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:09,792 2096 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:09,807 2096 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:10:09,823 2096 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:10:09,823 2096 [DEBUG] - Loading community extensions
2023-07-18 00:10:09,839 2096 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-18 00:10:09,855 2096 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-18 00:10:09,886 2096 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:10:09,901 2096 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:10:09,901 2096 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:10:09,917 2096 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:10:09,917 2096 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-18 00:10:09,932 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-18 00:10:09,932 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-18 00:10:09,948 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:09,948 2096 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:09,963 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-18 00:10:09,963 2096 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:09,979 2096 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-18 00:10:09,979 2096 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:09,979 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-18 00:10:09,995 2096 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:09,995 2096 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-18 00:10:10,011 2096 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-18 00:10:10,026 2096 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:10,026 2096 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-18 00:10:10,042 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-18 00:10:10,042 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-18 00:10:10,057 2096 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-18 00:10:10,057 2096 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-18 00:10:10,073 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:10,073 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:10,089 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:10,089 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:10,105 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-18 00:10:10,105 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-18 00:10:10,120 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:10,120 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:10,135 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:10,135 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:10,151 2096 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:10,151 2096 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-18 00:10:10,151 2096 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-18 00:10:10,167 2096 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-18 00:10:10,182 2096 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:10,182 2096 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-18 00:10:10,198 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-18 00:10:10,214 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:10,214 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:10,214 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:10,229 2096 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-18 00:10:10,229 2096 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:10,245 2096 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-18 00:10:10,245 2096 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-18 00:10:10,260 2096 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-18 00:10:10,292 2096 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-18 00:10:10,292 2096 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:10,292 2096 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-18 00:10:10,307 2096 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-18 00:10:10,307 2096 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:10,323 2096 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:10,323 2096 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-18 00:10:10,338 2096 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-18 00:10:10,338 2096 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-18 00:10:10,354 2096 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-18 00:10:10,354 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-18 00:10:10,370 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-18 00:10:10,386 2096 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-18 00:10:10,386 2096 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-18 00:10:10,401 2096 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-18 00:10:10,401 2096 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-18 00:10:10,416 2096 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-18 00:10:10,416 2096 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-18 00:10:10,433 2096 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-18 00:10:10,433 2096 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-18 00:10:10,448 2096 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-18 00:10:10,448 2096 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-18 00:10:10,463 2096 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-18 00:10:10,463 2096 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-18 00:10:10,479 2096 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-18 00:10:10,479 2096 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-18 00:10:10,495 2096 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-18 00:10:10,495 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:10,510 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-18 00:10:10,510 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-18 00:10:10,526 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-18 00:10:10,526 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-18 00:10:10,542 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-18 00:10:10,542 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-18 00:10:10,557 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-18 00:10:10,573 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-18 00:10:10,573 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-18 00:10:10,588 2096 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-18 00:10:10,588 2096 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-18 00:10:10,604 2096 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-18 00:10:10,604 2096 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-18 00:10:10,620 2096 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-18 00:10:10,635 2096 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-18 00:10:10,635 2096 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-18 00:10:10,635 2096 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-18 00:10:10,651 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-18 00:10:10,667 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-18 00:10:10,667 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-18 00:10:10,682 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-18 00:10:10,682 2096 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-18 00:10:10,698 2096 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-18 00:10:10,698 2096 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-18 00:10:10,714 2096 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-18 00:10:10,730 2096 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-18 00:10:10,745 2096 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-18 00:10:10,745 2096 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-18 00:10:10,761 2096 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-18 00:10:10,761 2096 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-18 00:10:10,776 2096 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-18 00:10:10,776 2096 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-18 00:10:10,792 2096 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-18 00:10:10,808 2096 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.3.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-18 00:10:10,823 2096 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-07-18 00:10:10,839 2096 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-18 00:10:10,855 2096 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-18 00:10:10,870 2096 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-18 00:10:10,870 2096 [DEBUG] - Running Get-ToolsLocation
2023-07-18 00:10:10,948 2096 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-18 00:10:10,997 2096 [DEBUG] - Running Update-SessionEnvironment
2023-07-18 00:10:11,010 2096 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-18 00:10:11,870 2096 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-07-18 00:10:11,870 2096 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-18 00:10:11,965 2096 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-18 00:10:12,057 2096 [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-07-18 00:10:12,105 2096 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-18 00:10:12,151 2096 [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-07-18 00:10:12,558 2096 [DEBUG] - Running Update-SessionEnvironment
2023-07-18 00:10:12,573 2096 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-18 00:10:12,824 2096 [DEBUG] - ----------------------------------------------------------------------
2023-07-18 00:10:12,839 2096 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & 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-07-18 00:10:12,885 2096 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-18 00:10:12,901 2096 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-18 00:10:13,026 2096 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-18 00:10:13,042 2096 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-07-18 00:10:13,120 2096 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,120 2096 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,135 2096 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,151 2096 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,167 2096 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,184 2096 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,198 2096 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-18 00:10:13,198 2096 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,262 2096 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,262 2096 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,277 2096 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,292 2096 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,292 2096 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,323 2096 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-18 00:10:13,323 2096 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,339 2096 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,339 2096 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,354 2096 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,354 2096 [DEBUG] - [NuGet] Removed file 'Uninstall-ChocolateyPath.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,370 2096 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,370 2096 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-18 00:10:13,386 2096 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-18 00:10:13,401 2096 [DEBUG] - [NuGet] Removed file 'sudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-18 00:10:13,401 2096 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-18 00:10:13,417 2096 [DEBUG] - [NuGet] Removed file 'gsudo.nuspec' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-18 00:10:13,417 2096 [DEBUG] - [NuGet] Removed file 'gsudo.nupkg' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-18 00:10:13,433 2096 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-18 00:10:13,433 2096 [INFO ] - [NuGet] Successfully uninstalled 'gsudo 2.3.0'.
2023-07-18 00:10:13,448 2096 [INFO ] - gsudo has been successfully uninstalled.
2023-07-18 00:10:13,465 2096 [DEBUG] - Removing nupkg if it still exists.
2023-07-18 00:10:13,479 2096 [DEBUG] - Ensuring removal of installation files.
2023-07-18 00:10:13,479 2096 [DEBUG] - Ensuring removal of package cache files.
2023-07-18 00:10:13,511 2096 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-18 00:10:13,511 2096 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-18 00:10:13,526 2096 [DEBUG] - * ChocolateyLastPathUpdate='133341126124801425' (User)
2023-07-18 00:10:13,526 2096 [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-07-18 00:10:13,559 2096 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-18 00:10:13,573 2096 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-18 00:10:13,620 2096 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment