Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created July 9, 2023 02:29
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/e77a20ed68d3272b5e3c35ccee435a97 to your computer and use it in GitHub Desktop.
Save choco-bot/e77a20ed68d3272b5e3c35ccee435a97 to your computer and use it in GitHub Desktop.
gsudo v2.1.0 - Passed - Package Tests Results

gsudo v2.1.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/gsudo/2.1.0
  • Tested 09 Jul 2023 02:29:34 +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="2554F01BD4355AAD830155A2626B548D" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec" checksum="72A3A4B5B626882674231DECC42D5842" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1" checksum="05BCB61EDECE55022BDEDE44215B21D0" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1" checksum="E75B7844020C282C59A9CCA59F7BD22F" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1" checksum="C0E4DEB99854A5930301DB23F9D74ED4" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt" checksum="D0D29A00A7DE778CF7BB2E6DF4810B95" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1" checksum="A11BE1C57DFC46D00A88A43E66B11B73" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt" checksum="BACD86D530E6E7DD920E6BF6770552E4" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe" checksum="D9339657FFB0F69D76E570F078BC0A00" />
<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="0276890BED24BCC929B6C57A5244F66E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1" checksum="38BAE03F13F4B0B6C4233FF12DD27BAE" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1" checksum="727D14BF4CEAE6F6C98D97C8ECDA8926" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo" checksum="AAB3C5BBB0902749679A88A044E1A752" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe" checksum="CB04EA245C26A40A1217162021187499" />
<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="0276890BED24BCC929B6C57A5244F66E" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1" checksum="38BAE03F13F4B0B6C4233FF12DD27BAE" />
<file path="C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1" checksum="727D14BF4CEAE6F6C98D97C8ECDA8926" />
</files>
</fileSnapshot>
2023-07-09 02:28:49,061 380 [DEBUG] - XmlConfiguration is now operational
2023-07-09 02:28:49,373 380 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:28:49,373 380 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:28:49,373 380 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:28:49,389 380 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:28:49,389 380 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:28:49,389 380 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-09 02:28:49,701 380 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-09 02:28:49,717 380 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-09 02:28:49,717 380 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-09 02:28:49,717 380 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-09 02:28:49,717 380 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-09 02:28:49,733 380 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-09 02:28:49,733 380 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-09 02:28:49,733 380 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-09 02:28:49,748 380 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-09 02:28:49,748 380 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-09 02:28:49,748 380 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-09 02:28:49,748 380 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-09 02:28:49,764 380 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-09 02:28:49,764 380 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-09 02:28:49,764 380 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-09 02:28:49,781 380 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-09 02:28:49,781 380 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-09 02:28:49,781 380 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-09 02:28:50,155 380 [INFO ] - ============================================================
2023-07-09 02:28:50,531 380 [INFO ] - Chocolatey v1.3.0
2023-07-09 02:28:50,577 380 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-09 02:28:50,577 380 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-09 02:28:50,592 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-09 02:28:50,640 380 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install gsudo --version 2.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-09 02:28:50,654 380 [DEBUG] - Received arguments: install gsudo --version 2.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-07-09 02:28:50,826 380 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-09 02:28:50,842 380 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-09 02:28:50,873 380 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-09 02:28:51,030 380 [DEBUG] - Performing validation checks.
2023-07-09 02:28:51,045 380 [DEBUG] - Global Configuration Validation Checks:
2023-07-09 02:28:51,062 380 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-09 02:28:51,076 380 [DEBUG] - System State Validation Checks:
2023-07-09 02:28:51,092 380 [DEBUG] - Reboot Requirement Checks:
2023-07-09 02:28:51,107 380 [DEBUG] - - Pending Computer Rename = Checked
2023-07-09 02:28:51,107 380 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-09 02:28:51,123 380 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-09 02:28:51,123 380 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-09 02:28:51,139 380 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-09 02:28:51,139 380 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-09 02:28:51,186 380 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-09 02:28:51,233 380 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-09 02:28:51,248 380 [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-09 02:28:51,279 380 [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.1.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-JO4G4VRUDIF'|
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-09 02:28:51,311 380 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-07-09 02:28:51,326 380 [INFO ] - Installing the following packages:
2023-07-09 02:28:51,326 380 [INFO ] - gsudo
2023-07-09 02:28:51,341 380 [INFO ] - By installing, you accept licenses for the packages.
2023-07-09 02:28:51,358 380 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-09 02:28:51,374 380 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-09 02:28:51,374 380 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 02:28:51,389 380 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 02:28:51,389 380 [DEBUG] - * 'ChocolateyLastPathUpdate'='133332917083467005' ('User')
2023-07-09 02:28:51,405 380 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-09 02:28:51,405 380 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-09 02:28:51,405 380 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-09 02:28:51,420 380 [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-09 02:28:51,420 380 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-09 02:28:51,420 380 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-09 02:28:51,436 380 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-09 02:28:51,436 380 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 02:28:51,452 380 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 02:28:51,452 380 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-09 02:28:51,452 380 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-09 02:28:51,467 380 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-09 02:28:51,467 380 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-09 02:28:51,483 380 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-09 02:28:51,483 380 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-09 02:28:51,498 380 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-09 02:28:55,467 380 [INFO ] - [NuGet] Installing 'gsudo 2.1.0'.
2023-07-09 02:28:55,623 380 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:55,639 380 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'gsudo\tools'.
2023-07-09 02:28:55,717 380 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:55,733 380 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'gsudo\tools'.
2023-07-09 02:28:55,748 380 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:55,748 380 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'gsudo\tools'.
2023-07-09 02:28:55,763 380 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:55,763 380 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'gsudo\tools'.
2023-07-09 02:28:56,030 380 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:56,046 380 [DEBUG] - [NuGet] Added file 'Uninstall-ChocolateyPath.psm1' to folder 'gsudo\tools'.
2023-07-09 02:28:56,046 380 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:56,060 380 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'gsudo\tools'.
2023-07-09 02:28:56,060 380 [DEBUG] - [NuGet] Added file 'gsudoModule.psd1' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:56,077 380 [DEBUG] - [NuGet] Added file 'gsudo' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:56,091 380 [DEBUG] - [NuGet] Added file 'gsudoModule.psm1' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:56,123 380 [DEBUG] - [NuGet] Added file 'gsudo.exe' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:56,123 380 [DEBUG] - [NuGet] Added file 'Invoke-gsudo.ps1' to folder 'gsudo\tools\x86'.
2023-07-09 02:28:56,139 380 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\tools\x64'.
2023-07-09 02:28:56,139 380 [DEBUG] - [NuGet] Added file 'gsudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-09 02:28:56,154 380 [DEBUG] - [NuGet] Added file 'sudo.exe.ignore' to folder 'gsudo\bin'.
2023-07-09 02:28:56,326 380 [DEBUG] - [NuGet] Added file 'gsudo.nupkg' to folder 'gsudo'.
2023-07-09 02:28:56,687 380 [DEBUG] - [NuGet] Added file 'gsudo.nuspec' to folder 'gsudo'.
2023-07-09 02:28:56,687 380 [INFO ] - [NuGet] Successfully installed 'gsudo 2.1.0'.
2023-07-09 02:28:56,701 380 [INFO ] -
gsudo v2.1.0 (forced)
2023-07-09 02:28:56,734 380 [INFO ] - gsudo package files install completed. Performing other installation steps.
2023-07-09 02:28:56,828 380 [DEBUG] - Setting installer args for gsudo
2023-07-09 02:28:56,828 380 [DEBUG] - Setting package parameters for gsudo
2023-07-09 02:28:56,842 380 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1':
2023-07-09 02:28:56,858 380 [DEBUG] - function Test-IsSymLink([string]$path) {
$file = Get-Item $path -Force -ea SilentlyContinue
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
Import-Module (Join-Path (Split-Path -parent $MyInvocation.MyCommand.Definition) "Uninstall-ChocolateyPath.psm1")
$ErrorActionPreference = 'Continue'
$ToolsLocation = Get-ToolsLocation
if ([Environment]::Is64BitOperatingSystem -eq $true) {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x64"
} else {
$bin = "$env:ChocolateyInstall\lib\gsudo\tools\x86"
}
if ([System.Environment]::CurrentDirectory -like "$ToolsLocation*") {
Write-Output -Verbose "Changing directory to $ToolsLocation to ensure successfull install/upgrade."
Set-Location $ToolsLocation
}
$TargetDir = ("$ToolsLocation\gsudo\v" + ((Get-Item "$bin\gsudo.exe").VersionInfo.ProductVersion -split "\+" )[0])
$SymLinkDir = "$ToolsLocation\gsudo\Current"
# Add to System Path
mkdir $TargetDir -ErrorAction Ignore > $null
copy "$bin\*" $TargetDir -Exclude *.ignore -Force
Install-ChocolateyPath -PathToInstall $SymLinkDir -PathType 'Machine'
cmd /c mklink "$TargetDir\sudo.exe" "$TargetDir\gsudo.exe" 2>$null
$OldCurrentDir = Get-Item $SymLinkDir -ErrorAction ignore
if ($OldCurrentDir)
{
$OldCurrentDir.Delete()
}
cmd /c mklink /d "$SymLinkDir" "$TargetDir\"
# gsudo powershell module banner.
"";
Write-Output "gsudo successfully installed. Please restart your consoles to use gsudo.`n"
if (Get-Module gsudoModule) {
"Please restart PowerShell to update PowerShell gsudo Module."
} else {
& {
"PowerShell users: To use enhanced gsudo and Invoke-Gsudo cmdlet, add the following line to your `$PROFILE"
" Import-Module '$SymLinkDir\gsudoModule.psd1'"
"Or run: "
" Write-Output `"``nImport-Module '$SymLinkDir\gsudoModule.psd1'`" | Add-Content `$PROFILE"
}
}
2023-07-09 02:28:57,060 380 [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-09 02:28:57,076 380 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-09 02:28:57,810 380 [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-09 02:28:58,498 380 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:28:58,514 380 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:28:58,545 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:28:58,592 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:28:58,607 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:28:58,638 380 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:28:58,654 380 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:28:58,685 380 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:28:58,701 380 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:28:58,701 380 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:28:58,717 380 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:28:58,717 380 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:28:58,732 380 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:28:58,732 380 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:28:58,748 380 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:28:58,764 380 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:28:58,764 380 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:28:58,779 380 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:28:58,779 380 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:28:58,795 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:28:58,795 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:28:58,795 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:28:58,857 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:28:58,873 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:28:58,888 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:28:58,904 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:28:58,982 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:28:58,998 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:28:59,013 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:28:59,013 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:28:59,029 380 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:28:59,029 380 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:28:59,045 380 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:28:59,045 380 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:28:59,060 380 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:28:59,060 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:28:59,076 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:28:59,076 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:28:59,076 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:28:59,091 380 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:28:59,091 380 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:28:59,125 380 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:28:59,125 380 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:28:59,139 380 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:28:59,139 380 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:28:59,154 380 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:28:59,154 380 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:28:59,170 380 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:28:59,170 380 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:28:59,185 380 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:28:59,218 380 [DEBUG] - Loading community extensions
2023-07-09 02:28:59,264 380 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-09 02:28:59,264 380 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-09 02:28:59,389 380 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:28:59,405 380 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:28:59,405 380 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:28:59,419 380 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:28:59,419 380 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:28:59,435 380 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:28:59,435 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:28:59,451 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:28:59,451 380 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:28:59,451 380 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:28:59,467 380 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:28:59,482 380 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:28:59,482 380 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:28:59,498 380 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:28:59,498 380 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:28:59,513 380 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:28:59,513 380 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:28:59,529 380 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:28:59,529 380 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:28:59,545 380 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:28:59,545 380 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:28:59,545 380 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:28:59,560 380 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:28:59,560 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:28:59,576 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:28:59,594 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:28:59,612 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:28:59,622 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:28:59,639 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:28:59,639 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:28:59,655 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:28:59,655 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:28:59,669 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:28:59,685 380 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:28:59,685 380 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:28:59,701 380 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:28:59,701 380 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:28:59,717 380 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:28:59,717 380 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:28:59,717 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:28:59,732 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:28:59,732 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:28:59,748 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:28:59,748 380 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:28:59,764 380 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:28:59,764 380 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:28:59,779 380 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:28:59,794 380 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:28:59,794 380 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:28:59,811 380 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:28:59,811 380 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:28:59,826 380 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:28:59,826 380 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:28:59,842 380 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:28:59,842 380 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:28:59,857 380 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:28:59,857 380 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-09 02:28:59,873 380 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-09 02:28:59,888 380 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-09 02:28:59,888 380 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-09 02:28:59,904 380 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-09 02:28:59,904 380 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-09 02:28:59,920 380 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-09 02:28:59,936 380 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-09 02:28:59,936 380 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-09 02:28:59,936 380 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-09 02:28:59,951 380 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:28:59,967 380 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-09 02:28:59,967 380 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-09 02:28:59,982 380 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-09 02:28:59,982 380 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-09 02:28:59,998 380 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-09 02:28:59,998 380 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-09 02:29:00,013 380 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-09 02:29:00,013 380 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-09 02:29:00,029 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:00,029 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:00,045 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:00,045 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:00,060 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-09 02:29:00,060 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-09 02:29:00,076 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:00,076 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:00,076 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:00,092 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:00,092 380 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:00,108 380 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-09 02:29:00,108 380 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:29:00,123 380 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-09 02:29:00,123 380 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-09 02:29:00,138 380 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:00,138 380 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-09 02:29:00,154 380 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:29:00,154 380 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-09 02:29:00,170 380 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:00,170 380 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:00,185 380 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:00,185 380 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-09 02:29:00,185 380 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:00,201 380 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-09 02:29:00,201 380 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-09 02:29:00,217 380 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:00,217 380 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-09 02:29:00,233 380 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-09 02:29:00,233 380 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:00,248 380 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-09 02:29:00,248 380 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-09 02:29:00,264 380 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:00,358 380 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-09 02:29:00,389 380 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-09 02:29:00,483 380 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
2023-07-09 02:29:00,529 380 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-09 02:29:00,545 380 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-09 02:29:00,545 380 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-09 02:29:00,623 380 [DEBUG] - Running Get-ToolsLocation
2023-07-09 02:29:00,764 380 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2023-07-09 02:29:00,842 380 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2023-07-09 02:29:00,890 380 [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-09 02:29:01,341 380 [DEBUG] - Running Update-SessionEnvironment
2023-07-09 02:29:01,373 380 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-09 02:29:02,264 380 [DEBUG] - Running Install-ChocolateyPath -pathToInstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-09 02:29:02,264 380 [DEBUG] - Running Update-SessionEnvironment
2023-07-09 02:29:02,279 380 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-09 02:29:02,498 380 [INFO ] - PATH environment variable does not have C:\tools\gsudo\Current in it. Adding...
2023-07-09 02:29:02,514 380 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-09 02:29:02,623 380 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-09 02:29:02,623 380 [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-09 02:29:02,654 380 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-09 02:29:02,749 380 [DEBUG] - Running Update-SessionEnvironment
2023-07-09 02:29:02,749 380 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-09 02:29:03,045 380 [INFO ] - symbolic link created for C:\tools\gsudo\v2.1.0\sudo.exe <<===>> C:\tools\gsudo\v2.1.0\gsudo.exe
2023-07-09 02:29:03,093 380 [INFO ] - symbolic link created for C:\tools\gsudo\Current <<===>> C:\tools\gsudo\v2.1.0\
2023-07-09 02:29:03,093 380 [INFO ] -
2023-07-09 02:29:03,107 380 [INFO ] - gsudo successfully installed. Please restart your consoles to use gsudo.
2023-07-09 02:29:03,123 380 [INFO ] - PowerShell users: To use enhanced gsudo and Invoke-Gsudo cmdlet, add the following line to your $PROFILE
2023-07-09 02:29:03,123 380 [INFO ] - Import-Module 'C:\tools\gsudo\Current\gsudoModule.psd1'
2023-07-09 02:29:03,138 380 [INFO ] - Or run:
2023-07-09 02:29:03,138 380 [INFO ] - Write-Output "`nImport-Module 'C:\tools\gsudo\Current\gsudoModule.psd1'" | Add-Content $PROFILE
2023-07-09 02:29:03,169 380 [DEBUG] - ----------------------------------------------------------------------
2023-07-09 02:29:03,185 380 [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-09 02:29:03,201 380 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-09 02:29:03,311 380 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-09 02:29:03,342 380 [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-09 02:29:03,357 380 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-09 02:29:03,357 380 [DEBUG] - * ChocolateyLastPathUpdate='133333433426703817' (User)
2023-07-09 02:29:03,373 380 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2023-07-09 02:29:03,388 380 [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-09 02:29:03,561 380 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-09 02:29:03,607 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '2554F01BD4355AAD830155A2626B548D'
2023-07-09 02:29:03,623 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '72A3A4B5B626882674231DECC42D5842'
2023-07-09 02:29:03,623 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:03,639 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:03,639 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-09 02:29:03,654 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'E75B7844020C282C59A9CCA59F7BD22F'
2023-07-09 02:29:03,654 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-09 02:29:03,670 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-09 02:29:03,670 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-09 02:29:03,686 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'BACD86D530E6E7DD920E6BF6770552E4'
2023-07-09 02:29:03,686 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-09 02:29:03,748 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'D9339657FFB0F69D76E570F078BC0A00'
2023-07-09 02:29:03,763 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:03,763 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '0276890BED24BCC929B6C57A5244F66E'
2023-07-09 02:29:03,779 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '38BAE03F13F4B0B6C4233FF12DD27BAE'
2023-07-09 02:29:03,779 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '727D14BF4CEAE6F6C98D97C8ECDA8926'
2023-07-09 02:29:03,794 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-09 02:29:03,857 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum 'CB04EA245C26A40A1217162021187499'
2023-07-09 02:29:03,873 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:03,873 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '0276890BED24BCC929B6C57A5244F66E'
2023-07-09 02:29:03,888 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '38BAE03F13F4B0B6C4233FF12DD27BAE'
2023-07-09 02:29:03,888 380 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '727D14BF4CEAE6F6C98D97C8ECDA8926'
2023-07-09 02:29:03,951 380 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0".
2023-07-09 02:29:03,998 380 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0\.files'
2023-07-09 02:29:04,013 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0\.extra".
2023-07-09 02:29:04,013 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0\.version".
2023-07-09 02:29:04,029 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0\.sxs".
2023-07-09 02:29:04,029 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gsudo.2.1.0\.pin".
2023-07-09 02:29:04,045 380 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-07-09 02:29:04,060 380 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gsudo\.chocolateyPending".
2023-07-09 02:29:04,076 380 [INFO ] - The install of gsudo was successful.
2023-07-09 02:29:04,076 380 [INFO ] - Software installed to 'C:\tools\gsudo'
2023-07-09 02:29:04,092 380 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\gsudo.2.1.0.nupkg".
2023-07-09 02:29:04,138 380 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-09 02:29:04,154 380 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-09 02:29:04,217 380 [DEBUG] - Exiting with 0
2023-07-09 02:29:16,638 2856 [DEBUG] - XmlConfiguration is now operational
2023-07-09 02:29:16,810 2856 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:29:16,810 2856 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:29:16,825 2856 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:29:16,825 2856 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:29:16,825 2856 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-07-09 02:29:16,825 2856 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-07-09 02:29:17,060 2856 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-07-09 02:29:17,076 2856 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-07-09 02:29:17,076 2856 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-07-09 02:29:17,076 2856 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-07-09 02:29:17,091 2856 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-07-09 02:29:17,091 2856 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-07-09 02:29:17,091 2856 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-07-09 02:29:17,091 2856 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-07-09 02:29:17,107 2856 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-07-09 02:29:17,107 2856 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-07-09 02:29:17,107 2856 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-07-09 02:29:17,122 2856 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-07-09 02:29:17,122 2856 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-07-09 02:29:17,122 2856 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-07-09 02:29:17,138 2856 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-07-09 02:29:17,153 2856 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-07-09 02:29:17,153 2856 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-07-09 02:29:17,153 2856 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-07-09 02:29:17,450 2856 [INFO ] - ============================================================
2023-07-09 02:29:17,841 2856 [INFO ] - Chocolatey v1.3.0
2023-07-09 02:29:17,857 2856 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-07-09 02:29:17,873 2856 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-07-09 02:29:17,888 2856 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-07-09 02:29:17,904 2856 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall gsudo --version 2.1.0 -dvy --execution-timeout=2700
2023-07-09 02:29:17,919 2856 [DEBUG] - Received arguments: uninstall gsudo --version 2.1.0 -dvy --execution-timeout=2700
2023-07-09 02:29:18,092 2856 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-07-09 02:29:18,108 2856 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-07-09 02:29:18,139 2856 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-07-09 02:29:18,295 2856 [DEBUG] - Performing validation checks.
2023-07-09 02:29:18,310 2856 [DEBUG] - Global Configuration Validation Checks:
2023-07-09 02:29:18,310 2856 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-07-09 02:29:18,325 2856 [DEBUG] - System State Validation Checks:
2023-07-09 02:29:18,341 2856 [DEBUG] - Reboot Requirement Checks:
2023-07-09 02:29:18,357 2856 [DEBUG] - - Pending Computer Rename = Checked
2023-07-09 02:29:18,357 2856 [DEBUG] - - Pending Component Based Servicing = Checked
2023-07-09 02:29:18,373 2856 [DEBUG] - - Pending Windows Auto Update = Checked
2023-07-09 02:29:18,373 2856 [DEBUG] - - Pending File Rename Operations = Ignored
2023-07-09 02:29:18,388 2856 [DEBUG] - - Pending Windows Package Installer = Checked
2023-07-09 02:29:18,403 2856 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-07-09 02:29:18,420 2856 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-07-09 02:29:18,467 2856 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-07-09 02:29:18,482 2856 [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-09 02:29:18,529 2856 [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.1.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-JO4G4VRUDIF'|
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-09 02:29:18,544 2856 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-07-09 02:29:18,576 2856 [INFO ] - Uninstalling the following packages:
2023-07-09 02:29:18,592 2856 [INFO ] - gsudo
2023-07-09 02:29:18,607 2856 [DEBUG] - Current environment values (may contain sensitive data):
2023-07-09 02:29:18,624 2856 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-07-09 02:29:18,624 2856 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 02:29:18,624 2856 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-07-09 02:29:18,638 2856 [DEBUG] - * 'ChocolateyLastPathUpdate'='133333433426703817' ('User')
2023-07-09 02:29:18,638 2856 [DEBUG] - * 'ChocolateyToolsLocation'='C:\tools' ('User')
2023-07-09 02:29:18,654 2856 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-07-09 02:29:18,654 2856 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-07-09 02:29:18,654 2856 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-07-09 02:29:18,669 2856 [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-09 02:29:18,669 2856 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-07-09 02:29:18,686 2856 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-07-09 02:29:18,686 2856 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-07-09 02:29:18,701 2856 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 02:29:18,701 2856 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-07-09 02:29:18,720 2856 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-07-09 02:29:18,720 2856 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-07-09 02:29:18,731 2856 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-07-09 02:29:18,731 2856 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-07-09 02:29:18,747 2856 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-07-09 02:29:18,747 2856 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-07-09 02:29:18,763 2856 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-07-09 02:29:18,919 2856 [DEBUG] - Running list with the following filter = ''
2023-07-09 02:29:18,919 2856 [DEBUG] - --- Start of List ---
2023-07-09 02:29:19,294 2856 [DEBUG] - gsudo 2.1.0
2023-07-09 02:29:19,326 2856 [DEBUG] - --- End of List ---
2023-07-09 02:29:19,484 2856 [DEBUG] - Setting installer args for gsudo
2023-07-09 02:29:19,484 2856 [DEBUG] - Setting package parameters for gsudo
2023-07-09 02:29:19,484 2856 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1':
2023-07-09 02:29:19,515 2856 [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-09 02:29:19,577 2856 [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-09 02:29:19,591 2856 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-09 02:29:20,374 2856 [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-09 02:29:21,092 2856 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:29:21,092 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:29:21,107 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:29:21,107 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:21,122 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:21,122 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:29:21,137 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:21,137 2856 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:29:21,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:21,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:29:21,169 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:21,169 2856 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:29:21,169 2856 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:29:21,185 2856 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:21,185 2856 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:29:21,200 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:29:21,200 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:29:21,216 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:29:21,216 2856 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:29:21,232 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:21,232 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:21,248 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:21,248 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:21,263 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:29:21,263 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:29:21,279 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:21,294 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:21,309 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:21,309 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:21,325 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:21,342 2856 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:29:21,357 2856 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:29:21,372 2856 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:29:21,372 2856 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:21,388 2856 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:29:21,404 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:29:21,404 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:21,420 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:21,420 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:21,435 2856 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:29:21,435 2856 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:21,450 2856 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:29:21,466 2856 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:29:21,466 2856 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:21,482 2856 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:29:21,482 2856 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:29:21,497 2856 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:21,497 2856 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:21,513 2856 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:29:21,513 2856 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:29:21,560 2856 [DEBUG] - Loading community extensions
2023-07-09 02:29:21,672 2856 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-09 02:29:21,686 2856 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-09 02:29:21,811 2856 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:29:21,873 2856 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:29:21,982 2856 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:29:21,997 2856 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:29:22,013 2856 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:29:22,013 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:29:22,029 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:29:22,029 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:22,044 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:22,044 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:29:22,060 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:22,060 2856 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:29:22,075 2856 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:22,075 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:29:22,091 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:22,107 2856 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:29:22,123 2856 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:29:22,123 2856 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:22,138 2856 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:29:22,138 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:29:22,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:29:22,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:29:22,169 2856 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:29:22,169 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:22,185 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:22,185 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:22,200 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:22,200 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:29:22,216 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:29:22,232 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:22,232 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:22,247 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:22,264 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:22,264 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:22,279 2856 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:29:22,294 2856 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:29:22,294 2856 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:29:22,310 2856 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:22,310 2856 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:29:22,310 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:29:22,326 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:22,326 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:22,342 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:22,342 2856 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:29:22,357 2856 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:22,357 2856 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:29:22,372 2856 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:29:22,372 2856 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:29:22,388 2856 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:29:22,388 2856 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:22,404 2856 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:29:22,404 2856 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:29:22,419 2856 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:22,419 2856 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:22,419 2856 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:29:22,435 2856 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:29:22,451 2856 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-09 02:29:22,466 2856 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-09 02:29:22,466 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-09 02:29:22,482 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:22,497 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:22,513 2856 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-09 02:29:22,513 2856 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:22,529 2856 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-09 02:29:22,544 2856 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:22,544 2856 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-09 02:29:22,560 2856 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:22,560 2856 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-09 02:29:22,575 2856 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-09 02:29:22,575 2856 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:22,591 2856 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-09 02:29:22,591 2856 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-09 02:29:22,607 2856 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-09 02:29:22,622 2856 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-09 02:29:22,622 2856 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-09 02:29:22,638 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:22,654 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:22,670 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:22,670 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:22,685 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-09 02:29:22,685 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-09 02:29:22,700 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:22,700 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:22,716 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:22,716 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:22,732 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:22,748 2856 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-09 02:29:22,763 2856 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:29:22,779 2856 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-09 02:29:22,779 2856 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-09 02:29:22,794 2856 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:22,794 2856 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-09 02:29:22,810 2856 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:29:22,810 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-09 02:29:22,825 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:22,825 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:22,844 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:22,857 2856 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-09 02:29:22,857 2856 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:22,872 2856 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-09 02:29:22,872 2856 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-09 02:29:22,887 2856 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:22,887 2856 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-09 02:29:22,903 2856 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-09 02:29:22,903 2856 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:22,919 2856 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-09 02:29:22,919 2856 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-09 02:29:22,919 2856 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:23,029 2856 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-09 02:29:23,060 2856 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-09 02:29:23,123 2856 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
2023-07-09 02:29:23,248 2856 [DEBUG] - Running Get-ToolsLocation
2023-07-09 02:29:23,311 2856 [DEBUG] - ----------------------------------------------------------------------
2023-07-09 02:29:23,325 2856 [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-09 02:29:23,514 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-07-09 02:29:23,514 2856 [DEBUG] - Backing up existing gsudo prior to operation.
2023-07-09 02:29:23,529 2856 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\gsudo'
to 'C:\ProgramData\chocolatey\lib-bkp\gsudo'
2023-07-09 02:29:25,560 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo".
2023-07-09 02:29:25,560 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nupkg"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg".
2023-07-09 02:29:25,593 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\gsudo.nuspec"
to "C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec".
2023-07-09 02:29:25,608 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\bin".
2023-07-09 02:29:25,608 2856 [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-09 02:29:25,623 2856 [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-09 02:29:25,623 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools".
2023-07-09 02:29:25,638 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateybeforemodify.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1".
2023-07-09 02:29:25,638 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1".
2023-07-09 02:29:25,654 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1".
2023-07-09 02:29:25,669 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt".
2023-07-09 02:29:25,669 2856 [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-09 02:29:25,685 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt".
2023-07-09 02:29:25,685 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x64".
2023-07-09 02:29:25,701 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x64\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo".
2023-07-09 02:29:25,716 2856 [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-09 02:29:25,732 2856 [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-09 02:29:25,732 2856 [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-09 02:29:25,747 2856 [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-09 02:29:25,747 2856 [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-09 02:29:25,763 2856 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\gsudo\tools\x86".
2023-07-09 02:29:25,779 2856 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\gsudo\tools\x86\gsudo"
to "C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo".
2023-07-09 02:29:25,779 2856 [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-09 02:29:25,810 2856 [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-09 02:29:25,827 2856 [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-09 02:29:25,841 2856 [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-09 02:29:25,841 2856 [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-09 02:29:27,389 2856 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gsudo'
2023-07-09 02:29:27,436 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nupkg'
with checksum '2554F01BD4355AAD830155A2626B548D'
2023-07-09 02:29:27,451 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\gsudo.nuspec'
with checksum '72A3A4B5B626882674231DECC42D5842'
2023-07-09 02:29:27,451 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:27,466 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\bin\sudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:27,466 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateybeforemodify.ps1'
with checksum '05BCB61EDECE55022BDEDE44215B21D0'
2023-07-09 02:29:27,481 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyinstall.ps1'
with checksum 'E75B7844020C282C59A9CCA59F7BD22F'
2023-07-09 02:29:27,481 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
with checksum 'C0E4DEB99854A5930301DB23F9D74ED4'
2023-07-09 02:29:27,481 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\LICENSE.txt'
with checksum 'D0D29A00A7DE778CF7BB2E6DF4810B95'
2023-07-09 02:29:27,497 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'
with checksum 'A11BE1C57DFC46D00A88A43E66B11B73'
2023-07-09 02:29:27,497 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\VERIFICATION.txt'
with checksum 'BACD86D530E6E7DD920E6BF6770552E4'
2023-07-09 02:29:27,513 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-09 02:29:27,592 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe'
with checksum 'D9339657FFB0F69D76E570F078BC0A00'
2023-07-09 02:29:27,592 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:27,607 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psd1'
with checksum '0276890BED24BCC929B6C57A5244F66E'
2023-07-09 02:29:27,607 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\gsudoModule.psm1'
with checksum '38BAE03F13F4B0B6C4233FF12DD27BAE'
2023-07-09 02:29:27,622 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64\Invoke-gsudo.ps1'
with checksum '727D14BF4CEAE6F6C98D97C8ECDA8926'
2023-07-09 02:29:27,622 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo'
with checksum 'AAB3C5BBB0902749679A88A044E1A752'
2023-07-09 02:29:27,686 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe'
with checksum 'CB04EA245C26A40A1217162021187499'
2023-07-09 02:29:27,701 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudo.exe.ignore'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-07-09 02:29:27,701 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psd1'
with checksum '0276890BED24BCC929B6C57A5244F66E'
2023-07-09 02:29:27,716 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\gsudoModule.psm1'
with checksum '38BAE03F13F4B0B6C4233FF12DD27BAE'
2023-07-09 02:29:27,716 2856 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86\Invoke-gsudo.ps1'
with checksum '727D14BF4CEAE6F6C98D97C8ECDA8926'
2023-07-09 02:29:28,810 2856 [INFO ] - [NuGet] Uninstalling 'gsudo 2.1.0'.
2023-07-09 02:29:28,826 2856 [INFO ] -
gsudo v2.1.0
2023-07-09 02:29:28,872 2856 [DEBUG] - Setting installer args for gsudo
2023-07-09 02:29:28,888 2856 [DEBUG] - Setting package parameters for gsudo
2023-07-09 02:29:28,888 2856 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1':
2023-07-09 02:29:28,888 2856 [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-09 02:29:28,903 2856 [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-09 02:29:28,967 2856 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-07-09 02:29:29,076 2856 [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-09 02:29:29,278 2856 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:29:29,278 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:29:29,295 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:29:29,310 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:29,310 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:29,325 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:29:29,325 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:29,341 2856 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:29:29,341 2856 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:29,357 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:29:29,373 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:29,373 2856 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:29:29,388 2856 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:29:29,406 2856 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:29,419 2856 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:29:29,419 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:29:29,434 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:29:29,434 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:29:29,450 2856 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:29:29,450 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:29,466 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:29,466 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:29,481 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:29,498 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:29:29,513 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:29:29,513 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:29,529 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:29,544 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:29,560 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:29,560 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:29,575 2856 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:29:29,575 2856 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:29:29,591 2856 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:29:29,607 2856 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:29,607 2856 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:29:29,607 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:29:29,622 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:29,622 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:29,638 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:29,638 2856 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:29:29,809 2856 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:29,825 2856 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:29:29,825 2856 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:29:29,841 2856 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:29,841 2856 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:29:29,856 2856 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:29:29,856 2856 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:29,856 2856 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:29,872 2856 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:29:29,872 2856 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:29:29,888 2856 [DEBUG] - Loading community extensions
2023-07-09 02:29:29,904 2856 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-07-09 02:29:29,920 2856 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-07-09 02:29:29,983 2856 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:29:29,997 2856 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:29:29,997 2856 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:29:30,013 2856 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:29:30,013 2856 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-07-09 02:29:30,030 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-07-09 02:29:30,044 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-07-09 02:29:30,044 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:30,060 2856 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:30,060 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-07-09 02:29:30,076 2856 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:30,091 2856 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-07-09 02:29:30,091 2856 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:30,107 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-07-09 02:29:30,107 2856 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:30,122 2856 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-07-09 02:29:30,122 2856 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-07-09 02:29:30,140 2856 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:30,140 2856 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-07-09 02:29:30,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-07-09 02:29:30,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-07-09 02:29:30,153 2856 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-07-09 02:29:30,169 2856 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-07-09 02:29:30,169 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:30,185 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:30,185 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:30,200 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:30,200 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-07-09 02:29:30,216 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-07-09 02:29:30,216 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:30,231 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:30,231 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:30,231 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:30,247 2856 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:30,263 2856 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-07-09 02:29:30,263 2856 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-07-09 02:29:30,278 2856 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-07-09 02:29:30,278 2856 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:30,294 2856 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-07-09 02:29:30,294 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-07-09 02:29:30,310 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:30,310 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:30,325 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:30,325 2856 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-07-09 02:29:30,341 2856 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:30,341 2856 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-07-09 02:29:30,356 2856 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-07-09 02:29:30,356 2856 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-07-09 02:29:30,374 2856 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-07-09 02:29:30,388 2856 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:30,388 2856 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-07-09 02:29:30,403 2856 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-07-09 02:29:30,403 2856 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:30,420 2856 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:30,420 2856 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-07-09 02:29:30,435 2856 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-07-09 02:29:30,451 2856 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-07-09 02:29:30,451 2856 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-07-09 02:29:30,467 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-07-09 02:29:30,482 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-07-09 02:29:30,497 2856 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-07-09 02:29:30,497 2856 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-07-09 02:29:30,513 2856 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-07-09 02:29:30,513 2856 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-07-09 02:29:30,528 2856 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-07-09 02:29:30,544 2856 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-07-09 02:29:30,544 2856 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-07-09 02:29:30,560 2856 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-07-09 02:29:30,575 2856 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-07-09 02:29:30,575 2856 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-07-09 02:29:30,591 2856 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-07-09 02:29:30,591 2856 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-07-09 02:29:30,606 2856 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-07-09 02:29:30,622 2856 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-07-09 02:29:30,622 2856 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-07-09 02:29:30,638 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:30,638 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-07-09 02:29:30,638 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-07-09 02:29:30,653 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-07-09 02:29:30,653 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-07-09 02:29:30,669 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-07-09 02:29:30,669 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-07-09 02:29:30,684 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-07-09 02:29:30,684 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-07-09 02:29:30,684 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-07-09 02:29:30,701 2856 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-07-09 02:29:30,701 2856 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-07-09 02:29:30,716 2856 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-07-09 02:29:30,716 2856 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-07-09 02:29:30,732 2856 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-07-09 02:29:30,732 2856 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-07-09 02:29:30,748 2856 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-07-09 02:29:30,748 2856 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-07-09 02:29:30,763 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-07-09 02:29:30,763 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-07-09 02:29:30,778 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-07-09 02:29:30,778 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-07-09 02:29:30,794 2856 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-07-09 02:29:30,794 2856 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-07-09 02:29:30,794 2856 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-07-09 02:29:30,812 2856 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-07-09 02:29:30,826 2856 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-07-09 02:29:30,826 2856 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-07-09 02:29:30,841 2856 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-07-09 02:29:30,841 2856 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-07-09 02:29:30,857 2856 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-07-09 02:29:30,857 2856 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-07-09 02:29:30,857 2856 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-07-09 02:29:30,872 2856 [DEBUG] - ---------------------------Script Execution---------------------------
2023-07-09 02:29:30,888 2856 [DEBUG] - Running 'ChocolateyScriptRunner' for gsudo v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gsudo', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-07-09 02:29:30,904 2856 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gsudo\tools\chocolateyuninstall.ps1'
2023-07-09 02:29:30,951 2856 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\gsudo\tools\Uninstall-ChocolateyPath.psm1'.
2023-07-09 02:29:30,967 2856 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPath'.
2023-07-09 02:29:30,982 2856 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPath'.
2023-07-09 02:29:30,998 2856 [DEBUG] - Running Get-ToolsLocation
2023-07-09 02:29:31,076 2856 [DEBUG] - Running Uninstall-ChocolateyPath -pathToUninstall 'C:\tools\gsudo\Current' -pathType 'Machine'
2023-07-09 02:29:31,123 2856 [DEBUG] - Running Update-SessionEnvironment
2023-07-09 02:29:31,123 2856 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-09 02:29:31,810 2856 [INFO ] - PATH environment variable has C:\tools\gsudo\Current in it. Removing...
2023-07-09 02:29:31,810 2856 [INFO ] - VERBOSE: Choosing not to expand environment names
2023-07-09 02:29:31,919 2856 [DEBUG] - Test-ProcessAdminRights: returning True
2023-07-09 02:29:31,983 2856 [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-09 02:29:32,029 2856 [DEBUG] - Registry type for Path is/will be ExpandString
2023-07-09 02:29:32,060 2856 [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-09 02:29:32,420 2856 [DEBUG] - Running Update-SessionEnvironment
2023-07-09 02:29:32,420 2856 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2023-07-09 02:29:32,669 2856 [DEBUG] - ----------------------------------------------------------------------
2023-07-09 02:29:32,685 2856 [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-09 02:29:32,716 2856 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2023-07-09 02:29:32,732 2856 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-07-09 02:29:32,857 2856 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-07-09 02:29:32,872 2856 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\gsudo".
2023-07-09 02:29:32,951 2856 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:32,966 2856 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:32,966 2856 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:32,981 2856 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:32,997 2856 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:33,014 2856 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:33,029 2856 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x64'.
2023-07-09 02:29:33,029 2856 [DEBUG] - [NuGet] Removed file 'gsudo' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,091 2856 [DEBUG] - [NuGet] Removed file 'gsudo.exe' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,091 2856 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,107 2856 [DEBUG] - [NuGet] Removed file 'gsudoModule.psd1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,107 2856 [DEBUG] - [NuGet] Removed file 'gsudoModule.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,122 2856 [DEBUG] - [NuGet] Removed file 'Invoke-gsudo.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,122 2856 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools\x86'.
2023-07-09 02:29:33,138 2856 [DEBUG] - [NuGet] Removed file 'chocolateybeforemodify.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,169 2856 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,185 2856 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,185 2856 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,185 2856 [DEBUG] - [NuGet] Removed file 'Uninstall-ChocolateyPath.psm1' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,201 2856 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,201 2856 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\tools'.
2023-07-09 02:29:33,216 2856 [DEBUG] - [NuGet] Removed file 'gsudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-09 02:29:33,216 2856 [DEBUG] - [NuGet] Removed file 'sudo.exe.ignore' to folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-09 02:29:33,232 2856 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo\bin'.
2023-07-09 02:29:33,247 2856 [DEBUG] - [NuGet] Removed file 'gsudo.nuspec' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-09 02:29:33,247 2856 [DEBUG] - [NuGet] Removed file 'gsudo.nupkg' to folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-09 02:29:33,263 2856 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\gsudo'.
2023-07-09 02:29:33,263 2856 [INFO ] - [NuGet] Successfully uninstalled 'gsudo 2.1.0'.
2023-07-09 02:29:33,279 2856 [INFO ] - gsudo has been successfully uninstalled.
2023-07-09 02:29:33,295 2856 [DEBUG] - Removing nupkg if it still exists.
2023-07-09 02:29:33,310 2856 [DEBUG] - Ensuring removal of installation files.
2023-07-09 02:29:33,310 2856 [DEBUG] - Ensuring removal of package cache files.
2023-07-09 02:29:33,341 2856 [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-09 02:29:33,341 2856 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2023-07-09 02:29:33,356 2856 [DEBUG] - * ChocolateyLastPathUpdate='133333433723599820' (User)
2023-07-09 02:29:33,356 2856 [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-09 02:29:33,404 2856 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-07-09 02:29:33,419 2856 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-07-09 02:29:33,467 2856 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment