Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 4, 2023 19:22
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/df0eb32b2ec41ada4edf3fb7402ebef0 to your computer and use it in GitHub Desktop.
Save choco-bot/df0eb32b2ec41ada4edf3fb7402ebef0 to your computer and use it in GitHub Desktop.
gsudo v2.0.10 - Passed - Package Tests Results

gsudo v2.0.10 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.0.10
  • Tested 04 Jun 2023 19:22:39 +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="C22BA089C94B78890737BABFE01B80F0" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="44BD28085C65817E8CBDF20E7CA5117C" />
<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="E75B7844020C282C59A9CCA59F7BD22F" />
<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="7C450BC78F84A03A67A916C95F50B835" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="D6E78221A76CD8FF8674C60D3787AD2A" />
<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="B12B65BF6167C963A9072447C0AD3CD8" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="99A1A8DBC9AB6EDCE19CC11FE2229D02" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="700055473FFA56144287E2542345A578" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="4904A73045E65DCB661BA9793E39FBD2" />
<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="B12B65BF6167C963A9072447C0AD3CD8" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="99A1A8DBC9AB6EDCE19CC11FE2229D02" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="3E6010817192EF1374D9772D3362E0EB" />
</files>
</fileSnapshot>
2023-06-04 19:21:56,974 4496 [DEBUG] - XmlConfiguration is now operational
2023-06-04 19:21:57,132 4496 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:21:57,132 4496 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:21:57,146 4496 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:21:57,146 4496 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:21:57,146 4496 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:21:57,146 4496 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-04 19:21:57,444 4496 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-04 19:21:57,444 4496 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-04 19:21:57,444 4496 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-04 19:21:57,459 4496 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-04 19:21:57,459 4496 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-04 19:21:57,459 4496 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-04 19:21:57,474 4496 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-04 19:21:57,474 4496 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-04 19:21:57,474 4496 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-04 19:21:57,490 4496 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-04 19:21:57,490 4496 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-04 19:21:57,490 4496 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-04 19:21:57,507 4496 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-04 19:21:57,507 4496 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-04 19:21:57,521 4496 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-04 19:21:57,521 4496 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-04 19:21:57,521 4496 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-04 19:21:57,521 4496 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-04 19:21:57,819 4496 [INFO ] - ============================================================
2023-06-04 19:21:58,209 4496 [INFO ] - Chocolatey v1.3.0
2023-06-04 19:21:58,256 4496 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-04 19:21:58,256 4496 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-04 19:21:58,271 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-04 19:21:58,287 4496 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.0.10 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-04 19:21:58,304 4496 [DEBUG] - Received arguments: install gsudo --version 2.0.10 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-04 19:21:58,475 4496 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-04 19:21:58,507 4496 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-04 19:21:58,539 4496 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-04 19:21:58,678 4496 [DEBUG] - Performing validation checks.
2023-06-04 19:21:58,694 4496 [DEBUG] - Global Configuration Validation Checks:
2023-06-04 19:21:58,710 4496 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-04 19:21:58,726 4496 [DEBUG] - System State Validation Checks:
2023-06-04 19:21:58,726 4496 [DEBUG] - Reboot Requirement Checks:
2023-06-04 19:21:58,740 4496 [DEBUG] - - Pending Computer Rename = Checked
2023-06-04 19:21:58,756 4496 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-04 19:21:58,756 4496 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-04 19:21:58,772 4496 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-04 19:21:58,772 4496 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-04 19:21:58,787 4496 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-04 19:21:58,804 4496 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-04 19:21:58,866 4496 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-04 19:21:58,866 4496 [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-06-04 19:21:58,912 4496 [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.0.10'|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-RKMFTBPSRFP'|
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-06-04 19:21:58,928 4496 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-04 19:21:58,959 4496 [INFO ] - Installing the following packages:
2023-06-04 19:21:58,975 4496 [INFO ] - gsudo
2023-06-04 19:21:58,975 4496 [INFO ] - By installing, you accept licenses for the packages.
2023-06-04 19:21:59,007 4496 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-04 19:21:59,007 4496 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-04 19:21:59,022 4496 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 19:21:59,022 4496 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 19:21:59,022 4496 [DEBUG] - * 'ChocolateyLastPathUpdate'='133303565021692439' ('User')
2023-06-04 19:21:59,038 4496 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-04 19:21:59,038 4496 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-04 19:21:59,053 4496 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-04 19:21:59,053 4496 [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-06-04 19:21:59,053 4496 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-04 19:21:59,069 4496 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-04 19:21:59,069 4496 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-04 19:21:59,084 4496 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 19:21:59,084 4496 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 19:21:59,084 4496 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-04 19:21:59,100 4496 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-04 19:21:59,100 4496 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-04 19:21:59,116 4496 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-04 19:21:59,116 4496 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-04 19:21:59,116 4496 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-04 19:21:59,131 4496 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-04 19:22:02,647 4496 [INFO ] - [NuGet] Installing 'gsudo 2.0.10'.
2023-06-04 19:22:02,757 4496 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'gsudo\tools'.
2023-06-04 19:22:02,757 4496 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'gsudo\tools'.
2023-06-04 19:22:02,772 4496 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'gsudo\tools'.
2023-06-04 19:22:02,772 4496 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'gsudo\tools'.
2023-06-04 19:22:02,788 4496 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyPath.psm1' to folder 'gsudo\tools'.
2023-06-04 19:22:02,788 4496 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'gsudo\tools'.
2023-06-04 19:22:02,803 4496 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,819 4496 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,835 4496 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,835 4496 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,835 4496 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,850 4496 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x64'.
2023-06-04 19:22:02,850 4496 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,928 4496 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,928 4496 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,944 4496 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,959 4496 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,959 4496 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x86'.
2023-06-04 19:22:02,975 4496 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\bin'.
2023-06-04 19:22:02,975 4496 [DEBUG] - [NuGet] Added file 'sudo.exe.ignore' to folder 'gsudo\bin'.
2023-06-04 19:22:03,022 4496 [DEBUG] - [NuGet] Added file 'gsudo.nupkg' to folder 'gsudo'.
2023-06-04 19:22:03,492 4496 [DEBUG] - [NuGet] Added file 'gsudo.nuspec' to folder 'gsudo'.
2023-06-04 19:22:03,492 4496 [INFO ] - [NuGet] Successfully installed 'gsudo 2.0.10'.
2023-06-04 19:22:03,507 4496 [INFO ] -
gsudo v2.0.10 (forced)
2023-06-04 19:22:03,539 4496 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-06-04 19:22:03,664 4496 [DEBUG] - Setting installer args for gsudo
2023-06-04 19:22:03,664 4496 [DEBUG] - Setting package parameters for gsudo
2023-06-04 19:22:03,679 4496 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-06-04 19:22:03,695 4496 [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
$OldCurrentDir = Get-Item $SymLinkDir -ErrorAction ignore
if ($OldCurrentDir)
{
$OldCurrentDir.Delete()
}
cmd /c mklink /d "$SymLinkDir" "$TargetDir\"
# gsudo powershell module banner.
"";
Write-Output "gsudo successfully installed. Please restart your consoles to use gsudo.`n"
if (Get-Module gsudoModule) {
"Please restart PowerShell to update PowerShell gsudo Module."
} else {
& {
"PowerShell users: To use enhanced gsudo and Invoke-Gsudo cmdlet, add the following line to your `$PROFILE"
" Import-Module '$SymLinkDir\gsudoModule.psd1'"
"Or run: "
" Write-Output `"``nImport-Module '$SymLinkDir\gsudoModule.psd1'`" | Add-Content `$PROFILE"
}
}
2023-06-04 19:22:03,757 4496 [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-06-04 19:22:03,773 4496 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-05 01:54:42,810 4496 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-05 01:54:43,294 4496 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-05 01:54:43,372 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-05 01:54:43,387 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-05 01:54:43,387 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-05 01:54:43,387 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-05 01:54:43,403 4496 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-05 01:54:43,418 4496 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-05 01:54:43,418 4496 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-05 01:54:43,418 4496 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-05 01:54:43,434 4496 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-05 01:54:43,434 4496 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-05 01:54:43,450 4496 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-05 01:54:43,450 4496 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-05 01:54:43,466 4496 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-05 01:54:43,466 4496 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-05 01:54:43,481 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-05 01:54:43,481 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-05 01:54:43,497 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-05 01:54:43,497 4496 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-05 01:54:43,497 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-05 01:54:43,513 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-05 01:54:43,544 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-05 01:54:43,544 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-05 01:54:43,544 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-05 01:54:43,560 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-05 01:54:43,560 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-05 01:54:43,576 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-05 01:54:43,576 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-05 01:54:43,591 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-05 01:54:43,591 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-05 01:54:43,591 4496 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-05 01:54:43,606 4496 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-05 01:54:43,606 4496 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-05 01:54:43,622 4496 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-05 01:54:43,622 4496 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-05 01:54:43,637 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-05 01:54:43,637 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-05 01:54:43,637 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-05 01:54:43,653 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-05 01:54:43,653 4496 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-05 01:54:43,653 4496 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-05 01:54:43,684 4496 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-05 01:54:43,809 4496 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-05 01:54:43,809 4496 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-05 01:54:43,809 4496 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-05 01:54:43,825 4496 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-05 01:54:43,825 4496 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-05 01:54:43,841 4496 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-05 01:54:43,856 4496 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-05 01:54:43,856 4496 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-05 01:54:43,889 4496 [DEBUG] - Loading community extensions
2023-06-05 01:54:43,935 4496 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-05 01:54:43,935 4496 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-05 01:54:44,060 4496 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-05 01:54:44,075 4496 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-05 01:54:44,075 4496 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-05 01:54:44,091 4496 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-05 01:54:44,106 4496 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-05 01:54:44,106 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-05 01:54:44,106 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-05 01:54:44,123 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-05 01:54:44,123 4496 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-05 01:54:44,138 4496 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-05 01:54:44,138 4496 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-05 01:54:44,154 4496 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-05 01:54:44,154 4496 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-05 01:54:44,154 4496 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-05 01:54:44,170 4496 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-05 01:54:44,170 4496 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-05 01:54:44,184 4496 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-05 01:54:44,200 4496 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-05 01:54:44,200 4496 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-05 01:54:44,216 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-05 01:54:44,216 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-05 01:54:44,216 4496 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-05 01:54:44,231 4496 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-05 01:54:44,231 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-05 01:54:44,247 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-05 01:54:44,247 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-05 01:54:44,263 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-05 01:54:44,263 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-05 01:54:44,279 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-05 01:54:44,279 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-05 01:54:44,279 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-05 01:54:44,294 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-05 01:54:44,294 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-05 01:54:44,309 4496 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-05 01:54:44,325 4496 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-05 01:54:44,325 4496 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-05 01:54:44,325 4496 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-05 01:54:44,341 4496 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:06,199 4496 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 19:22:06,213 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 19:22:06,213 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:06,228 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:06,228 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:06,228 4496 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 19:22:06,244 4496 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:06,259 4496 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 19:22:06,259 4496 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 19:22:06,276 4496 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 19:22:06,276 4496 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 19:22:06,291 4496 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:06,291 4496 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 19:22:06,306 4496 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 19:22:06,306 4496 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:06,322 4496 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:06,322 4496 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 19:22:06,338 4496 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 19:22:06,338 4496 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 19:22:06,353 4496 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 19:22:06,353 4496 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 19:22:06,353 4496 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:06,369 4496 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:06,384 4496 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 19:22:06,384 4496 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:06,401 4496 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 19:22:06,401 4496 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:06,416 4496 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 19:22:06,416 4496 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:06,416 4496 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 19:22:06,431 4496 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 19:22:06,431 4496 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:06,447 4496 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 19:22:06,447 4496 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 19:22:06,463 4496 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 19:22:06,463 4496 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 19:22:06,479 4496 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 19:22:06,479 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:06,494 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:06,509 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:06,509 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:06,525 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 19:22:06,525 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 19:22:06,525 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:06,541 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:06,541 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:06,557 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:06,557 4496 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:06,572 4496 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 19:22:06,572 4496 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 19:22:06,588 4496 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 19:22:06,603 4496 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 19:22:06,604 4496 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:06,604 4496 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 19:22:06,619 4496 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 19:22:06,619 4496 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 19:22:06,634 4496 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:06,634 4496 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:06,650 4496 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:06,650 4496 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 19:22:06,665 4496 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:06,665 4496 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 19:22:06,681 4496 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 19:22:06,681 4496 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:06,697 4496 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 19:22:06,697 4496 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 19:22:06,697 4496 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:06,713 4496 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 19:22:06,713 4496 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 19:22:06,728 4496 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:06,823 4496 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 19:22:06,854 4496 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.0.10 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-04 19:22:07,105 4496 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-06-04 19:22:07,135 4496 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-06-04 19:22:07,151 4496 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-06-04 19:22:07,166 4496 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-06-04 19:22:07,229 4496 [DEBUG] - Running Get-ToolsLocation
2023-06-04 19:22:07,354 4496 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-06-04 19:22:07,431 4496 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-06-04 19:22:07,464 4496 [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-06-04 19:22:07,916 4496 [DEBUG] - Running Update-SessionEnvironment
2023-06-04 19:22:07,932 4496 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-06-04 19:22:08,839 4496 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-06-04 19:22:08,854 4496 [DEBUG] - Running Update-SessionEnvironment
2023-06-04 19:22:08,854 4496 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-06-04 19:22:09,135 4496 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-06-04 19:22:09,135 4496 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-06-04 19:22:09,230 4496 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-04 19:22:09,230 4496 [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-06-04 19:22:09,260 4496 [DEBUG] - Registry type for Path is/will be ExpandString
2023-06-04 19:22:09,369 4496 [DEBUG] - Running Update-SessionEnvironment
2023-06-04 19:22:09,369 4496 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-06-04 19:22:09,728 4496 [INFO ] - symbolic link created for C:\tools\gsudo\v2.0.10\sudo.exe <<===>> C:\tools\gsudo\v2.0.10\gsudo.exe
2023-06-04 19:22:09,806 4496 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.0.10\
2023-06-04 19:22:09,822 4496 [INFO ] -
2023-06-04 19:22:09,822 4496 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-06-04 19:22:09,838 4496 [INFO ] - PowerShell users: To use enhanced gsudo and Invoke-Gsudo cmdlet, add the following line to your $PROFILE
2023-06-04 19:22:09,854 4496 [INFO ] - Import-Module 'C:\tools\gsudo\Current\gsudoModule.psd1'
2023-06-04 19:22:09,869 4496 [INFO ] - Or run:
2023-06-04 19:22:09,869 4496 [INFO ] - Write-Output "`nImport-Module 'C:\tools\gsudo\Current\gsudoModule.psd1'" | Add-Content $PROFILE
2023-06-04 19:22:09,916 4496 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 19:22:09,932 4496 [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-06-04 19:22:09,932 4496 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-04 19:22:10,041 4496 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-04 19:22:10,135 4496 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-04 19:22:10,151 4496 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-04 19:22:10,151 4496 [DEBUG] - * ChocolateyLastPathUpdate='133303801292759204' (User)
2023-06-04 19:22:10,151 4496 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-06-04 19:22:10,165 4496 [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-06-04 19:22:10,338 4496 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-06-04 19:22:10,400 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'C22BA089C94B78890737BABFE01B80F0'
2023-06-04 19:22:10,400 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '44BD28085C65817E8CBDF20E7CA5117C'
2023-06-04 19:22:10,416 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:10,416 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:10,416 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-06-04 19:22:10,431 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'E75B7844020C282C59A9CCA59F7BD22F'
2023-06-04 19:22:10,431 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-06-04 19:22:10,447 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-06-04 19:22:10,447 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-06-04 19:22:10,447 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '7C450BC78F84A03A67A916C95F50B835'
2023-06-04 19:22:10,463 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-06-04 19:22:10,511 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'D6E78221A76CD8FF8674C60D3787AD2A'
2023-06-04 19:22:10,526 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:10,526 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'B12B65BF6167C963A9072447C0AD3CD8'
2023-06-04 19:22:10,541 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '99A1A8DBC9AB6EDCE19CC11FE2229D02'
2023-06-04 19:22:10,541 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '700055473FFA56144287E2542345A578'
2023-06-04 19:22:10,556 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-06-04 19:22:10,635 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '4904A73045E65DCB661BA9793E39FBD2'
2023-06-04 19:22:10,635 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:10,650 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'B12B65BF6167C963A9072447C0AD3CD8'
2023-06-04 19:22:10,650 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '99A1A8DBC9AB6EDCE19CC11FE2229D02'
2023-06-04 19:22:10,650 4496 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '3E6010817192EF1374D9772D3362E0EB'
2023-06-04 19:22:10,728 4496 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10".
2023-06-04 19:22:10,761 4496 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10\.files'
2023-06-04 19:22:10,775 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10\.extra".
2023-06-04 19:22:10,775 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10\.version".
2023-06-04 19:22:10,791 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10\.sxs".
2023-06-04 19:22:10,791 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.0.10\.pin".
2023-06-04 19:22:10,806 4496 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-04 19:22:10,822 4496 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-06-04 19:22:10,822 4496 [INFO ] - The install of gsudo was successful.
2023-06-04 19:22:10,838 4496 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-06-04 19:22:10,838 4496 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\gsudo.2.0.10.nupkg".
2023-06-04 19:22:10,885 4496 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-04 19:22:10,885 4496 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-04 19:22:10,947 4496 [DEBUG] - Exiting with 0
2023-06-04 19:22:23,010 1320 [DEBUG] - XmlConfiguration is now operational
2023-06-04 19:22:23,181 1320 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:22:23,181 1320 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:22:23,181 1320 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:22:23,197 1320 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:22:23,197 1320 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-04 19:22:23,197 1320 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-04 19:22:23,479 1320 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-04 19:22:23,479 1320 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-04 19:22:23,479 1320 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-04 19:22:23,493 1320 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-04 19:22:23,493 1320 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-04 19:22:23,493 1320 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-04 19:22:23,493 1320 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-04 19:22:23,510 1320 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-04 19:22:23,510 1320 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-04 19:22:23,510 1320 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-04 19:22:23,525 1320 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-04 19:22:23,525 1320 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-04 19:22:23,541 1320 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-04 19:22:23,541 1320 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-04 19:22:23,557 1320 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-04 19:22:23,557 1320 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-04 19:22:23,557 1320 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-04 19:22:23,557 1320 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-04 19:22:23,869 1320 [INFO ] - ============================================================
2023-06-04 19:22:24,275 1320 [INFO ] - Chocolatey v1.3.0
2023-06-04 19:22:24,307 1320 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-04 19:22:24,322 1320 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-04 19:22:24,322 1320 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-04 19:22:24,353 1320 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.0.10 -dvy --execution-timeout=2700
2023-06-04 19:22:24,353 1320 [DEBUG] - Received arguments: uninstall gsudo --version 2.0.10 -dvy --execution-timeout=2700
2023-06-04 19:22:24,526 1320 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-04 19:22:24,557 1320 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-04 19:22:24,572 1320 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-04 19:22:24,746 1320 [DEBUG] - Performing validation checks.
2023-06-04 19:22:24,759 1320 [DEBUG] - Global Configuration Validation Checks:
2023-06-04 19:22:24,776 1320 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-04 19:22:24,791 1320 [DEBUG] - System State Validation Checks:
2023-06-04 19:22:24,807 1320 [DEBUG] - Reboot Requirement Checks:
2023-06-04 19:22:24,823 1320 [DEBUG] - - Pending Computer Rename = Checked
2023-06-04 19:22:24,838 1320 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-04 19:22:24,838 1320 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-04 19:22:24,853 1320 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-04 19:22:24,853 1320 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-04 19:22:24,853 1320 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-04 19:22:24,869 1320 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-04 19:22:24,931 1320 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-04 19:22:24,947 1320 [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-06-04 19:22:24,980 1320 [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.0.10'|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-RKMFTBPSRFP'|
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-06-04 19:22:25,009 1320 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-04 19:22:25,026 1320 [INFO ] - Uninstalling the following packages:
2023-06-04 19:22:25,026 1320 [INFO ] - gsudo
2023-06-04 19:22:25,057 1320 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-04 19:22:25,057 1320 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-04 19:22:25,072 1320 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 19:22:25,072 1320 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-04 19:22:25,088 1320 [DEBUG] - * 'ChocolateyLastPathUpdate'='133303801292759204' ('User')
2023-06-04 19:22:25,088 1320 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-06-04 19:22:25,088 1320 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-04 19:22:25,103 1320 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-04 19:22:25,103 1320 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-04 19:22:25,119 1320 [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-06-04 19:22:25,119 1320 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-04 19:22:25,119 1320 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-04 19:22:25,135 1320 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-04 19:22:25,135 1320 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 19:22:25,150 1320 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-04 19:22:25,150 1320 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-04 19:22:25,150 1320 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-04 19:22:25,166 1320 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-04 19:22:25,166 1320 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-04 19:22:25,182 1320 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-04 19:22:25,182 1320 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-04 19:22:25,199 1320 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-04 19:22:25,369 1320 [DEBUG] - Running list with the following filter = ''
2023-06-04 19:22:25,369 1320 [DEBUG] - --- Start of List ---
2023-06-04 19:22:25,728 1320 [DEBUG] - gsudo 2.0.10
2023-06-04 19:22:25,744 1320 [DEBUG] - --- End of List ---
2023-06-04 19:22:25,887 1320 [DEBUG] - Setting installer args for gsudo
2023-06-04 19:22:25,901 1320 [DEBUG] - Setting package parameters for gsudo
2023-06-04 19:22:25,901 1320 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-06-04 19:22:25,915 1320 [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-06-04 19:22:25,979 1320 [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-06-04 19:22:25,994 1320 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-04 19:22:26,635 1320 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-04 19:22:27,104 1320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 19:22:27,104 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 19:22:27,104 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 19:22:27,119 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:27,119 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:27,134 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 19:22:27,134 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:27,150 1320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 19:22:27,150 1320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:27,166 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 19:22:27,166 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:27,181 1320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 19:22:27,181 1320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 19:22:27,197 1320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:27,197 1320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 19:22:27,212 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 19:22:27,212 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 19:22:27,212 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 19:22:27,228 1320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 19:22:27,228 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:27,244 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:27,244 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:27,307 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:27,322 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 19:22:27,322 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 19:22:27,339 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:27,339 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:27,339 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:27,354 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:27,354 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:27,369 1320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 19:22:27,369 1320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 19:22:27,384 1320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 19:22:27,384 1320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:27,400 1320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 19:22:27,400 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 19:22:27,416 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:27,416 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:27,431 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:27,431 1320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 19:22:27,447 1320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:27,447 1320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 19:22:27,462 1320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 19:22:27,478 1320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:27,478 1320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 19:22:27,494 1320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 19:22:27,509 1320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:27,509 1320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:27,525 1320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 19:22:27,525 1320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 19:22:27,557 1320 [DEBUG] - Loading community extensions
2023-06-04 19:22:27,588 1320 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-04 19:22:27,604 1320 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-04 19:22:27,729 1320 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 19:22:27,744 1320 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 19:22:27,744 1320 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 19:22:27,759 1320 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 19:22:27,759 1320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 19:22:27,775 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 19:22:27,790 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 19:22:27,790 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:27,806 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:27,806 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 19:22:27,822 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:27,837 1320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 19:22:27,837 1320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:27,853 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 19:22:27,853 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:27,869 1320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 19:22:27,869 1320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 19:22:27,885 1320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:27,885 1320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 19:22:27,900 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 19:22:27,900 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 19:22:27,916 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 19:22:27,932 1320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 19:22:27,932 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:27,947 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:27,947 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:27,962 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:27,962 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 19:22:27,978 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 19:22:27,978 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:27,994 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:27,994 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:28,009 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:28,009 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:28,025 1320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 19:22:28,025 1320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 19:22:28,040 1320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 19:22:28,040 1320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:28,056 1320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 19:22:28,056 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 19:22:28,072 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:28,072 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:28,072 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:28,087 1320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 19:22:28,087 1320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:28,103 1320 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 19:22:28,103 1320 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 19:22:28,119 1320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 19:22:28,119 1320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 19:22:28,135 1320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:28,135 1320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 19:22:28,151 1320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 19:22:28,151 1320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:28,165 1320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:28,165 1320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 19:22:28,165 1320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 19:22:28,181 1320 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 19:22:28,181 1320 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 19:22:28,197 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 19:22:28,197 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:28,213 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:28,228 1320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 19:22:28,228 1320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:28,243 1320 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 19:22:28,243 1320 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:28,243 1320 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 19:22:28,259 1320 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:28,259 1320 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 19:22:28,275 1320 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 19:22:28,275 1320 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:28,275 1320 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 19:22:28,291 1320 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 19:22:28,306 1320 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 19:22:28,306 1320 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 19:22:28,306 1320 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 19:22:28,322 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:28,337 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:28,337 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:28,337 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:28,353 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 19:22:28,353 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 19:22:28,368 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:28,368 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:28,384 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:28,384 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:28,400 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:28,400 1320 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 19:22:28,416 1320 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 19:22:28,416 1320 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 19:22:28,431 1320 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 19:22:28,431 1320 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:28,447 1320 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 19:22:28,447 1320 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 19:22:28,447 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 19:22:28,463 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:28,478 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:28,478 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:28,478 1320 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 19:22:28,493 1320 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:28,493 1320 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 19:22:28,510 1320 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 19:22:28,510 1320 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:28,525 1320 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 19:22:28,525 1320 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 19:22:28,540 1320 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:28,540 1320 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 19:22:28,556 1320 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 19:22:28,556 1320 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:28,666 1320 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 19:22:28,682 1320 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.0.10 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-04 19:22:28,760 1320 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-06-04 19:22:28,870 1320 [DEBUG] - Running Get-ToolsLocation
2023-06-04 19:22:28,932 1320 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 19:22:28,948 1320 [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-06-04 19:22:29,120 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-04 19:22:29,134 1320 [DEBUG] - Backing up existing gsudo prior to operation.
2023-06-04 19:22:29,150 1320 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo'
2023-06-04 19:22:31,166 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-06-04 19:22:31,166 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-06-04 19:22:31,198 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-06-04 19:22:31,198 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-06-04 19:22:31,214 1320 [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-06-04 19:22:31,214 1320 [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-06-04 19:22:31,228 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-06-04 19:22:31,228 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-06-04 19:22:31,244 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-06-04 19:22:31,259 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-06-04 19:22:31,259 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-06-04 19:22:31,275 1320 [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-06-04 19:22:31,275 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-06-04 19:22:31,291 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-06-04 19:22:31,291 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-06-04 19:22:31,306 1320 [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-06-04 19:22:31,322 1320 [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-06-04 19:22:31,337 1320 [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-06-04 19:22:31,337 1320 [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-06-04 19:22:31,369 1320 [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-06-04 19:22:31,384 1320 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-06-04 19:22:31,384 1320 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-06-04 19:22:31,400 1320 [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-06-04 19:22:31,634 1320 [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-06-04 19:22:31,650 1320 [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-06-04 19:22:31,650 1320 [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-06-04 19:22:31,665 1320 [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-06-04 19:22:33,182 1320 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-06-04 19:22:33,229 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum 'C22BA089C94B78890737BABFE01B80F0'
2023-06-04 19:22:33,244 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '44BD28085C65817E8CBDF20E7CA5117C'
2023-06-04 19:22:33,244 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:33,244 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:33,260 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-06-04 19:22:33,260 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'E75B7844020C282C59A9CCA59F7BD22F'
2023-06-04 19:22:33,275 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-06-04 19:22:33,275 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-06-04 19:22:33,291 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-06-04 19:22:33,291 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum '7C450BC78F84A03A67A916C95F50B835'
2023-06-04 19:22:33,307 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-06-04 19:22:33,385 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'D6E78221A76CD8FF8674C60D3787AD2A'
2023-06-04 19:22:33,385 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:33,385 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum 'B12B65BF6167C963A9072447C0AD3CD8'
2023-06-04 19:22:33,400 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '99A1A8DBC9AB6EDCE19CC11FE2229D02'
2023-06-04 19:22:33,400 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '700055473FFA56144287E2542345A578'
2023-06-04 19:22:33,416 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-06-04 19:22:33,479 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '4904A73045E65DCB661BA9793E39FBD2'
2023-06-04 19:22:33,495 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-04 19:22:33,495 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum 'B12B65BF6167C963A9072447C0AD3CD8'
2023-06-04 19:22:33,510 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '99A1A8DBC9AB6EDCE19CC11FE2229D02'
2023-06-04 19:22:33,510 1320 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '3E6010817192EF1374D9772D3362E0EB'
2023-06-04 19:22:34,635 1320 [INFO ] - [NuGet] Uninstalling 'gsudo 2.0.10'.
2023-06-04 19:22:34,651 1320 [INFO ] -
gsudo v2.0.10
2023-06-04 19:22:34,697 1320 [DEBUG] - Setting installer args for gsudo
2023-06-04 19:22:34,697 1320 [DEBUG] - Setting package parameters for gsudo
2023-06-04 19:22:34,713 1320 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-06-04 19:22:34,713 1320 [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-06-04 19:22:34,744 1320 [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-06-04 19:22:34,822 1320 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-04 19:22:34,901 1320 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-04 19:22:35,042 1320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 19:22:35,042 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 19:22:35,057 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 19:22:35,057 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:35,072 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:35,072 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 19:22:35,088 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:35,088 1320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 19:22:35,103 1320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:35,103 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 19:22:35,119 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:35,119 1320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 19:22:35,134 1320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 19:22:35,134 1320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:35,134 1320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 19:22:35,150 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 19:22:35,150 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 19:22:35,166 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 19:22:35,166 1320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 19:22:35,181 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:35,181 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:35,198 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:35,198 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:35,213 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 19:22:35,213 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 19:22:35,229 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:35,229 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:35,244 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:35,244 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:35,260 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:35,260 1320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 19:22:35,260 1320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 19:22:35,275 1320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 19:22:35,275 1320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:35,291 1320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 19:22:35,291 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 19:22:35,306 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:35,306 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:35,322 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:35,322 1320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 19:22:35,337 1320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:35,337 1320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 19:22:35,353 1320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 19:22:35,353 1320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:35,369 1320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 19:22:35,369 1320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 19:22:35,369 1320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:35,385 1320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:35,385 1320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 19:22:35,400 1320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 19:22:35,400 1320 [DEBUG] - Loading community extensions
2023-06-04 19:22:35,416 1320 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-04 19:22:35,416 1320 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-04 19:22:35,463 1320 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 19:22:35,478 1320 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 19:22:35,478 1320 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 19:22:35,494 1320 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 19:22:35,494 1320 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-04 19:22:35,509 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-04 19:22:35,509 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-04 19:22:35,525 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:35,541 1320 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:35,541 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-04 19:22:35,556 1320 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:35,556 1320 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-04 19:22:35,556 1320 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:35,572 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-04 19:22:35,572 1320 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:35,587 1320 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-04 19:22:35,587 1320 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-04 19:22:35,603 1320 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:35,603 1320 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-04 19:22:35,603 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-04 19:22:35,618 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-04 19:22:35,618 1320 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-04 19:22:35,634 1320 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-04 19:22:35,634 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:35,650 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:35,650 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:35,666 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:35,681 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-04 19:22:35,681 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-04 19:22:35,681 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:35,697 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:35,712 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:35,712 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:35,712 1320 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:35,728 1320 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-04 19:22:35,728 1320 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-04 19:22:35,744 1320 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-04 19:22:35,744 1320 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:35,759 1320 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-04 19:22:35,759 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-04 19:22:35,775 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:35,775 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:35,791 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:35,807 1320 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-04 19:22:35,807 1320 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:35,807 1320 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-04 19:22:35,823 1320 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-04 19:22:35,823 1320 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-04 19:22:35,838 1320 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-04 19:22:35,838 1320 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:35,853 1320 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-04 19:22:35,853 1320 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-04 19:22:35,869 1320 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:35,869 1320 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:35,884 1320 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-04 19:22:35,884 1320 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-04 19:22:35,900 1320 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-04 19:22:35,900 1320 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-04 19:22:35,916 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-04 19:22:35,916 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-04 19:22:35,916 1320 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-04 19:22:35,931 1320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-04 19:22:35,931 1320 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-04 19:22:35,946 1320 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-04 19:22:35,946 1320 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-04 19:22:35,962 1320 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-04 19:22:35,962 1320 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-04 19:22:35,978 1320 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-04 19:22:35,978 1320 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-04 19:22:35,994 1320 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-04 19:22:35,994 1320 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-04 19:22:36,010 1320 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-04 19:22:36,010 1320 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-04 19:22:36,025 1320 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-04 19:22:36,040 1320 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-04 19:22:36,040 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:36,040 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-04 19:22:36,056 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-04 19:22:36,056 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-04 19:22:36,072 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-04 19:22:36,072 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-04 19:22:36,088 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-04 19:22:36,088 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-04 19:22:36,103 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-04 19:22:36,103 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-04 19:22:36,119 1320 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-04 19:22:36,119 1320 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-04 19:22:36,135 1320 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-04 19:22:36,135 1320 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-04 19:22:36,135 1320 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-04 19:22:36,150 1320 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-04 19:22:36,150 1320 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-04 19:22:36,165 1320 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-04 19:22:36,165 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-04 19:22:36,181 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-04 19:22:36,181 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-04 19:22:36,181 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-04 19:22:36,198 1320 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-04 19:22:36,198 1320 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-04 19:22:36,212 1320 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-04 19:22:36,212 1320 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-04 19:22:36,228 1320 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-04 19:22:36,228 1320 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-04 19:22:36,260 1320 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-04 19:22:36,260 1320 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-04 19:22:36,260 1320 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-04 19:22:36,275 1320 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-04 19:22:36,275 1320 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-04 19:22:36,291 1320 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-04 19:22:36,306 1320 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.0.10 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-04 19:22:36,322 1320 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-06-04 19:22:36,338 1320 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-06-04 19:22:36,354 1320 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-06-04 19:22:36,354 1320 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-06-04 19:22:36,369 1320 [DEBUG] - Running Get-ToolsLocation
2023-06-04 19:22:36,431 1320 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-06-04 19:22:36,447 1320 [DEBUG] - Running Update-SessionEnvironment
2023-06-04 19:22:36,465 1320 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-06-04 19:22:37,134 1320 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-06-04 19:22:37,134 1320 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-06-04 19:22:37,228 1320 [DEBUG] - Test-ProcessAdminRights: returning True
2023-06-04 19:22:37,307 1320 [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-06-04 19:22:37,354 1320 [DEBUG] - Registry type for Path is/will be ExpandString
2023-06-04 19:22:37,385 1320 [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-06-04 19:22:37,806 1320 [DEBUG] - Running Update-SessionEnvironment
2023-06-04 19:22:37,806 1320 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-06-04 19:22:38,074 1320 [DEBUG] - ----------------------------------------------------------------------
2023-06-04 19:22:38,088 1320 [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-06-04 19:22:38,119 1320 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-06-04 19:22:38,134 1320 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-04 19:22:38,385 1320 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-04 19:22:38,400 1320 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-06-04 19:22:38,478 1320 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,495 1320 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,495 1320 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,510 1320 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,510 1320 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,525 1320 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,541 1320 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-06-04 19:22:38,541 1320 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,604 1320 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,620 1320 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,620 1320 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,634 1320 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,634 1320 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,650 1320 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-06-04 19:22:38,650 1320 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,666 1320 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,666 1320 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,682 1320 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,682 1320 [DEBUG] - [NuGet] Removed file 'Uninstall-ChocolateyPath.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,697 1320 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,697 1320 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-06-04 19:22:38,713 1320 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-06-04 19:22:38,713 1320 [DEBUG] - [NuGet] Removed file 'sudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-06-04 19:22:38,728 1320 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-06-04 19:22:38,728 1320 [DEBUG] - [NuGet] Removed file 'gsudo.nuspec' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-06-04 19:22:38,743 1320 [DEBUG] - [NuGet] Removed file 'gsudo.nupkg' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-06-04 19:22:38,743 1320 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-06-04 19:22:38,760 1320 [INFO ] - [NuGet] Successfully uninstalled 'gsudo 2.0.10'.
2023-06-04 19:22:38,775 1320 [INFO ] - gsudo has been successfully uninstalled.
2023-06-04 19:22:38,792 1320 [DEBUG] - Removing nupkg if it still exists.
2023-06-04 19:22:38,792 1320 [DEBUG] - Ensuring removal of installation files.
2023-06-04 19:22:38,807 1320 [DEBUG] - Ensuring removal of package cache files.
2023-06-04 19:22:38,838 1320 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-06-04 19:22:38,838 1320 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-06-04 19:22:38,838 1320 [DEBUG] - * ChocolateyLastPathUpdate='133303801576826644' (User)
2023-06-04 19:22:38,853 1320 [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-06-04 19:22:38,933 1320 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-04 19:22:38,947 1320 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-04 19:22:38,979 1320 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment