Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created April 18, 2025 18:43
Show Gist options
  • Save choco-bot/6e2594cbbd9912e4581129296473bfba to your computer and use it in GitHub Desktop.
Save choco-bot/6e2594cbbd9912e4581129296473bfba to your computer and use it in GitHub Desktop.
PowerShell v5.1.14409.20180811 - Passed - Package Tests Results

PowerShell v5.1.14409.20180811 - Passed - Package Test Results

<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg" checksum="EFEFB5386C6A693490A02BB189EA148D" />
<file path="C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec" checksum="EE595452035C1EDB3CD1FC4B3FC3AF27" />
<file path="C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1" checksum="08A23313BC54709344AE618CE6020BE3" />
<file path="C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1" checksum="06BDEE8254D1120913F843855A88FA5B" />
</files>
</fileSnapshot>
2025-04-18 18:42:03,814 2268 [DEBUG] - XmlConfiguration is now operational
2025-04-18 18:42:04,127 2268 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,143 2268 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,143 2268 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,160 2268 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,160 2268 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,192 2268 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,207 2268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,207 2268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,224 2268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:42:04,235 2268 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2025-04-18 18:42:04,235 2268 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2025-04-18 18:42:05,625 2268 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,625 2268 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,625 2268 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,643 2268 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,643 2268 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,658 2268 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,658 2268 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,674 2268 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,674 2268 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,691 2268 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:42:05,719 2268 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2025-04-18 18:42:05,737 2268 [DEBUG] - Registering new command 'list' in assembly 'choco'
2025-04-18 18:42:05,751 2268 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2025-04-18 18:42:05,751 2268 [DEBUG] - Registering new command 'template' in assembly 'choco'
2025-04-18 18:42:05,751 2268 [DEBUG] - Registering new command 'export' in assembly 'choco'
2025-04-18 18:42:05,767 2268 [DEBUG] - Registering new command 'info' in assembly 'choco'
2025-04-18 18:42:05,783 2268 [DEBUG] - Registering new command 'help' in assembly 'choco'
2025-04-18 18:42:05,783 2268 [DEBUG] - Registering new command 'config' in assembly 'choco'
2025-04-18 18:42:05,783 2268 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2025-04-18 18:42:05,806 2268 [DEBUG] - Registering new command 'new' in assembly 'choco'
2025-04-18 18:42:05,813 2268 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2025-04-18 18:42:05,813 2268 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2025-04-18 18:42:05,828 2268 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2025-04-18 18:42:05,845 2268 [DEBUG] - Registering new command 'push' in assembly 'choco'
2025-04-18 18:42:05,860 2268 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2025-04-18 18:42:05,860 2268 [DEBUG] - Registering new command 'source' in assembly 'choco'
2025-04-18 18:42:05,876 2268 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2025-04-18 18:42:05,892 2268 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2025-04-18 18:42:05,892 2268 [DEBUG] - Registering new command 'search' in assembly 'choco'
2025-04-18 18:42:05,909 2268 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2025-04-18 18:42:05,923 2268 [DEBUG] - Registering new command 'install' in assembly 'choco'
2025-04-18 18:42:06,392 2268 [INFO ] - ============================================================
2025-04-18 18:42:07,048 2268 [INFO ] - Chocolatey v2.4.3
2025-04-18 18:42:07,079 2268 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2025-04-18 18:42:07,097 2268 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-04-18 18:42:07,111 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-04-18 18:42:07,144 2268 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install PowerShell --version 5.1.14409.20180811 -fdvy --execution-timeout=2700 --allow-downgrade
2025-04-18 18:42:07,158 2268 [DEBUG] - Received arguments: install PowerShell --version 5.1.14409.20180811 -fdvy --execution-timeout=2700 --allow-downgrade
2025-04-18 18:42:07,453 2268 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-04-18 18:42:07,502 2268 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-04-18 18:42:07,534 2268 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-04-18 18:42:07,953 2268 [DEBUG] - Performing validation checks.
2025-04-18 18:42:07,969 2268 [DEBUG] - Global Configuration Validation Checks:
2025-04-18 18:42:07,988 2268 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-04-18 18:42:08,016 2268 [DEBUG] - System State Validation Checks:
2025-04-18 18:42:08,033 2268 [DEBUG] - Reboot Requirement Checks:
2025-04-18 18:42:08,048 2268 [DEBUG] - - Pending Computer Rename = Checked
2025-04-18 18:42:08,065 2268 [DEBUG] - - Pending Component Based Servicing = Checked
2025-04-18 18:42:08,079 2268 [DEBUG] - - Pending Windows Auto Update = Checked
2025-04-18 18:42:08,094 2268 [DEBUG] - - Pending File Rename Operations = Ignored
2025-04-18 18:42:08,111 2268 [DEBUG] - - Pending Windows Package Installer = Checked
2025-04-18 18:42:08,111 2268 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2025-04-18 18:42:08,142 2268 [DEBUG] - Cache Folder Lockdown Checks:
2025-04-18 18:42:08,142 2268 [DEBUG] - - Elevated State = Checked
2025-04-18 18:42:08,159 2268 [DEBUG] - - Folder Exists = Checked
2025-04-18 18:42:08,174 2268 [DEBUG] - - Folder lockdown = Checked
2025-04-18 18:42:08,189 2268 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2025-04-18 18:42:08,299 2268 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2025-04-18 18:42:08,344 2268 [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.
2025-04-18 18:42:08,470 2268 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='PowerShell'|
Version='5.1.14409.20180811'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='PowerShell'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.3.0'|
Information.ChocolateyProductVersion='2.4.3'|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IP2MS2TFAV8'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2025-04-18 18:42:08,470 2268 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2025-04-18 18:42:08,502 2268 [INFO ] - Installing the following packages:
2025-04-18 18:42:08,517 2268 [INFO ] - PowerShell
2025-04-18 18:42:08,534 2268 [INFO ] - By installing, you accept licenses for the packages.
2025-04-18 18:42:08,565 2268 [DEBUG] - Current environment values (may contain sensitive data):
2025-04-18 18:42:08,580 2268 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2025-04-18 18:42:08,600 2268 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-04-18 18:42:08,610 2268 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-04-18 18:42:08,610 2268 [DEBUG] - * 'ChocolateyLastPathUpdate'='133894558475707095' ('User')
2025-04-18 18:42:08,627 2268 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2025-04-18 18:42:08,642 2268 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2025-04-18 18:42:08,642 2268 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2025-04-18 18:42:08,657 2268 [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')
2025-04-18 18:42:08,657 2268 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2025-04-18 18:42:08,675 2268 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2025-04-18 18:42:08,675 2268 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2025-04-18 18:42:08,689 2268 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2025-04-18 18:42:08,689 2268 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2025-04-18 18:42:08,705 2268 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2025-04-18 18:42:08,721 2268 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2025-04-18 18:42:08,735 2268 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2025-04-18 18:42:08,735 2268 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2025-04-18 18:42:08,752 2268 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2025-04-18 18:42:08,769 2268 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2025-04-18 18:42:08,783 2268 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2025-04-18 18:42:09,080 2268 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2025-04-18 18:42:09,095 2268 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-04-18 18:42:09,142 2268 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-04-18 18:42:09,735 2268 [DEBUG] - Running list with the following filter = ''
2025-04-18 18:42:09,735 2268 [DEBUG] - --- Start of List ---
2025-04-18 18:42:09,813 2268 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-04-18 18:42:09,845 2268 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-04-18 18:42:09,859 2268 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2025-04-18 18:42:10,657 2268 [DEBUG] - chocolatey 2.4.3
2025-04-18 18:42:10,674 2268 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-04-18 18:42:10,688 2268 [DEBUG] - KB2919355 1.0.20160915
2025-04-18 18:42:10,706 2268 [DEBUG] - KB2919442 1.0.20160915
2025-04-18 18:42:10,721 2268 [DEBUG] - KB2999226 1.0.20181019
2025-04-18 18:42:10,736 2268 [DEBUG] - KB3035131 1.0.3
2025-04-18 18:42:10,752 2268 [DEBUG] - KB3118401 1.0.5
2025-04-18 18:42:10,768 2268 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-04-18 18:42:10,768 2268 [DEBUG] - --- End of List ---
2025-04-18 18:42:10,815 2268 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2025-04-18 18:42:11,737 2268 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2025-04-18 18:42:12,627 2268 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='powershell',Version='5.1.14409.20180811')
2025-04-18 18:42:12,735 2268 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='powershell',Version='5.1.14409.20180811') 95ms
2025-04-18 18:42:13,078 2268 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2025-04-18 18:42:13,909 2268 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2025-04-18 18:42:13,940 2268 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='PowerShell',Version='5.1.14409.20180811')
2025-04-18 18:42:14,300 2268 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2025-04-18 18:42:14,332 2268 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2025-04-18 18:42:14,423 2268 [DEBUG] - Attempting to delete file "".
2025-04-18 18:42:14,423 2268 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2025-04-18 18:42:14,438 2268 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/PowerShell/5.1.14409.20180811'
2025-04-18 18:42:14,520 2268 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/PowerShell/5.1.14409.20180811
2025-04-18 18:42:14,797 2268 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/PowerShell/5.1.14409.20180811 274ms
2025-04-18 18:42:14,861 2268 [INFO ] - [NuGet] Acquiring lock for the installation of PowerShell 5.1.14409.20180811
2025-04-18 18:42:14,971 2268 [INFO ] - [NuGet] Acquired lock for the installation of PowerShell 5.1.14409.20180811
2025-04-18 18:42:15,516 2268 [INFO ] - [NuGet] Installed PowerShell 5.1.14409.20180811 from https://community.chocolatey.org/api/v2/ with content hash TLkGQn2o+PSZCFMdej48pnorwg0ZU4TXaMVRHopxQ3nXTl1bVyOJWsDPa/m4HPTOXtyCgJe525MDF8TWGdpTiQ==.
2025-04-18 18:42:15,548 2268 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2025-04-18 18:42:15,611 2268 [INFO ] - [NuGet] Adding package 'PowerShell.5.1.14409.20180811' to folder 'C:\ProgramData\chocolatey\lib'
2025-04-18 18:42:15,735 2268 [INFO ] - [NuGet] Added package 'PowerShell.5.1.14409.20180811' to folder 'C:\ProgramData\chocolatey\lib'
2025-04-18 18:42:15,750 2268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PowerShell/5.1.14409.20180811\PowerShell.5.1.14409.20180811.nupkg".
2025-04-18 18:42:15,766 2268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PowerShell/5.1.14409.20180811\.nupkg.metadata".
2025-04-18 18:42:15,782 2268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\PowerShell/5.1.14409.20180811\PowerShell.5.1.14409.20180811.nupkg.sha512".
2025-04-18 18:42:15,782 2268 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2025-04-18 18:42:15,923 2268 [INFO ] - PowerShell package files install completed. Performing other installation steps.
2025-04-18 18:42:16,032 2268 [DEBUG] - Setting installer args for PowerShell
2025-04-18 18:42:16,032 2268 [DEBUG] - Setting package parameters for PowerShell
2025-04-18 18:42:16,048 2268 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2025-04-18 18:42:16,079 2268 [DEBUG] - <#
See http://technet.microsoft.com/en-us/library/hh847769.aspx and http://technet.microsoft.com/en-us/library/hh847837.aspx
Windows PowerShell 5.0 runs on the following versions of Windows.
Windows 10, installed by default
Windows Server 2012 R2, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 8.1, install Windows Management Framework 5.0 to run Windows PowerShell 5.0
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 and THEN WMF 5.0 (as of 5.0.10105)
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 5.0 (as of 5.0.10105)
Previous Windows versions - 5.0 is not supported.
Windows PowerShell 4.0 runs on the following versions of Windows.
Windows 8.1, installed by default
Windows Server 2012 R2, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 4.0 (http://go.microsoft.com/fwlink/?LinkId=293881) to run Windows PowerShell 4.0
Windows PowerShell 3.0 runs on the following versions of Windows.
Windows 8, installed by default
Windows Server 2012, installed by default
Windows 7 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 R2 with Service Pack 1, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
Windows Server 2008 with Service Pack 2, install Windows Management Framework 3.0 to run Windows PowerShell 3.0
#>
[string]$packageName="PowerShell"
[string]$installerType="msu"
[string]$installlogfilename = "$env:TEMP\PowerShell-Install-$(Get-date -format 'yyyyMMddhhmm').evtx"
[string]$ThisPackagePSHVersion = '5.1.14409.1005'
[string]$silentArgs="/quiet /norestart /log:`"$installlogfilename`""
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
[string]$urlWin81x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu'
[string]$urlWin81x86checksum = 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817'
[string]$urlWin2k12R2andWin81x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
[string]$urlWin2k12R2andWin81x64checksum = 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0'
[string]$urlWin7x86 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7-KB3191566-x86.zip'
[string]$urlWin7x86checksum = 'EB7E2C4CE2C6CB24206474A6CB8610D9F4BD3A9301F1CD8963B4FF64E529F563'
[string]$urlWin2k8R2andWin7x64 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win7AndW2K8R2-KB3191566-x64.zip'
[string]$urlWin2k8R2andWin7x64checksum = 'F383C34AA65332662A17D95409A2DDEDADCEDA74427E35D05024CD0A6A2FA647'
[string]$urlWin2012 = 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/W2K12-KB3191565-x64.msu'
[string]$urlWin2012checksum = '4A1385642C1F08E3BE7BC70F4A9D74954E239317F50D1A7F60AA444D759D4F49'
[string]$ChecksumType = 'sha256'
[string[]] $validExitCodes = @(0, 3010) # 2359302 occurs if the package is already installed
$osversionLookup = @{
"5.1.2600" = "XP";
"5.1.3790" = "2003";
"6.0.6001" = "Vista/2008";
"6.1.7600" = "Win7/2008R2";
"6.1.7601" = "Win7 SP1/2008R2 SP1"; # SP1 or later.
"6.2.9200" = "Win8/2012";
"6.3.9600" = "Win8.1/2012R2";
"10.0.*" = "Windows 10/Server 2016"
}
function Install-PowerShell5([string]$urlx86, [string]$urlx64 = $null, [string]$checksumx86 = $null,[string]$checksumx64 = $null) {
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -ge $MinimumNet4Version) {
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" -url $urlx86 -url64 $urlx64 -checksum $checksumx86 -ChecksumType $ChecksumType -checksum64 $checksumx64 -ChecksumType64 $ChecksumType -validExitCodes $validExitCodes
Write-Warning "$packageName requires a reboot to complete the installation."
}
else {
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$Net4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
}
$os = Get-WmiObject Win32_OperatingSystem
$osVersion = $os.version
$ProductName = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'ProductName').ProductName
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
#This will show us if we are running on Nano Server (Kernel version alone won't show this)
Write-Output "Running on: $ProductName, ($EditionId), Windows Kernel: $osVersion"
If ((get-service wuauserv).starttype -ieq 'Disabled')
{
Throw "Windows Update Service is disabled - PowerShell updates are distributed as windows updates and so require the service. Consider temporarily enabling it before calling this package and disabling again afterward."
}
try
{
if ($PSVersionTable -and ($PSVersionTable.PSVersion -ge [Version]$ThisPackagePSHVersion)) {
Write-Warning "PowerShell version, $($PSVersionTable.PSVersion), is already installed."
}
else {
#The following should not occur as PowerShell 5 is already installed
if( ([version]$osVersion).Major -eq "10" ) {
$osVersion = "$(([version]$osVersion).Major).$(([version]$osVersion).Minor).*"
}
Write-Output "Installing for OS: $($osversionLookup[$osVersion])"
switch ($osversionLookup[$osVersion]) {
"Vista/2008" {
Write-Warning "PowerShell 3 is the highest supported on Windows $($osversionLookup[$osVersion])."
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7/2008R2" {
Write-Warning "PowerShell $ThisPackagePSHVersion Requires SP1 for Windows $($osversionLookup[$osVersion])."
Write-Warning "Update to SP1 and re-run this package to install WMF/PowerShell 5"
Write-Output "You can install PowerShell 3 using these parameters: 'PowerShell -version 3.0.20121027'"
}
"Win7 SP1/2008R2 SP1" {
#Special Procedures for WMF 5.1
$MinimumNet4Version = 378389
$Net4Version = (get-itemproperty "hklm:software\microsoft\net framework setup\ndp\v4\full" -ea silentlycontinue | Select -Expand Release -ea silentlycontinue)
if ($Net4Version -lt $MinimumNet4Version)
{
throw ".NET Framework 4.5.2 or later required. Use package named `"dotnet4.5` to upgrade. Your .NET Release is `"$MinimumNet4Version`" but needs to be at least `"$MinimumNet4Version`"."
}
Else
{
If ($PSVersionTable.PSVersion.Major -eq 3)
{
Write-Warning "Found WMF 3 On Win 7 or Server 2008 R2"
If (!(test-path env:ChocolateyForce))
{
Throw "This package will not install WMF 5.1 over 3.0 on Windows 7 or Server 2008 R2 Unless you use the -Force switch on the package command line."
}
Else
{
Write-Host " "
Write-Host " ***********************************************************************************************"
Write-Host " * This machine is running Windows or Server 2008 R2 with WMF 3 installed and *"
Write-Host " * -Force was used, Experimental PSModulePath Backup and Attempted Restore Will Be Performed *"
Write-Host " * What will be done: *"
Write-Host " * 1) The custom parts of the PSModulePath backed up to BackupPSModulePath *"
Write-Host " * 2) A fix up script that appends those values to the PSModulePath is written to: *"
Write-Host " * %WINDIR%\Temp\psmodulepathfixup.ps1 *"
Write-Host " * 3) A scheduled task is setup for the next reboot that runs the fix up script *"
Write-Host " * *"
Write-Host " * If you find that #3 does not work correctly, then you can use #1 or #2 with some of your *"
Write-Host " * own automation to recover from the situation *"
Write-Host " ***********************************************************************************************"
Write-Host " "
$StandardPathsToFilterOut = @('%ProgramFiles%\WindowsPowerShell\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules','%SystemRoot%\System32\WindowsPowerShell\v1.0\Modules\')
[string[]]$currentpsmodulepath = (get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue("PsModulePath","Default",[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames).split(';')
$FilteredList = ($CurrentPSModulePath | Where {$StandardPathsToFilterOut -inotcontains $_}) -join ';'
Write-host "PSModulePath contains the following values that are not in the PSH 5 default values: $FilteredList, backing them up to BackupPSModulePath Environment Variable"
If ($FilteredList) {New-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'BackupPsModulePath' -PropertyType 'ExpandString' -value "$FilteredList" | out-null}
$WMF5Over3WasForced = $True
}
}
Install-ChocolateyZipPackage -PackageName "$packagename" -unziplocation "$toolsdir" -url "$urlWin7x86" -checksum "$urlWin7x86checksum" -checksumtype "$ChecksumType" -url64bit "$urlWin2k8R2andWin7x64" -checksum64 "$urlWin2k8R2andWin7x64checksum" -checksumtype64 "$ChecksumType"
$x64MSUName = "$toolsdir\$(($urlWin2k8R2andWin7x64.split('/') | select -last 1).replace('.zip','.msu'))"
$x86MSUName = "$toolsdir\$(($urlwin7x86.split('/') | select -last 1).replace('.zip','.msu'))"
Write-Host "64-bit file: $x64MSUName"
Install-ChocolateyPackage "$packageName" 'MSU' "$SilentArgs" -url $x86MSUName -url64 $x64MSUName -validExitCodes $validExitCodes
If ($WMF5Over3WasForced)
{
If (!$FilteredList)
{
Write-Host "PSModulePath does not contain any customized paths that need to be preserved."
}
Else
{
$scriptlocation = "$env:windir\temp\psmodulepathfixup.ps1"
$code = "set-Itemproperty 'hklm:system\CurrentControlSet\Control\Session Manager\Environment' -name 'PsModulePath' -value `$((get-Item 'hklm:system\CurrentControlSet\Control\Session Manager\Environment').GetValue('PsModulePath','Default',[Microsoft.WIN32.RegistryValueOptions]::DoNotExpandEnvironmentNames)" + "+`';$(invoke-expression -command '(get-variable FilteredList).value')`'" + ')'
$code | out-file $scriptlocation
"start-sleep -s 2" | out-file $scriptlocation -append
"schtasks.exe /delete /f /tn `"PSModulePathFixUp`"" | out-file $scriptlocation -append
schtasks.exe /create /tn "PSModulePathFixUp" /ru SYSTEM /Sc ONSTART /tr "powershell.exe -file $scriptlocation"
Write-Host "`"$scriptlocation`" is scheduled to run on reboot."
Write-Warning "ATTENTION: This Computer Must Be Restarted."
}
}
}
}
"Win8/2012" {
if($os.ProductType -gt 1) {
#Windows 2012
Install-PowerShell5 -urlx86 "$urlWin2012" -checksumx86 $urlWin2012checksum
}
else {
#Windows 8
Write-Verbose "Windows 8 (not 8.1) is not supported"
throw "$packageName not supported on Windows 8. You must upgrade to Windows 8.1 to install WMF/PowerShell 5.0."
}
}
"Win8.1/2012R2" {
Install-PowerShell5 -urlx86 "$urlWin81x86" -checksumx86 $urlWin81x86checksum -urlx64 "$urlWin2k12R2andWin81x64" -checksumx64 $urlWin2k12R2andWin81x64checksum -checksumtype "$ChecksumType" -checksumtype64 "$ChecksumType"
}
"Windows 10/Server 2016" {
#Should never be reached.
Write-Warning "Windows 10 / Server 2016 has WMF/PowerShell 5 pre-installed which is maintained by Windows Updates."
}
default {
# Windows XP, Windows 2003, Windows Vista, or unknown?
throw "$packageName $ThisPackagePSHVersion is not supported on $ProductName, ($EditionId), Windows Kernel: $osVersion"
}
}
}
}
catch {
If (Test-Path "$installlogfilename")
{
Write-Host "Opps we had a error."
$logfileerrors = @(Get-WinEvent -Path "$installlogfilename" -oldest | where {($_.level -ge 2) -AND ($_.level -le 3)})
If ($logfileerrors.count -gt 0)
{
Write-Host "Found the following error(s) and warnings in the MSU log `"$installlogfilename`""
$logfileerrors | Format-List ID, Message | out-string | write-host
}
}
Throw $_.Exception
}
2025-04-18 18:42:16,156 2268 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-04-18 18:42:16,172 2268 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-04-18 18:42:17,610 2268 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
2025-04-18 18:42:18,877 2268 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-04-18 18:42:18,923 2268 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2025-04-18 18:42:18,923 2268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:42:18,939 2268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:42:18,954 2268 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:42:18,954 2268 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:42:18,971 2268 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:42:19,000 2268 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:42:19,000 2268 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:42:19,126 2268 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-04-18 18:42:19,173 2268 [DEBUG] - Get-EnvironmentVariable
2025-04-18 18:42:19,173 2268 [DEBUG] - Get-EnvironmentVariableNames
2025-04-18 18:42:19,191 2268 [DEBUG] - Install-ChocolateyPath
2025-04-18 18:42:19,204 2268 [DEBUG] - Set-EnvironmentVariable
2025-04-18 18:42:19,220 2268 [DEBUG] - Test-ProcessAdminRights
2025-04-18 18:42:19,220 2268 [DEBUG] - Uninstall-ChocolateyPath
2025-04-18 18:42:19,235 2268 [DEBUG] - Update-SessionEnvironment
2025-04-18 18:42:19,250 2268 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-04-18 18:42:19,268 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-04-18 18:42:19,268 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-04-18 18:42:19,282 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-04-18 18:42:19,299 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-04-18 18:42:19,299 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-04-18 18:42:19,299 2268 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-04-18 18:42:19,330 2268 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-04-18 18:42:19,330 2268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-04-18 18:42:19,346 2268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:42:19,346 2268 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-04-18 18:42:19,361 2268 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-04-18 18:42:19,376 2268 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-04-18 18:42:19,376 2268 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-04-18 18:42:19,439 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-04-18 18:42:19,454 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-04-18 18:42:19,454 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-04-18 18:42:19,472 2268 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-04-18 18:42:19,472 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:19,485 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:42:19,485 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:42:19,502 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:42:19,517 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-04-18 18:42:19,533 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:42:19,533 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:42:19,548 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-04-18 18:42:19,564 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:42:19,564 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-04-18 18:42:19,580 2268 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-04-18 18:42:19,597 2268 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-04-18 18:42:19,597 2268 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:42:19,611 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-04-18 18:42:19,626 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:19,626 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:42:19,643 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:42:19,657 2268 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-04-18 18:42:19,672 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:42:19,672 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:42:19,691 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:42:19,705 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:42:19,705 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:42:19,720 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:42:19,720 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:42:19,739 2268 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-04-18 18:42:19,751 2268 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-04-18 18:42:19,769 2268 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-04-18 18:42:19,769 2268 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-04-18 18:42:19,782 2268 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-04-18 18:42:19,797 2268 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-04-18 18:42:19,797 2268 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:42:19,814 2268 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-04-18 18:42:19,830 2268 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-04-18 18:42:19,860 2268 [DEBUG] - Loading community extensions
2025-04-18 18:42:19,939 2268 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-04-18 18:42:19,939 2268 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-04-18 18:42:20,141 2268 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-04-18 18:42:20,157 2268 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-04-18 18:42:20,157 2268 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-04-18 18:42:20,189 2268 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-04-18 18:42:20,250 2268 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-04-18 18:42:20,266 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-04-18 18:42:20,266 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-04-18 18:42:20,282 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-04-18 18:42:20,299 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-04-18 18:42:20,314 2268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-04-18 18:42:20,314 2268 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-04-18 18:42:20,330 2268 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-04-18 18:42:20,344 2268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-04-18 18:42:20,344 2268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:42:20,360 2268 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-04-18 18:42:20,376 2268 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-04-18 18:42:20,376 2268 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-04-18 18:42:20,392 2268 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-04-18 18:42:20,407 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-04-18 18:42:20,407 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-04-18 18:42:20,426 2268 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-04-18 18:42:20,426 2268 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-04-18 18:42:20,440 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:20,454 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:42:20,471 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:42:20,487 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:42:20,487 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-04-18 18:42:20,502 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:42:20,517 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:42:20,517 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-04-18 18:42:20,533 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:42:20,533 2268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-04-18 18:42:20,550 2268 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-04-18 18:42:20,550 2268 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-04-18 18:42:20,565 2268 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:42:20,580 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-04-18 18:42:20,595 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:20,595 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:42:20,612 2268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:42:20,626 2268 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-04-18 18:42:20,626 2268 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-04-18 18:42:20,650 2268 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-04-18 18:42:20,674 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:42:20,674 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:42:20,690 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:42:20,705 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:42:20,705 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:42:20,719 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:42:20,719 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:42:20,736 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:42:20,783 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:42:20,783 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:42:20,798 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:42:20,798 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:42:20,813 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:42:20,833 2268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:42:20,833 2268 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-04-18 18:42:20,847 2268 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-04-18 18:42:20,860 2268 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-04-18 18:42:20,860 2268 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-04-18 18:42:20,876 2268 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-04-18 18:42:20,893 2268 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-04-18 18:42:20,893 2268 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:42:20,907 2268 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-04-18 18:42:20,926 2268 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-04-18 18:42:20,926 2268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:42:20,939 2268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:42:20,955 2268 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:42:20,955 2268 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:42:20,970 2268 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:42:20,970 2268 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:42:20,994 2268 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:42:21,000 2268 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-04-18 18:42:21,019 2268 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-04-18 18:42:21,019 2268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-04-18 18:42:21,032 2268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-04-18 18:42:21,047 2268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-04-18 18:42:21,047 2268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-04-18 18:42:21,075 2268 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-04-18 18:42:21,079 2268 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-04-18 18:42:21,097 2268 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-04-18 18:42:21,110 2268 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:42:21,110 2268 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-04-18 18:42:21,126 2268 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-04-18 18:42:21,126 2268 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-04-18 18:42:21,142 2268 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-04-18 18:42:21,142 2268 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-04-18 18:42:21,158 2268 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-04-18 18:42:21,174 2268 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-04-18 18:42:21,190 2268 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-04-18 18:42:21,190 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:21,205 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:42:21,219 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:42:21,219 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:42:21,235 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-04-18 18:42:21,235 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:42:21,253 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:42:21,267 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-04-18 18:42:21,267 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:42:21,283 2268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-04-18 18:42:21,298 2268 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-04-18 18:42:21,298 2268 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-04-18 18:42:21,316 2268 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-04-18 18:42:21,316 2268 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:42:21,330 2268 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-04-18 18:42:21,330 2268 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-04-18 18:42:21,347 2268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:42:21,360 2268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:42:21,375 2268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:42:21,375 2268 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-04-18 18:42:21,391 2268 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-04-18 18:42:21,391 2268 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-04-18 18:42:21,407 2268 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-04-18 18:42:21,407 2268 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-04-18 18:42:21,424 2268 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-04-18 18:42:21,438 2268 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:42:21,438 2268 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-04-18 18:42:21,464 2268 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-04-18 18:42:21,470 2268 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-04-18 18:42:21,704 2268 [DEBUG] - ---------------------------Script Execution---------------------------
2025-04-18 18:42:21,766 2268 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShell v5.1.14409.20180811 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShell', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-04-18 18:42:21,861 2268 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2025-04-18 18:42:22,891 2268 [INFO ] - Running on: Windows Server 2019 Datacenter, (ServerDatacenter), Windows Kernel: 10.0.17763
2025-04-18 18:42:23,016 2268 [WARN ] - WARNING: PowerShell version, 5.1.17763.6893, is already installed.
2025-04-18 18:42:23,110 2268 [DEBUG] - ----------------------------------------------------------------------
2025-04-18 18:42:23,135 2268 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2025-04-18 18:42:23,141 2268 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2025-04-18 18:42:23,297 2268 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2025-04-18 18:42:23,609 2268 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2025-04-18 18:42:23,609 2268 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2025-04-18 18:42:23,625 2268 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2025-04-18 18:42:23,625 2268 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2025-04-18 18:42:23,641 2268 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2025-04-18 18:42:23,736 2268 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2025-04-18 18:42:23,814 2268 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2025-04-18 18:42:23,845 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2025-04-18 18:42:23,845 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2025-04-18 18:42:23,861 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2025-04-18 18:42:23,878 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2025-04-18 18:42:23,893 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.deploymentLocation".
2025-04-18 18:42:23,923 2268 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2025-04-18 18:42:23,939 2268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2025-04-18 18:42:23,953 2268 [INFO ] - The install of PowerShell was successful.
2025-04-18 18:42:23,953 2268 [INFO ] - Software install location not explicitly set, it could be in package or
default install location of installer.
2025-04-18 18:42:24,016 2268 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2025-04-18 18:42:24,048 2268 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2025-04-18 18:42:24,063 2268 [DEBUG] - Exiting with 0
2025-04-18 18:43:02,032 4996 [DEBUG] - XmlConfiguration is now operational
2025-04-18 18:43:02,329 4996 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,345 4996 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,345 4996 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,361 4996 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,375 4996 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,375 4996 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,391 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,391 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,454 4996 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-04-18 18:43:02,469 4996 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2025-04-18 18:43:02,469 4996 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2025-04-18 18:43:04,361 4996 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,375 4996 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,375 4996 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,393 4996 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,407 4996 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,407 4996 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,423 4996 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,423 4996 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,443 4996 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,453 4996 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-04-18 18:43:04,500 4996 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2025-04-18 18:43:04,515 4996 [DEBUG] - Registering new command 'list' in assembly 'choco'
2025-04-18 18:43:04,515 4996 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2025-04-18 18:43:04,515 4996 [DEBUG] - Registering new command 'template' in assembly 'choco'
2025-04-18 18:43:04,539 4996 [DEBUG] - Registering new command 'export' in assembly 'choco'
2025-04-18 18:43:04,548 4996 [DEBUG] - Registering new command 'info' in assembly 'choco'
2025-04-18 18:43:04,548 4996 [DEBUG] - Registering new command 'help' in assembly 'choco'
2025-04-18 18:43:04,563 4996 [DEBUG] - Registering new command 'config' in assembly 'choco'
2025-04-18 18:43:04,583 4996 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2025-04-18 18:43:04,597 4996 [DEBUG] - Registering new command 'new' in assembly 'choco'
2025-04-18 18:43:04,597 4996 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2025-04-18 18:43:04,611 4996 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2025-04-18 18:43:04,611 4996 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2025-04-18 18:43:04,628 4996 [DEBUG] - Registering new command 'push' in assembly 'choco'
2025-04-18 18:43:04,642 4996 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2025-04-18 18:43:04,642 4996 [DEBUG] - Registering new command 'source' in assembly 'choco'
2025-04-18 18:43:04,657 4996 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2025-04-18 18:43:04,657 4996 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2025-04-18 18:43:04,674 4996 [DEBUG] - Registering new command 'search' in assembly 'choco'
2025-04-18 18:43:04,674 4996 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2025-04-18 18:43:04,692 4996 [DEBUG] - Registering new command 'install' in assembly 'choco'
2025-04-18 18:43:05,251 4996 [INFO ] - ============================================================
2025-04-18 18:43:05,923 4996 [INFO ] - Chocolatey v2.4.3
2025-04-18 18:43:05,954 4996 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2025-04-18 18:43:05,969 4996 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-04-18 18:43:05,985 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-04-18 18:43:06,016 4996 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall PowerShell --version 5.1.14409.20180811 -dvy --execution-timeout=2700
2025-04-18 18:43:06,032 4996 [DEBUG] - Received arguments: uninstall PowerShell --version 5.1.14409.20180811 -dvy --execution-timeout=2700
2025-04-18 18:43:06,301 4996 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-04-18 18:43:06,362 4996 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-04-18 18:43:06,391 4996 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-04-18 18:43:06,720 4996 [DEBUG] - Performing validation checks.
2025-04-18 18:43:06,753 4996 [DEBUG] - Global Configuration Validation Checks:
2025-04-18 18:43:06,768 4996 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-04-18 18:43:06,798 4996 [DEBUG] - System State Validation Checks:
2025-04-18 18:43:06,813 4996 [DEBUG] - Reboot Requirement Checks:
2025-04-18 18:43:06,830 4996 [DEBUG] - - Pending Computer Rename = Checked
2025-04-18 18:43:06,845 4996 [DEBUG] - - Pending Component Based Servicing = Checked
2025-04-18 18:43:06,860 4996 [DEBUG] - - Pending Windows Auto Update = Checked
2025-04-18 18:43:06,876 4996 [DEBUG] - - Pending File Rename Operations = Ignored
2025-04-18 18:43:06,899 4996 [DEBUG] - - Pending Windows Package Installer = Checked
2025-04-18 18:43:06,923 4996 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2025-04-18 18:43:06,940 4996 [DEBUG] - Cache Folder Lockdown Checks:
2025-04-18 18:43:06,954 4996 [DEBUG] - - Elevated State = Checked
2025-04-18 18:43:06,954 4996 [DEBUG] - - Folder Exists = Checked
2025-04-18 18:43:07,003 4996 [DEBUG] - - Folder lockdown = Checked
2025-04-18 18:43:07,034 4996 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2025-04-18 18:43:07,127 4996 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2025-04-18 18:43:07,141 4996 [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.
2025-04-18 18:43:07,313 4996 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='PowerShell'|
Version='5.1.14409.20180811'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='PowerShell'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.3.0'|
Information.ChocolateyProductVersion='2.4.3'|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-IP2MS2TFAV8'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2025-04-18 18:43:07,330 4996 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2025-04-18 18:43:07,361 4996 [INFO ] - Uninstalling the following packages:
2025-04-18 18:43:07,377 4996 [INFO ] - PowerShell
2025-04-18 18:43:07,408 4996 [DEBUG] - Current environment values (may contain sensitive data):
2025-04-18 18:43:07,424 4996 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2025-04-18 18:43:07,438 4996 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-04-18 18:43:07,438 4996 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-04-18 18:43:07,455 4996 [DEBUG] - * 'ChocolateyLastPathUpdate'='133894558475707095' ('User')
2025-04-18 18:43:07,471 4996 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2025-04-18 18:43:07,471 4996 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2025-04-18 18:43:07,486 4996 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2025-04-18 18:43:07,502 4996 [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')
2025-04-18 18:43:07,502 4996 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2025-04-18 18:43:07,517 4996 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2025-04-18 18:43:07,533 4996 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2025-04-18 18:43:07,533 4996 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2025-04-18 18:43:07,548 4996 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2025-04-18 18:43:07,548 4996 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2025-04-18 18:43:07,565 4996 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2025-04-18 18:43:07,579 4996 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2025-04-18 18:43:07,598 4996 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2025-04-18 18:43:07,611 4996 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2025-04-18 18:43:07,611 4996 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2025-04-18 18:43:07,628 4996 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2025-04-18 18:43:07,985 4996 [DEBUG] - Running list with the following filter = ''
2025-04-18 18:43:08,006 4996 [DEBUG] - --- Start of List ---
2025-04-18 18:43:08,267 4996 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2025-04-18 18:43:08,298 4996 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-04-18 18:43:08,375 4996 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-04-18 18:43:08,626 4996 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2025-04-18 18:43:09,344 4996 [DEBUG] - chocolatey 2.4.3
2025-04-18 18:43:09,361 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-04-18 18:43:09,377 4996 [DEBUG] - KB2919355 1.0.20160915
2025-04-18 18:43:09,390 4996 [DEBUG] - KB2919442 1.0.20160915
2025-04-18 18:43:09,408 4996 [DEBUG] - KB2999226 1.0.20181019
2025-04-18 18:43:09,423 4996 [DEBUG] - KB3035131 1.0.3
2025-04-18 18:43:09,438 4996 [DEBUG] - KB3118401 1.0.5
2025-04-18 18:43:09,532 4996 [DEBUG] - PowerShell 5.1.14409.20180811
2025-04-18 18:43:09,532 4996 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-04-18 18:43:09,548 4996 [DEBUG] - --- End of List ---
2025-04-18 18:43:09,565 4996 [DEBUG] - Running list with the following filter = ''
2025-04-18 18:43:09,578 4996 [DEBUG] - --- Start of List ---
2025-04-18 18:43:09,578 4996 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-04-18 18:43:09,594 4996 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-04-18 18:43:09,658 4996 [DEBUG] - chocolatey 2.4.3
2025-04-18 18:43:09,673 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-04-18 18:43:09,688 4996 [DEBUG] - KB2919355 1.0.20160915
2025-04-18 18:43:09,705 4996 [DEBUG] - KB2919442 1.0.20160915
2025-04-18 18:43:09,721 4996 [DEBUG] - KB2999226 1.0.20181019
2025-04-18 18:43:09,737 4996 [DEBUG] - KB3035131 1.0.3
2025-04-18 18:43:09,751 4996 [DEBUG] - KB3118401 1.0.5
2025-04-18 18:43:09,801 4996 [DEBUG] - PowerShell 5.1.14409.20180811
2025-04-18 18:43:09,813 4996 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-04-18 18:43:09,813 4996 [DEBUG] - --- End of List ---
2025-04-18 18:43:09,939 4996 [DEBUG] - Running list with the following filter = ''
2025-04-18 18:43:09,939 4996 [DEBUG] - --- Start of List ---
2025-04-18 18:43:09,939 4996 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-04-18 18:43:09,970 4996 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-04-18 18:43:10,017 4996 [DEBUG] - chocolatey 2.4.3
2025-04-18 18:43:10,032 4996 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-04-18 18:43:10,050 4996 [DEBUG] - KB2919355 1.0.20160915
2025-04-18 18:43:10,065 4996 [DEBUG] - KB2919442 1.0.20160915
2025-04-18 18:43:10,082 4996 [DEBUG] - KB2999226 1.0.20181019
2025-04-18 18:43:10,097 4996 [DEBUG] - KB3035131 1.0.3
2025-04-18 18:43:10,111 4996 [DEBUG] - KB3118401 1.0.5
2025-04-18 18:43:10,157 4996 [DEBUG] - PowerShell 5.1.14409.20180811
2025-04-18 18:43:10,172 4996 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-04-18 18:43:10,172 4996 [DEBUG] - --- End of List ---
2025-04-18 18:43:10,266 4996 [INFO ] -
PowerShell v5.1.14409.20180811
2025-04-18 18:43:10,298 4996 [DEBUG] - Running beforeModify step for 'PowerShell'
2025-04-18 18:43:10,344 4996 [DEBUG] - Backing up package files for 'PowerShell'
2025-04-18 18:43:10,563 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\PowerShell".
2025-04-18 18:43:10,579 4996 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\PowerShell to C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811
2025-04-18 18:43:10,595 4996 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\PowerShell'
to 'C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811'
2025-04-18 18:43:12,626 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\PowerShell".
2025-04-18 18:43:12,641 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811\PowerShell.nupkg"
to "C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg".
2025-04-18 18:43:12,657 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811\powershell.nuspec"
to "C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec".
2025-04-18 18:43:12,672 4996 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\PowerShell\tools".
2025-04-18 18:43:12,672 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811\tools\ChocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1".
2025-04-18 18:43:12,689 4996 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\PowerShell\5.1.14409.20180811\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1".
2025-04-18 18:43:14,219 4996 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2025-04-18 18:43:14,235 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2025-04-18 18:43:14,251 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2025-04-18 18:43:14,251 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2025-04-18 18:43:14,268 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2025-04-18 18:43:14,345 4996 [DEBUG] - Setting installer args for PowerShell
2025-04-18 18:43:14,345 4996 [DEBUG] - Setting package parameters for PowerShell
2025-04-18 18:43:14,360 4996 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1':
2025-04-18 18:43:14,375 4996 [DEBUG] - Write-Debug ("Starting " + $MyInvocation.MyCommand.Definition)
[string]$packageName="PowerShell.5.0"
<#
Exit Codes:
3010: WSUSA executed the uninstall successfully.
2359303: The update was not found.
#>
#5.0.10586
$osVersion = (Get-WmiObject Win32_OperatingSystem).Version
if(-not (($osVersion -ge [version]"6.4") -or ($osVersion -ge [version]"10.0"))) {
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3191566 /quiet /norestart /log:`"$env:TEMP\PowerShellUninstall5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3191565 /quiet /norestart /log:`"$env:TEMP\PowerShellUninstall5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3191564 /quiet /norestart /log:`"$env:TEMP\PowerShellUninstall5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
}
Write-Warning "$packageName may require a reboot to complete the uninstallation."
2025-04-18 18:43:14,501 4996 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-04-18 18:43:14,532 4996 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-04-18 18:43:15,798 4996 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
2025-04-18 18:43:16,797 4996 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-04-18 18:43:16,845 4996 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2025-04-18 18:43:16,860 4996 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:43:16,876 4996 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:43:16,876 4996 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:43:16,891 4996 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:43:16,891 4996 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:43:16,923 4996 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:43:16,923 4996 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:43:17,048 4996 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-04-18 18:43:17,079 4996 [DEBUG] - Get-EnvironmentVariable
2025-04-18 18:43:17,095 4996 [DEBUG] - Get-EnvironmentVariableNames
2025-04-18 18:43:17,095 4996 [DEBUG] - Install-ChocolateyPath
2025-04-18 18:43:17,113 4996 [DEBUG] - Set-EnvironmentVariable
2025-04-18 18:43:17,113 4996 [DEBUG] - Test-ProcessAdminRights
2025-04-18 18:43:17,126 4996 [DEBUG] - Uninstall-ChocolateyPath
2025-04-18 18:43:17,126 4996 [DEBUG] - Update-SessionEnvironment
2025-04-18 18:43:17,157 4996 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-04-18 18:43:17,172 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-04-18 18:43:17,172 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-04-18 18:43:17,189 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-04-18 18:43:17,189 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-04-18 18:43:17,204 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-04-18 18:43:17,204 4996 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-04-18 18:43:17,221 4996 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-04-18 18:43:17,236 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-04-18 18:43:17,251 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:43:17,251 4996 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-04-18 18:43:17,267 4996 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-04-18 18:43:17,267 4996 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-04-18 18:43:17,282 4996 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-04-18 18:43:17,302 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-04-18 18:43:17,315 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-04-18 18:43:17,331 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-04-18 18:43:17,331 4996 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-04-18 18:43:17,346 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:17,362 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:43:17,376 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:43:17,376 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:43:17,392 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-04-18 18:43:17,409 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:43:17,409 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:43:17,423 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-04-18 18:43:17,423 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:43:17,438 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-04-18 18:43:17,438 4996 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-04-18 18:43:17,454 4996 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-04-18 18:43:17,470 4996 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:43:17,470 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-04-18 18:43:17,485 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:17,509 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:43:17,517 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:43:17,517 4996 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-04-18 18:43:17,534 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:43:17,551 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:43:17,551 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:43:17,564 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:43:17,564 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:43:17,597 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:43:17,597 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:43:17,611 4996 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-04-18 18:43:17,626 4996 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-04-18 18:43:17,626 4996 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-04-18 18:43:17,642 4996 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-04-18 18:43:17,642 4996 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-04-18 18:43:17,658 4996 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-04-18 18:43:17,674 4996 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:43:17,674 4996 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-04-18 18:43:17,691 4996 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-04-18 18:43:17,736 4996 [DEBUG] - Loading community extensions
2025-04-18 18:43:17,801 4996 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-04-18 18:43:17,828 4996 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-04-18 18:43:17,985 4996 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-04-18 18:43:17,985 4996 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-04-18 18:43:18,001 4996 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-04-18 18:43:18,016 4996 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-04-18 18:43:18,159 4996 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-04-18 18:43:18,174 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-04-18 18:43:18,189 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-04-18 18:43:18,208 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-04-18 18:43:18,222 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-04-18 18:43:18,236 4996 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-04-18 18:43:18,253 4996 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-04-18 18:43:18,271 4996 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-04-18 18:43:18,300 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-04-18 18:43:18,316 4996 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:43:18,332 4996 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-04-18 18:43:18,345 4996 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-04-18 18:43:18,361 4996 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-04-18 18:43:18,378 4996 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-04-18 18:43:18,394 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-04-18 18:43:18,408 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-04-18 18:43:18,425 4996 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-04-18 18:43:18,439 4996 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-04-18 18:43:18,439 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:18,471 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:43:18,486 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:43:18,506 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:43:18,517 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-04-18 18:43:18,517 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:43:18,534 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:43:18,550 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-04-18 18:43:18,550 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:43:18,563 4996 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-04-18 18:43:18,563 4996 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-04-18 18:43:18,579 4996 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-04-18 18:43:18,579 4996 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:43:18,598 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-04-18 18:43:18,610 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:18,610 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:43:18,625 4996 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:43:18,642 4996 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-04-18 18:43:18,642 4996 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-04-18 18:43:18,658 4996 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-04-18 18:43:18,658 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:43:18,673 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:43:18,689 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:43:18,707 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:43:18,707 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:43:18,720 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:43:18,720 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:43:18,737 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:43:18,752 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:43:18,752 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:43:18,766 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:43:18,766 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:43:18,783 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:43:18,800 4996 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:43:18,800 4996 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-04-18 18:43:18,813 4996 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-04-18 18:43:18,813 4996 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-04-18 18:43:18,830 4996 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-04-18 18:43:18,845 4996 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-04-18 18:43:18,845 4996 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-04-18 18:43:18,860 4996 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:43:18,878 4996 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-04-18 18:43:18,878 4996 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-04-18 18:43:18,893 4996 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-04-18 18:43:18,893 4996 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-04-18 18:43:18,908 4996 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-04-18 18:43:18,923 4996 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-04-18 18:43:18,923 4996 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-04-18 18:43:18,940 4996 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-04-18 18:43:18,955 4996 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-04-18 18:43:18,955 4996 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-04-18 18:43:18,971 4996 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-04-18 18:43:18,971 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-04-18 18:43:19,003 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-04-18 18:43:19,003 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-04-18 18:43:19,016 4996 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-04-18 18:43:19,016 4996 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-04-18 18:43:19,033 4996 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-04-18 18:43:19,047 4996 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-04-18 18:43:19,047 4996 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-04-18 18:43:19,064 4996 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-04-18 18:43:19,064 4996 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-04-18 18:43:19,080 4996 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-04-18 18:43:19,096 4996 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-04-18 18:43:19,096 4996 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-04-18 18:43:19,114 4996 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-04-18 18:43:19,126 4996 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-04-18 18:43:19,147 4996 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-04-18 18:43:19,189 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:19,281 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-04-18 18:43:19,298 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-04-18 18:43:19,313 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-04-18 18:43:19,313 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-04-18 18:43:19,331 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-04-18 18:43:19,346 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-04-18 18:43:19,361 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-04-18 18:43:19,361 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-04-18 18:43:19,375 4996 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-04-18 18:43:19,375 4996 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-04-18 18:43:19,396 4996 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-04-18 18:43:19,412 4996 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-04-18 18:43:19,423 4996 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-04-18 18:43:19,423 4996 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-04-18 18:43:19,438 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-04-18 18:43:19,438 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-04-18 18:43:19,455 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-04-18 18:43:19,471 4996 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-04-18 18:43:19,471 4996 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-04-18 18:43:19,487 4996 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-04-18 18:43:19,487 4996 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-04-18 18:43:19,503 4996 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-04-18 18:43:19,534 4996 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-04-18 18:43:19,551 4996 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-04-18 18:43:19,564 4996 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-04-18 18:43:19,564 4996 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-04-18 18:43:19,597 4996 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-04-18 18:43:19,613 4996 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-04-18 18:43:19,894 4996 [DEBUG] - ---------------------------Script Execution---------------------------
2025-04-18 18:43:19,939 4996 [DEBUG] - Running 'ChocolateyScriptRunner' for PowerShell v5.1.14409.20180811 with packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\PowerShell', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-04-18 18:43:20,047 4996 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
2025-04-18 18:43:20,125 4996 [DEBUG] - Starting C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1
2025-04-18 18:43:20,658 4996 [WARN ] - WARNING: PowerShell.5.0 may require a reboot to complete the uninstallation.
2025-04-18 18:43:20,735 4996 [DEBUG] - ----------------------------------------------------------------------
2025-04-18 18:43:20,767 4996 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2025-04-18 18:43:20,829 4996 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2025-04-18 18:43:20,829 4996 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2025-04-18 18:43:21,141 4996 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2025-04-18 18:43:21,157 4996 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\PowerShell".
2025-04-18 18:43:21,189 4996 [DEBUG] - Ensuring removal of installation files.
2025-04-18 18:43:21,205 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2025-04-18 18:43:21,220 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg".
2025-04-18 18:43:21,220 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2025-04-18 18:43:21,237 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\powershell.nuspec".
2025-04-18 18:43:21,237 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2025-04-18 18:43:21,252 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1".
2025-04-18 18:43:21,268 4996 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2025-04-18 18:43:21,283 4996 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1".
2025-04-18 18:43:21,283 4996 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\PowerShell".
2025-04-18 18:43:21,299 4996 [INFO ] - PowerShell has been successfully uninstalled.
2025-04-18 18:43:21,313 4996 [DEBUG] - Removing nupkg if it still exists.
2025-04-18 18:43:21,328 4996 [DEBUG] - Ensuring removal of installation files.
2025-04-18 18:43:21,409 4996 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2025-04-18 18:43:21,423 4996 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2025-04-18 18:43:21,439 4996 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment