Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 17, 2023 04:52
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/974f143d4acaf16ecc47ee43c4bb7c9e to your computer and use it in GitHub Desktop.
Save choco-bot/974f143d4acaf16ecc47ee43c4bb7c9e to your computer and use it in GitHub Desktop.
gsudo v2.2.0 - Passed - Package Tests Results

gsudo v2.2.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.2.0
  • Tested 17 Jul 2023 04:52:10 +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="4290B623B051124A40704D61080E4358" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="E04EC99FCD2FE4EFF4E6934CDBA84C2C" />
<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="1CBA59920F2676FB2D78AC079FE4E7D1" />
<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="CE9773C190196FFFF96F512AD77982B6" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="40199B3066324D761CB4342F976B29B5" />
<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="6FEA164FE2E05127D230D074C0BCF507" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="677181336FEFB8CFD56D77C45109669E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="36A24968EDDD414201042F816FB381C1" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="2C2DBA5E1B11F9909C45C7A9586D8C1E" />
<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="6FEA164FE2E05127D230D074C0BCF507" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="54F16B05D6E3AFF3077AB9A0566AB986" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="9F35F152EE07B1429BE6AB4B366581E6" />
</files>
</fileSnapshot>
2023-07-17 04:51:25,352 2524 [DEBUG] - XmlConfiguration is now operational
2023-07-17 04:51:25,540 2524 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:25,540 2524 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:25,540 2524 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:25,540 2524 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:25,556 2524 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:25,556 2524 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-17 04:51:25,821 2524 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-17 04:51:25,837 2524 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-17 04:51:25,837 2524 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-17 04:51:25,837 2524 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-17 04:51:25,837 2524 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-17 04:51:25,853 2524 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-17 04:51:25,853 2524 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-17 04:51:25,853 2524 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-17 04:51:25,853 2524 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-17 04:51:25,868 2524 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-17 04:51:25,868 2524 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-17 04:51:25,868 2524 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-17 04:51:25,899 2524 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-17 04:51:25,899 2524 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-17 04:51:25,915 2524 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-17 04:51:25,915 2524 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-17 04:51:25,915 2524 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-17 04:51:25,932 2524 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-17 04:51:26,243 2524 [INFO ] - ============================================================
2023-07-17 04:51:26,682 2524 [INFO ] - Chocolatey v1.3.0
2023-07-17 04:51:26,728 2524 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-17 04:51:26,743 2524 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-17 04:51:26,743 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-17 04:51:26,759 2524 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-17 04:51:26,790 2524 [DEBUG] - Received arguments: install gsudo --version 2.2.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-17 04:51:26,978 2524 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-17 04:51:27,010 2524 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-17 04:51:27,041 2524 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-17 04:51:27,197 2524 [DEBUG] - Performing validation checks.
2023-07-17 04:51:27,212 2524 [DEBUG] - Global Configuration Validation Checks:
2023-07-17 04:51:27,228 2524 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-17 04:51:27,244 2524 [DEBUG] - System State Validation Checks:
2023-07-17 04:51:27,244 2524 [DEBUG] - Reboot Requirement Checks:
2023-07-17 04:51:27,258 2524 [DEBUG] - - Pending Computer Rename = Checked
2023-07-17 04:51:27,274 2524 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-17 04:51:27,291 2524 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-17 04:51:27,291 2524 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-17 04:51:27,306 2524 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-17 04:51:27,321 2524 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-17 04:51:27,337 2524 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-17 04:51:27,400 2524 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-17 04:51:27,415 2524 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-07-17 04:51:27,477 2524 [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.2.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-4B6PAMSFE5S'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-17 04:51:27,493 2524 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-17 04:51:27,541 2524 [INFO ] - Installing the following packages:
2023-07-17 04:51:27,556 2524 [INFO ] - gsudo
2023-07-17 04:51:27,571 2524 [INFO ] - By installing, you accept licenses for the packages.
2023-07-17 04:51:27,587 2524 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-17 04:51:27,587 2524 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-17 04:51:27,602 2524 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 04:51:27,602 2524 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 04:51:27,618 2524 [DEBUG] - * 'ChocolateyLastPathUpdate'='133339853136866296' ('User')
2023-07-17 04:51:27,618 2524 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-17 04:51:27,634 2524 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-17 04:51:27,634 2524 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-17 04:51:27,650 2524 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-07-17 04:51:27,650 2524 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-17 04:51:27,665 2524 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-17 04:51:27,665 2524 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-17 04:51:27,682 2524 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 04:51:27,697 2524 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 04:51:27,697 2524 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-17 04:51:27,713 2524 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-17 04:51:27,713 2524 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-17 04:51:27,728 2524 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-17 04:51:27,728 2524 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-17 04:51:27,743 2524 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-17 04:51:27,743 2524 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-17 04:51:31,384 2524 [INFO ] - [NuGet] Installing 'gsudo 2.2.0'.
2023-07-17 04:51:31,415 2524 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'gsudo\tools'.
2023-07-17 04:51:31,415 2524 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'gsudo\tools'.
2023-07-17 04:51:31,430 2524 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'gsudo\tools'.
2023-07-17 04:51:31,430 2524 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'gsudo\tools'.
2023-07-17 04:51:31,450 2524 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyPath.psm1' to folder 'gsudo\tools'.
2023-07-17 04:51:31,461 2524 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'gsudo\tools'.
2023-07-17 04:51:31,461 2524 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,493 2524 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,509 2524 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,509 2524 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,524 2524 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,540 2524 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x64'.
2023-07-17 04:51:31,556 2524 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,602 2524 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,602 2524 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,618 2524 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,633 2524 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,653 2524 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x86'.
2023-07-17 04:51:31,665 2524 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-17 04:51:31,665 2524 [DEBUG] - [NuGet] Added file 'sudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-17 04:51:31,727 2524 [DEBUG] - [NuGet] Added file 'gsudo.nupkg' to folder 'gsudo'.
2023-07-17 04:51:32,103 2524 [DEBUG] - [NuGet] Added file 'gsudo.nuspec' to folder 'gsudo'.
2023-07-17 04:51:32,103 2524 [INFO ] - [NuGet] Successfully installed 'gsudo 2.2.0'.
2023-07-17 04:51:32,118 2524 [INFO ] -
gsudo v2.2.0 (forced)
2023-07-17 04:51:32,149 2524 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-07-17 04:51:32,245 2524 [DEBUG] - Setting installer args for gsudo
2023-07-17 04:51:32,245 2524 [DEBUG] - Setting package parameters for gsudo
2023-07-17 04:51:32,259 2524 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-07-17 04:51:32,336 2524 [DEBUG] - function Test-IsSymLink([string]$path) {
$file = Get-Item $path -Force -ea SilentlyContinue
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
$ErrorActionPreference = 'Continue'
$ToolsLocation = Get-ToolsLocation
if ([Environment]::Is64BitOperatingSystem -eq $true) {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x64"
} else {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x86"
}
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$TargetDir = ("$ToolsLocation\gsudo\v" + ((Get-Item "$bin\gsudo.exe").VersionInfo.ProductVersion -split "\+" )[0])
$SymLinkDir = "$ToolsLocation\gsudo\Current"
# Add to System Path
mkdir $TargetDir -ErrorAction Ignore > $null
copy "$bin\*" $TargetDir -Exclude *.ignore -Force
Install-ChocolateyPath -PathToInstall $SymLinkDir -PathType 'Machine'
cmd /c mklink "$TargetDir\sudo.exe" "$TargetDir\gsudo.exe" 2>$null
# Copy gsudoModule to "$env:ProgramFiles\PowerShell\Modules\gsudoModule"
$PSModulesTargetDir = "$env:ProgramFiles\PowerShell\Modules\gsudoModule"
md $PSModulesTargetDir -ErrorAction SilentlyContinue
copy "$bin\*.ps*" $PSModulesTargetDir -Exclude *.ignore -Force
$OldCurrentDir = Get-Item $SymLinkDir -ErrorAction ignore
if ($OldCurrentDir)
{
$OldCurrentDir.Delete()
}
cmd /c mklink /d "$SymLinkDir" "$TargetDir\"
# gsudo powershell module banner.
"";
if (Get-Module gsudoModule) {
"Please restart all your PowerShell consoles to update PowerShell gsudo Module."
} else {
& {
"PowerShell users: Add auto-complete to gsudo by adding the following line to your `$PROFILE"
" Import-Module 'gsudoModule'"
"Or run: "
" Write-Output `"``nImport-Module 'gsudoModule'`" | Add-Content `$PROFILE"
}
}
Write-Output "gsudo successfully installed. Please restart your consoles to use gsudo.`n"
2023-07-17 04:51:32,416 2524 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-17 04:51:32,430 2524 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-17 04:51:33,260 2524 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-17 04:51:33,993 2524 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:51:33,993 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:51:34,008 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:51:34,008 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:34,024 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:34,024 2524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:51:34,039 2524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:34,039 2524 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:51:34,039 2524 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:34,055 2524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:51:34,055 2524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:34,071 2524 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:51:34,071 2524 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:51:34,087 2524 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:34,087 2524 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:51:34,102 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:51:34,118 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:51:34,118 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:51:34,133 2524 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:51:34,149 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:34,149 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:34,196 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:34,211 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:34,211 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:51:34,227 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:51:34,227 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:34,242 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:34,242 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:34,258 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:34,258 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:34,274 2524 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:51:34,274 2524 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:51:34,274 2524 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:51:34,290 2524 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:34,290 2524 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:51:34,306 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:51:34,306 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:34,321 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:34,321 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:34,337 2524 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:51:34,337 2524 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:34,352 2524 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:51:34,367 2524 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:51:34,367 2524 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:34,383 2524 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:51:34,399 2524 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:51:34,399 2524 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:34,415 2524 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:34,430 2524 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:51:34,430 2524 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:51:34,463 2524 [DEBUG] - Loading community extensions
2023-07-17 04:51:34,524 2524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-17 04:51:34,540 2524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-17 04:51:34,665 2524 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:51:34,680 2524 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:51:34,680 2524 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:51:34,696 2524 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:51:34,696 2524 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:51:34,712 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:51:34,727 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:51:34,727 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:34,742 2524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:34,758 2524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:51:34,758 2524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:34,774 2524 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:51:34,774 2524 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:34,789 2524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:51:34,805 2524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:34,805 2524 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:51:34,822 2524 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:51:34,837 2524 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:34,837 2524 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:51:34,852 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:51:34,852 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:51:34,852 2524 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:51:34,868 2524 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:51:34,884 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:34,884 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:34,899 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:34,914 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:34,914 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:51:34,931 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:51:34,946 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:34,946 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:34,962 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:34,977 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:34,977 2524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:34,992 2524 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:51:34,992 2524 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:51:35,008 2524 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:51:35,024 2524 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:35,024 2524 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:51:35,039 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:51:35,039 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:35,055 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:35,055 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:35,071 2524 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:51:35,071 2524 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:35,087 2524 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:51:35,102 2524 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:51:35,102 2524 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:51:35,118 2524 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:51:35,118 2524 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:35,133 2524 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:51:35,133 2524 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:51:35,149 2524 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:35,149 2524 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:35,164 2524 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:51:35,164 2524 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:51:35,196 2524 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-17 04:51:35,196 2524 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-17 04:51:35,212 2524 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-17 04:51:35,227 2524 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:35,227 2524 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:35,242 2524 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-17 04:51:35,242 2524 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:35,258 2524 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-17 04:51:35,258 2524 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:35,274 2524 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-17 04:51:35,274 2524 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:35,290 2524 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-17 04:51:35,290 2524 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-17 04:51:35,306 2524 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:35,321 2524 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-17 04:51:35,337 2524 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-17 04:51:35,477 2524 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-17 04:51:35,524 2524 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-17 04:51:35,524 2524 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-17 04:51:35,539 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:35,555 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:35,571 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:35,571 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:35,587 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-17 04:51:35,587 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-17 04:51:35,603 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:35,603 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:35,618 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:35,618 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:35,633 2524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:35,633 2524 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-17 04:51:35,649 2524 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:51:35,649 2524 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-17 04:51:35,665 2524 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-17 04:51:35,665 2524 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:35,680 2524 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-17 04:51:35,680 2524 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:51:35,696 2524 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-17 04:51:35,696 2524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:35,711 2524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:35,711 2524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:35,728 2524 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-17 04:51:35,743 2524 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:35,759 2524 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-17 04:51:35,759 2524 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-17 04:51:35,774 2524 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:35,774 2524 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-17 04:51:35,789 2524 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-17 04:51:35,789 2524 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:35,805 2524 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-17 04:51:35,821 2524 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-17 04:51:35,821 2524 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:35,978 2524 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-17 04:51:36,009 2524 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-17 04:51:36,103 2524 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-07-17 04:51:36,149 2524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-17 04:51:36,165 2524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-17 04:51:36,181 2524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-17 04:51:36,260 2524 [DEBUG] - Running Get-ToolsLocation
2023-07-17 04:51:36,416 2524 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-07-17 04:51:36,493 2524 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-07-17 04:51:36,539 2524 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-07-17 04:51:36,977 2524 [DEBUG] - Running Update-SessionEnvironment
2023-07-17 04:51:36,993 2524 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-17 04:51:37,713 2524 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-17 04:51:38,026 2524 [DEBUG] - Running Update-SessionEnvironment
2023-07-17 04:51:38,026 2524 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-17 04:51:38,274 2524 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-07-17 04:51:38,289 2524 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-17 04:51:38,383 2524 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-17 04:51:38,399 2524 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' -Scope 'Machine'
2023-07-17 04:51:38,414 2524 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-17 04:51:38,541 2524 [DEBUG] - Running Update-SessionEnvironment
2023-07-17 04:51:38,541 2524 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-17 04:51:38,868 2524 [INFO ] - symbolic link created for C:\tools\gsudo\v2.2.0\sudo.exe <<===>> C:\tools\gsudo\v2.2.0\gsudo.exe
2023-07-17 04:51:38,884 2524 [INFO ] - C:\Program Files\PowerShell\Modules\gsudoModule
2023-07-17 04:51:38,948 2524 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.2.0\
2023-07-17 04:51:38,962 2524 [INFO ] -
2023-07-17 04:51:38,978 2524 [INFO ] - PowerShell users: Add auto-complete to gsudo by adding the following line to your $PROFILE
2023-07-17 04:51:38,978 2524 [INFO ] - Import-Module 'gsudoModule'
2023-07-17 04:51:38,992 2524 [INFO ] - Or run:
2023-07-17 04:51:39,008 2524 [INFO ] - Write-Output "`nImport-Module 'gsudoModule'" | Add-Content $PROFILE
2023-07-17 04:51:39,008 2524 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-07-17 04:51:39,040 2524 [DEBUG] - ----------------------------------------------------------------------
2023-07-17 04:51:39,072 2524 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-17 04:51:39,086 2524 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-17 04:51:39,228 2524 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-17 04:51:39,259 2524 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-17 04:51:39,274 2524 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-17 04:51:39,274 2524 [DEBUG] - * ChocolateyLastPathUpdate='133340430984307054' (User)
2023-07-17 04:51:39,289 2524 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-07-17 04:51:39,289 2524 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' (Machine)
2023-07-17 04:51:39,494 2524 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-17 04:51:39,541 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '4290B623B051124A40704D61080E4358'
2023-07-17 04:51:39,541 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum 'E04EC99FCD2FE4EFF4E6934CDBA84C2C'
2023-07-17 04:51:39,555 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:51:39,571 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:51:39,586 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-17 04:51:39,586 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum '1CBA59920F2676FB2D78AC079FE4E7D1'
2023-07-17 04:51:39,602 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-17 04:51:39,602 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-17 04:51:39,619 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-17 04:51:39,619 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'CE9773C190196FFFF96F512AD77982B6'
2023-07-17 04:51:39,633 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-17 04:51:39,697 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '40199B3066324D761CB4342F976B29B5'
2023-07-17 04:51:39,697 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:51:39,712 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '6FEA164FE2E05127D230D074C0BCF507'
2023-07-17 04:51:39,712 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '677181336FEFB8CFD56D77C45109669E'
2023-07-17 04:51:39,727 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '36A24968EDDD414201042F816FB381C1'
2023-07-17 04:51:39,727 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-17 04:51:39,821 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '2C2DBA5E1B11F9909C45C7A9586D8C1E'
2023-07-17 04:51:39,821 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:51:39,836 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '6FEA164FE2E05127D230D074C0BCF507'
2023-07-17 04:51:39,836 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '54F16B05D6E3AFF3077AB9A0566AB986'
2023-07-17 04:51:39,852 2524 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '9F35F152EE07B1429BE6AB4B366581E6'
2023-07-17 04:51:39,930 2524 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0".
2023-07-17 04:51:39,963 2524 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0\.files'
2023-07-17 04:51:39,992 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0\.extra".
2023-07-17 04:51:40,008 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0\.version".
2023-07-17 04:51:40,008 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0\.sxs".
2023-07-17 04:51:40,024 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.2.0\.pin".
2023-07-17 04:51:40,040 2524 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-17 04:51:40,040 2524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-07-17 04:51:40,056 2524 [INFO ] - The install of gsudo was successful.
2023-07-17 04:51:40,056 2524 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-07-17 04:51:40,071 2524 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\gsudo.2.2.0.nupkg".
2023-07-17 04:51:40,118 2524 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-17 04:51:40,133 2524 [WARN ] -
Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
https://chocolatey.org/compare
2023-07-17 04:51:40,133 2524 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-17 04:51:40,197 2524 [DEBUG] - Exiting with 0
2023-07-17 04:51:52,336 3252 [DEBUG] - XmlConfiguration is now operational
2023-07-17 04:51:52,509 3252 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:52,509 3252 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:52,524 3252 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:52,524 3252 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:52,524 3252 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-17 04:51:52,524 3252 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-17 04:51:52,789 3252 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-17 04:51:52,789 3252 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-17 04:51:52,789 3252 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-17 04:51:52,805 3252 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-17 04:51:52,805 3252 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-17 04:51:52,805 3252 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-17 04:51:52,821 3252 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-17 04:51:52,821 3252 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-17 04:51:52,821 3252 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-17 04:51:52,836 3252 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-17 04:51:52,836 3252 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-17 04:51:52,836 3252 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-17 04:51:52,836 3252 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-17 04:51:52,852 3252 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-17 04:51:52,852 3252 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-17 04:51:52,852 3252 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-17 04:51:52,852 3252 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-17 04:51:52,867 3252 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-17 04:51:53,213 3252 [INFO ] - ============================================================
2023-07-17 04:51:53,696 3252 [INFO ] - Chocolatey v1.3.0
2023-07-17 04:51:53,727 3252 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-17 04:51:53,743 3252 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-17 04:51:53,758 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-17 04:51:53,774 3252 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.2.0 -dvy --execution-timeout=2700
2023-07-17 04:51:53,789 3252 [DEBUG] - Received arguments: uninstall gsudo --version 2.2.0 -dvy --execution-timeout=2700
2023-07-17 04:51:53,961 3252 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-17 04:51:53,993 3252 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-17 04:51:54,024 3252 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-17 04:51:54,196 3252 [DEBUG] - Performing validation checks.
2023-07-17 04:51:54,212 3252 [DEBUG] - Global Configuration Validation Checks:
2023-07-17 04:51:54,212 3252 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-17 04:51:54,227 3252 [DEBUG] - System State Validation Checks:
2023-07-17 04:51:54,243 3252 [DEBUG] - Reboot Requirement Checks:
2023-07-17 04:51:54,258 3252 [DEBUG] - - Pending Computer Rename = Checked
2023-07-17 04:51:54,274 3252 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-17 04:51:54,274 3252 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-17 04:51:54,289 3252 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-17 04:51:54,289 3252 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-17 04:51:54,305 3252 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-17 04:51:54,321 3252 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-17 04:51:54,384 3252 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-17 04:51:54,384 3252 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2023-07-17 04:51:54,430 3252 [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.2.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='gsudo'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-4B6PAMSFE5S'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-07-17 04:51:54,462 3252 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-17 04:51:54,477 3252 [INFO ] - Uninstalling the following packages:
2023-07-17 04:51:54,477 3252 [INFO ] - gsudo
2023-07-17 04:51:54,508 3252 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-17 04:51:54,524 3252 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-17 04:51:54,524 3252 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 04:51:54,539 3252 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-17 04:51:54,539 3252 [DEBUG] - * 'ChocolateyLastPathUpdate'='133340430984307054' ('User')
2023-07-17 04:51:54,539 3252 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-07-17 04:51:54,555 3252 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-17 04:51:54,555 3252 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-17 04:51:54,571 3252 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-17 04:51:54,571 3252 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\tools\gsudo\Current;' ('Machine')
2023-07-17 04:51:54,571 3252 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-17 04:51:54,587 3252 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-17 04:51:54,602 3252 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-17 04:51:54,602 3252 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 04:51:54,617 3252 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-17 04:51:54,617 3252 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-17 04:51:54,634 3252 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-17 04:51:54,634 3252 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-17 04:51:54,649 3252 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-17 04:51:54,649 3252 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-17 04:51:54,649 3252 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-17 04:51:54,664 3252 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-17 04:51:54,821 3252 [DEBUG] - Running list with the following filter = ''
2023-07-17 04:51:54,821 3252 [DEBUG] - --- Start of List ---
2023-07-17 04:51:55,212 3252 [DEBUG] - gsudo 2.2.0
2023-07-17 04:51:55,227 3252 [DEBUG] - --- End of List ---
2023-07-17 04:51:55,400 3252 [DEBUG] - Setting installer args for gsudo
2023-07-17 04:51:55,415 3252 [DEBUG] - Setting package parameters for gsudo
2023-07-17 04:51:55,415 3252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-07-17 04:51:55,447 3252 [DEBUG] - $ErrorActionPreference = 'Ignore'
if (Get-Process gsudo 2> $null) {
if (Get-Command gsudo.exe 2> $null) {
# Stop any gsudo open cache sessions, if any.
gsudo.exe -k 2> $null
Start-Sleep -Milliseconds 500
}
}
$ToolsLocation = Get-ToolsLocation
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$ErrorActionPreference = 'Continue'
2023-07-17 04:51:55,509 3252 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-17 04:51:55,540 3252 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-17 04:51:56,337 3252 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-17 04:51:56,883 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:51:56,899 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:51:56,899 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:51:56,914 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:56,914 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:56,930 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:51:56,930 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:56,946 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:51:56,961 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:56,961 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:51:56,977 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:56,977 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:51:56,992 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:51:56,992 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:57,009 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:51:57,009 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:51:57,024 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:51:57,039 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:51:57,039 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:51:57,055 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:57,055 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:57,070 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:57,086 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:57,086 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:51:57,086 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:51:57,102 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:57,102 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:57,118 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:57,118 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:57,133 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:57,133 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:51:57,149 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:51:57,149 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:51:57,164 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:57,180 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:51:57,195 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:51:57,195 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:57,211 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:57,227 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:57,227 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:51:57,242 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:57,259 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:51:57,259 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:51:57,274 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:57,274 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:51:57,289 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:51:57,289 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:57,305 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:57,305 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:51:57,320 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:51:57,383 3252 [DEBUG] - Loading community extensions
2023-07-17 04:51:57,477 3252 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-17 04:51:57,477 3252 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-17 04:51:57,618 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:51:57,633 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:51:57,649 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:51:57,649 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:51:57,664 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:51:57,664 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:51:57,680 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:51:57,680 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:57,695 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:57,695 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:51:57,711 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:57,711 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:51:57,727 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:57,727 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:51:57,742 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:57,742 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:51:57,758 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:51:57,758 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:57,773 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:51:57,773 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:51:57,789 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:51:57,789 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:51:57,805 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:51:57,805 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:57,821 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:57,821 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:57,836 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:57,852 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:51:57,852 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:51:57,852 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:57,868 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:57,884 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:57,884 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:57,898 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:57,914 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:51:57,914 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:51:57,930 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:51:57,930 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:57,930 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:51:57,946 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:51:57,946 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:57,962 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:57,977 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:57,977 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:51:57,993 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:58,008 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:51:58,008 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:51:58,025 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:51:58,025 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:51:58,039 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:58,039 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:51:58,055 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:51:58,055 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:58,071 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:58,088 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:51:58,105 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:51:58,117 3252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-17 04:51:58,133 3252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-17 04:51:58,133 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-17 04:51:58,133 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-17 04:51:58,149 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-17 04:51:58,149 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-17 04:51:58,165 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-17 04:51:58,165 3252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-17 04:51:58,180 3252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-17 04:51:58,180 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-17 04:51:58,195 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:51:58,195 3252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-17 04:51:58,211 3252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-17 04:51:58,211 3252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-17 04:51:58,227 3252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-17 04:51:58,243 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-17 04:51:58,243 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-17 04:51:58,258 3252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-17 04:51:58,274 3252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-17 04:51:58,274 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:58,289 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:51:58,289 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:51:58,305 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:51:58,305 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-17 04:51:58,321 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-17 04:51:58,321 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:51:58,336 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:51:58,336 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-17 04:51:58,352 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:51:58,352 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-17 04:51:58,367 3252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-17 04:51:58,383 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:51:58,398 3252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-17 04:51:58,398 3252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-17 04:51:58,414 3252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:51:58,430 3252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-17 04:51:58,430 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:51:58,445 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-17 04:51:58,461 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:51:58,461 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:51:58,477 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:51:58,477 3252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-17 04:51:58,492 3252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-17 04:51:58,508 3252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-17 04:51:58,508 3252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-17 04:51:58,524 3252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-17 04:51:58,524 3252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-17 04:51:58,524 3252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-17 04:51:58,540 3252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:51:58,557 3252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-17 04:51:58,557 3252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-17 04:51:58,572 3252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-17 04:51:58,681 3252 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-17 04:51:58,711 3252 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-17 04:51:58,789 3252 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-07-17 04:51:58,931 3252 [DEBUG] - Running Get-ToolsLocation
2023-07-17 04:51:59,056 3252 [DEBUG] - ----------------------------------------------------------------------
2023-07-17 04:51:59,086 3252 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-17 04:51:59,274 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-17 04:51:59,289 3252 [DEBUG] - Backing up existing gsudo prior to operation.
2023-07-17 04:51:59,289 3252 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo'
2023-07-17 04:52:01,320 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-07-17 04:52:01,320 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-07-17 04:52:01,353 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-07-17 04:52:01,368 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-07-17 04:52:01,368 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\bin\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore".
2023-07-17 04:52:01,383 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\bin\sudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore".
2023-07-17 04:52:01,383 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-07-17 04:52:01,399 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-07-17 04:52:01,399 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-07-17 04:52:01,414 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-07-17 04:52:01,414 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-07-17 04:52:01,430 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\Uninstall-ChocolateyPath.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1".
2023-07-17 04:52:01,445 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-07-17 04:52:01,445 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-07-17 04:52:01,461 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-07-17 04:52:01,461 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe".
2023-07-17 04:52:01,476 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore".
2023-07-17 04:52:01,492 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1".
2023-07-17 04:52:01,492 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1".
2023-07-17 04:52:01,508 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1".
2023-07-17 04:52:01,523 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-07-17 04:52:01,527 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-07-17 04:52:01,540 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo.exe"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe".
2023-07-17 04:52:01,572 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo.exe.ignore"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore".
2023-07-17 04:52:01,587 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudoModule.psd1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1".
2023-07-17 04:52:01,587 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudoModule.psm1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1".
2023-07-17 04:52:01,602 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\Invoke-gsudo.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1".
2023-07-17 04:52:03,182 3252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-17 04:52:03,245 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '4290B623B051124A40704D61080E4358'
2023-07-17 04:52:03,245 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum 'E04EC99FCD2FE4EFF4E6934CDBA84C2C'
2023-07-17 04:52:03,258 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:52:03,294 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:52:03,314 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-17 04:52:03,321 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum '1CBA59920F2676FB2D78AC079FE4E7D1'
2023-07-17 04:52:03,321 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-17 04:52:03,336 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-17 04:52:03,352 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-17 04:52:03,352 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'CE9773C190196FFFF96F512AD77982B6'
2023-07-17 04:52:03,367 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-17 04:52:03,461 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum '40199B3066324D761CB4342F976B29B5'
2023-07-17 04:52:03,477 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:52:03,477 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '6FEA164FE2E05127D230D074C0BCF507'
2023-07-17 04:52:03,493 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '677181336FEFB8CFD56D77C45109669E'
2023-07-17 04:52:03,493 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '36A24968EDDD414201042F816FB381C1'
2023-07-17 04:52:03,508 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-17 04:52:03,588 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum '2C2DBA5E1B11F9909C45C7A9586D8C1E'
2023-07-17 04:52:03,602 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-17 04:52:03,618 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '6FEA164FE2E05127D230D074C0BCF507'
2023-07-17 04:52:03,633 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '54F16B05D6E3AFF3077AB9A0566AB986'
2023-07-17 04:52:03,633 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '9F35F152EE07B1429BE6AB4B366581E6'
2023-07-17 04:52:04,852 3252 [INFO ] - [NuGet] Uninstalling 'gsudo 2.2.0'.
2023-07-17 04:52:04,867 3252 [INFO ] -
gsudo v2.2.0
2023-07-17 04:52:04,930 3252 [DEBUG] - Setting installer args for gsudo
2023-07-17 04:52:04,930 3252 [DEBUG] - Setting package parameters for gsudo
2023-07-17 04:52:04,946 3252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-07-17 04:52:04,946 3252 [DEBUG] - Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
function MarkFileDelete {
param(
[parameter(Mandatory=$true)]
[string] $path
)
# the code below has been used from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/10/19/weekend-scripter-use-powershell-and-pinvoke-to-remove-stubborn-files.aspx
# with inspiration from
# http://www.leeholmes.com/blog/2009/02/17/moving-and-deleting-really-locked-files-in-powershell/
# and error handling from
# https://blogs.technet.com/b/heyscriptingguy/archive/2013/06/25/use-powershell-to-interact-with-the-windows-api-part-1.aspx
Add-Type @'
using System;
using System.Text;
using System.Runtime.InteropServices;
public class Posh
{
public enum MoveFileFlags
{
MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004
}
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags);
public static bool MarkFileDelete (string sourcefile)
{
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
}
'@
$deleteResult = [Posh]::MarkFileDelete($path)
if ($deleteResult) {
write-Warning "(Delete of $path failed: Will be deleted at next boot.)"
} else {
write-Warning "(Error marking $path for deletion at next boot.)"
}
}
$installPath = "$(Get-ToolsLocation)\gsudo"
Uninstall-ChocolateyPath "$installPath\Current" 'Machine'
$ErrorActionPreference="Ignore"
# Delete symlinks in Pwsh 5.
Get-ChildItem $installPath -Recurse |? LinkType -eq 'SymbolicLink'|%{$_.Delete()}
# Delete the rest.
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
Remove-Item $installPath -Recurse -Force -ErrorAction Ignore
if (Test-Path $installPath) {
# Files are in use so delete failed.
# Rename used files and directories.
Get-ChildItem $installPath -Recurse -Exclude "*.deleteMe" | Sort-Object -Descending {(++$script:i)} | % { Rename-Item -Path $_.FullName -NewName ($_.Name + ".deleteMe") ; } *> $NULL
# Mark remaining for delete after restart.
Get-ChildItem $installPath -Recurse | % { MarkFileDelete ( $_.FullName) }
MarkFileDelete ( $installPath );
}
$ErrorActionPreference = 'Continue'
2023-07-17 04:52:04,977 3252 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-07-17 04:52:05,089 3252 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-17 04:52:05,197 3252 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-07-17 04:52:05,384 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:52:05,384 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:52:05,399 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:52:05,399 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:52:05,414 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:52:05,430 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:52:05,430 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:52:05,445 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:52:05,445 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:52:05,461 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:52:05,461 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:52:05,477 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:52:05,477 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:52:05,493 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:52:05,508 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:52:05,508 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:52:05,524 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:52:05,524 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:52:05,540 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:52:05,555 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:05,555 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:52:05,711 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:52:05,711 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:52:05,727 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:52:05,727 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:52:05,743 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:52:05,743 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:52:05,758 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:52:05,773 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:52:05,773 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:52:05,789 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:52:05,789 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:52:05,805 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:52:05,805 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:52:05,821 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:52:05,836 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:52:05,852 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:05,852 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:52:05,867 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:52:05,883 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:52:05,883 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:52:05,883 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:52:05,899 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:52:05,899 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:52:05,914 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:52:05,946 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:52:05,961 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:52:05,961 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:52:05,961 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:52:05,977 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:52:05,993 3252 [DEBUG] - Loading community extensions
2023-07-17 04:52:05,993 3252 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-17 04:52:06,008 3252 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-17 04:52:06,055 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:52:06,055 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:52:06,071 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:52:06,086 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:52:06,103 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-17 04:52:06,103 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-17 04:52:06,117 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-17 04:52:06,117 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-17 04:52:06,133 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-17 04:52:06,133 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-17 04:52:06,148 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-17 04:52:06,164 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-17 04:52:06,183 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-17 04:52:06,196 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-17 04:52:06,196 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:52:06,212 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-17 04:52:06,212 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-17 04:52:06,227 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-17 04:52:06,227 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-17 04:52:06,242 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-17 04:52:06,242 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-17 04:52:06,258 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-17 04:52:06,258 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-17 04:52:06,274 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:06,274 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:52:06,274 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:52:06,290 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:52:06,290 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-17 04:52:06,305 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-17 04:52:06,305 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:52:06,321 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:52:06,321 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-17 04:52:06,336 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:52:06,352 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-17 04:52:06,352 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-17 04:52:06,367 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-17 04:52:06,367 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-17 04:52:06,383 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:52:06,383 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-17 04:52:06,399 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-17 04:52:06,399 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:06,414 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:52:06,414 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:52:06,430 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-17 04:52:06,430 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-17 04:52:06,445 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-17 04:52:06,461 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-17 04:52:06,461 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-17 04:52:06,477 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-17 04:52:06,477 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-17 04:52:06,492 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-17 04:52:06,492 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-17 04:52:06,508 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-17 04:52:06,508 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:52:06,524 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-17 04:52:06,524 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-17 04:52:06,539 3252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-17 04:52:06,555 3252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-17 04:52:06,555 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-17 04:52:06,570 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-17 04:52:06,586 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-17 04:52:06,586 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-17 04:52:06,602 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-17 04:52:06,602 3252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-17 04:52:06,618 3252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-17 04:52:06,633 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-17 04:52:06,649 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-17 04:52:06,649 3252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-17 04:52:06,664 3252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-17 04:52:06,680 3252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-17 04:52:06,680 3252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-17 04:52:06,696 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-17 04:52:06,712 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-17 04:52:06,712 3252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-17 04:52:06,726 3252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-17 04:52:06,726 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:06,760 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-17 04:52:06,774 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-17 04:52:06,774 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-17 04:52:06,789 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-17 04:52:06,789 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-17 04:52:06,804 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-17 04:52:06,804 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-17 04:52:06,820 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-17 04:52:06,820 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-17 04:52:06,836 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-17 04:52:06,836 3252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-17 04:52:06,851 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-17 04:52:06,870 3252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-17 04:52:06,882 3252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-17 04:52:06,883 3252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-17 04:52:06,899 3252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-17 04:52:06,899 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-17 04:52:06,914 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-17 04:52:06,914 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-17 04:52:06,930 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-17 04:52:06,930 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-17 04:52:06,946 3252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-17 04:52:06,946 3252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-17 04:52:06,962 3252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-17 04:52:06,962 3252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-17 04:52:06,976 3252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-17 04:52:06,976 3252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-17 04:52:06,992 3252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-17 04:52:06,992 3252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-17 04:52:07,008 3252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-17 04:52:07,008 3252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-17 04:52:07,023 3252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-17 04:52:07,040 3252 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-17 04:52:07,055 3252 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.2.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-17 04:52:07,070 3252 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-07-17 04:52:07,086 3252 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-17 04:52:07,118 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-17 04:52:07,133 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-17 04:52:07,133 3252 [DEBUG] - Running Get-ToolsLocation
2023-07-17 04:52:07,196 3252 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-17 04:52:07,243 3252 [DEBUG] - Running Update-SessionEnvironment
2023-07-17 04:52:07,258 3252 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-17 04:52:07,992 3252 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-07-17 04:52:07,992 3252 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-17 04:52:08,088 3252 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-17 04:52:08,182 3252 [DEBUG] - Running Set-EnvironmentVariable -Name 'Path' -Value '%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' -Scope 'Machine'
2023-07-17 04:52:08,292 3252 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-17 04:52:08,384 3252 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2023-07-17 04:52:08,820 3252 [DEBUG] - Running Update-SessionEnvironment
2023-07-17 04:52:08,836 3252 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-17 04:52:09,133 3252 [DEBUG] - ----------------------------------------------------------------------
2023-07-17 04:52:09,133 3252 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-07-17 04:52:09,180 3252 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-17 04:52:09,196 3252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-17 04:52:09,321 3252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-17 04:52:09,336 3252 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-07-17 04:52:09,414 3252 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,447 3252 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,461 3252 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,461 3252 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,477 3252 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,493 3252 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,508 3252 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-17 04:52:09,508 3252 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,571 3252 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,586 3252 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,601 3252 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,601 3252 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,617 3252 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,617 3252 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-17 04:52:09,634 3252 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,648 3252 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,648 3252 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,664 3252 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,680 3252 [DEBUG] - [NuGet] Removed file 'Uninstall-ChocolateyPath.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,680 3252 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,695 3252 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-17 04:52:09,695 3252 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-17 04:52:09,711 3252 [DEBUG] - [NuGet] Removed file 'sudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-17 04:52:09,711 3252 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-17 04:52:09,727 3252 [DEBUG] - [NuGet] Removed file 'gsudo.nuspec' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-17 04:52:09,742 3252 [DEBUG] - [NuGet] Removed file 'gsudo.nupkg' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-17 04:52:09,742 3252 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-17 04:52:09,758 3252 [INFO ] - [NuGet] Successfully uninstalled 'gsudo 2.2.0'.
2023-07-17 04:52:09,774 3252 [INFO ] - gsudo has been successfully uninstalled.
2023-07-17 04:52:09,790 3252 [DEBUG] - Removing nupkg if it still exists.
2023-07-17 04:52:09,805 3252 [DEBUG] - Ensuring removal of installation files.
2023-07-17 04:52:09,821 3252 [DEBUG] - Ensuring removal of package cache files.
2023-07-17 04:52:09,837 3252 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2023-07-17 04:52:09,852 3252 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-17 04:52:09,852 3252 [DEBUG] - * ChocolateyLastPathUpdate='133340431287430885' (User)
2023-07-17 04:52:09,867 3252 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' (Machine)
2023-07-17 04:52:09,914 3252 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-17 04:52:09,931 3252 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-17 04:52:09,978 3252 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment