Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWSTools.Powershell v1.1.1120.20130916 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="AWS Tools for Windows" displayVersion="3.15.1145">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{54ACEF38-4884-42D5-B292-D657040CBD41}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{54ACEF38-4884-42D5-B292-D657040CBD41}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Amazon Web Services Developer Relations]]></Publisher>
<InstallDate>20200828</InstallDate>
<InstallSource><![CDATA[C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\]]></InstallSource>
<Language>1033</Language>
<Version>51315833</Version>
<VersionMajor>3</VersionMajor>
<VersionMinor>15</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>false</NoModify>
<NoRepair>false</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\146e0d.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

AWSTools.Powershell v1.1.1120.20130916 - Passed - Package Test Results

  • https://chocolatey.org/packages/AWSTools.Powershell/1.1.1120.20130916
  • Tested 11 Oct 2020 02:49:24 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v0.4.0-38-g3187e94
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nupkg" checksum="63ECE49DD5E5084972BEED7964516825" />
<file path="C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nuspec" checksum="E8E2B8F98F762412DAF06BC1D81C4D06" />
<file path="C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1" checksum="95DB8D5271018A0E07D39A848563A2C2" />
</files>
</fileSnapshot>
2020-08-28 15:40:47,150 2288 [DEBUG] - XmlConfiguration is now operational
2020-08-28 15:40:47,400 2288 [INFO ] - ============================================================
2020-08-28 15:40:49,557 2288 [INFO ] - Chocolatey v0.10.16-beta
2020-08-28 15:40:49,604 2288 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-08-28 15:40:49,604 2288 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-08-28 15:40:49,620 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-08-28 15:40:49,634 2288 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install AWSTools.Powershell --version 1.1.1120.20130916 -fdvy --execution-timeout=5400 --allow-downgrade
2020-08-28 15:40:49,634 2288 [DEBUG] - Received arguments: install AWSTools.Powershell --version 1.1.1120.20130916 -fdvy --execution-timeout=5400 --allow-downgrade
2020-08-28 15:40:49,994 2288 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-08-28 15:40:50,010 2288 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-08-28 15:40:50,025 2288 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-08-28 15:40:50,212 2288 [DEBUG] - Performing validation checks.
2020-08-28 15:40:50,250 2288 [DEBUG] - Global Configuration Validation Checks:
2020-08-28 15:40:50,264 2288 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-08-28 15:40:50,291 2288 [DEBUG] - System State Validation Checks:
2020-08-28 15:40:50,316 2288 [DEBUG] - Reboot Requirement Checks:
2020-08-28 15:40:50,322 2288 [DEBUG] - - Pending Computer Rename = Checked
2020-08-28 15:40:50,322 2288 [DEBUG] - - Pending Component Based Servicing = Checked
2020-08-28 15:40:50,338 2288 [DEBUG] - - Pending Windows Auto Update = Checked
2020-08-28 15:40:50,338 2288 [DEBUG] - - Pending File Rename Operations = Ignored
2020-08-28 15:40:50,338 2288 [DEBUG] - - Pending Windows Package Installer = Checked
2020-08-28 15:40:50,353 2288 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2020-08-28 15:40:50,369 2288 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-08-28 15:40:50,384 2288 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-08-28 15:40:50,384 2288 [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.
2020-08-28 15:40:50,681 2288 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='AWSTools.Powershell'|
Version='1.1.1120.20130916'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='AWSTools.Powershell'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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.ScriptsCheckLastExitCode='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'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-08-28 15:40:50,697 2288 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-08-28 15:40:50,728 2288 [INFO ] - Installing the following packages:
2020-08-28 15:40:50,744 2288 [INFO ] - AWSTools.Powershell
2020-08-28 15:40:50,762 2288 [INFO ] - By installing you accept licenses for the packages.
2020-08-28 15:40:50,885 2288 [DEBUG] - Current environment values (may contain sensitive data):
2020-08-28 15:40:50,900 2288 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:40:50,900 2288 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:40:50,900 2288 [DEBUG] - * 'ChocolateyLastPathUpdate'='132431025732641459' ('User')
2020-08-28 15:40:50,900 2288 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-08-28 15:40:50,900 2288 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-08-28 15:40:50,917 2288 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-08-28 15:40:50,917 2288 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-08-28 15:40:50,917 2288 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:40:50,917 2288 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-08-28 15:40:50,917 2288 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-08-28 15:40:50,931 2288 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-08-28 15:40:50,931 2288 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:40:50,931 2288 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-08-28 15:40:50,931 2288 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2020-08-28 15:40:50,931 2288 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-08-28 15:40:50,947 2288 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-08-28 15:40:50,947 2288 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-08-28 15:40:50,947 2288 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-08-28 15:40:50,947 2288 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-08-28 15:40:50,947 2288 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-08-28 15:40:52,639 2288 [INFO ] - [NuGet] Attempting to resolve dependency 'PowerShell (= 3.0)'.
2020-08-28 15:40:55,916 2288 [INFO ] - [NuGet] Installing 'PowerShell 5.1.14409.20180811'.
2020-08-28 15:40:55,947 2288 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'PowerShell\tools'.
2020-08-28 15:40:55,947 2288 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'PowerShell\tools'.
2020-08-28 15:40:55,962 2288 [DEBUG] - [NuGet] Added file 'PowerShell.nupkg' to folder 'PowerShell'.
2020-08-28 15:40:56,322 2288 [DEBUG] - [NuGet] Added file 'PowerShell.nuspec' to folder 'PowerShell'.
2020-08-28 15:40:56,322 2288 [INFO ] - [NuGet] Successfully installed 'PowerShell 5.1.14409.20180811'.
2020-08-28 15:40:56,337 2288 [INFO ] -
PowerShell v5.1.14409.20180811 (forced) [Approved]
2020-08-28 15:40:56,384 2288 [INFO ] - powershell package files install completed. Performing other installation steps.
2020-08-28 15:40:56,587 2288 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1':
2020-08-28 15:40:56,697 2288 [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
}
2020-08-28 15:40:56,743 2288 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:40:56,760 2288 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2020-08-28 15:40:57,838 2288 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:40:58,462 2288 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:58,462 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:58,479 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:58,479 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:58,479 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:58,496 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:58,496 2288 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:58,511 2288 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:58,511 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:58,511 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:58,511 2288 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:58,525 2288 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:58,525 2288 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:58,525 2288 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:58,525 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:58,541 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:58,541 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:58,541 2288 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:58,557 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:58,557 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:58,557 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:58,573 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:58,573 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:58,573 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:58,590 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:58,590 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:58,590 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:58,603 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:58,759 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:58,759 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:58,759 2288 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:58,759 2288 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:58,759 2288 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:58,775 2288 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:58,775 2288 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:58,775 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:58,775 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:58,791 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:58,791 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:58,791 2288 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:58,806 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:58,806 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:58,806 2288 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:58,806 2288 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:58,822 2288 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:58,822 2288 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:58,822 2288 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:58,822 2288 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:58,822 2288 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:58,838 2288 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:58,838 2288 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:58,838 2288 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:58,838 2288 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:58,886 2288 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:40:58,900 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:40:58,900 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:58,900 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:58,918 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:40:58,918 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:58,918 2288 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:40:58,931 2288 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:58,931 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:40:58,931 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:58,931 2288 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:40:58,949 2288 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:40:58,949 2288 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:58,962 2288 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:40:58,962 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:40:58,962 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:40:58,982 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:40:58,982 2288 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:40:58,993 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:58,993 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:58,993 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:59,009 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:59,009 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:59,009 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:40:59,009 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:40:59,025 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:59,025 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:59,025 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:59,025 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:59,042 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:59,042 2288 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:40:59,042 2288 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:40:59,042 2288 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:40:59,057 2288 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:59,057 2288 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:40:59,057 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:40:59,073 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:59,073 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:59,073 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:59,073 2288 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:40:59,087 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:40:59,087 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:40:59,087 2288 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:40:59,087 2288 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:59,106 2288 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:40:59,106 2288 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:40:59,106 2288 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:59,119 2288 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:40:59,119 2288 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:40:59,119 2288 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:59,135 2288 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:59,135 2288 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:40:59,135 2288 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:40:59,135 2288 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:40:59,151 2288 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:40:59,151 2288 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:40:59,151 2288 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:40:59,151 2288 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:40:59,166 2288 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:40:59,166 2288 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:40:59,166 2288 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:40:59,181 2288 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:40:59,181 2288 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:40:59,181 2288 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:40:59,197 2288 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:40:59,197 2288 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:40:59,197 2288 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:40:59,197 2288 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:40:59,197 2288 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:40:59,213 2288 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:40:59,213 2288 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:40:59,213 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:40:59,229 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:59,229 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:40:59,229 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:40:59,229 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:40:59,243 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:40:59,243 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:40:59,243 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:40:59,243 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:40:59,259 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:40:59,259 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:40:59,259 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:40:59,275 2288 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:40:59,275 2288 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:40:59,275 2288 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:40:59,275 2288 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:40:59,290 2288 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:40:59,290 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:40:59,290 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:40:59,290 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:40:59,306 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:40:59,306 2288 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:40:59,306 2288 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:40:59,306 2288 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:40:59,323 2288 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:40:59,323 2288 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:40:59,323 2288 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:40:59,338 2288 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:40:59,338 2288 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:40:59,338 2288 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:40:59,338 2288 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:40:59,354 2288 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:40:59,354 2288 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:40:59,354 2288 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:40:59,354 2288 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:40:59,588 2288 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:40:59,604 2288 [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: '',
2020-08-28 15:40:59,651 2288 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
2020-08-28 15:41:03,205 2288 [INFO ] - Running on: Windows Server 2012 R2 Datacenter, (ServerDatacenter), Windows Kernel: 6.3.9600
2020-08-28 15:41:03,618 2288 [INFO ] - Installing for OS: Win8.1/2012R2
2020-08-28 15:41:04,175 2288 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -validExitCodes '0 3010' -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202008280340.evtx"'
2020-08-28 15:41:04,714 2288 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\PowerShellInstall.msu' -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1-KB3191564-x86.msu' -url64bit 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'F3430A90BE556A77A30BAB3AC36DC9B92A43055D5FCC5869DA3BFDA116DBD817' -checksumType 'sha256' -checksum64 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:41:04,775 2288 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:41:04,821 2288 [DEBUG] - CPU is 64 bit
2020-08-28 15:41:04,821 2288 [DEBUG] - Setting url to 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' and bitPackage to 64
2020-08-28 15:41:05,104 2288 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -defaultName 'PowerShellInstall.msu'
2020-08-28 15:41:06,432 2288 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-08-28 15:41:06,650 2288 [DEBUG] - File name determined from url is 'Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-08-28 15:41:06,729 2288 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -ErrorAction 'Stop'
2020-08-28 15:41:06,745 2288 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:41:06,745 2288 [DEBUG] - Request Headers:
2020-08-28 15:41:06,775 2288 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:41:06,775 2288 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:41:06,869 2288 [DEBUG] - Response Headers:
2020-08-28 15:41:06,885 2288 [DEBUG] - 'Connection':'keep-alive'
2020-08-28 15:41:06,900 2288 [DEBUG] - 'Accept-Ranges':'bytes'
2020-08-28 15:41:06,900 2288 [DEBUG] - 'Content-Length':'19878906'
2020-08-28 15:41:06,934 2288 [DEBUG] - 'Content-Type':'application/octet-stream'
2020-08-28 15:41:06,947 2288 [DEBUG] - 'Date':'Sun, 11 Oct 2020 02:38:12 GMT'
2020-08-28 15:41:06,947 2288 [DEBUG] - 'ETag':'"0x8D632CAFF2AE41B"'
2020-08-28 15:41:06,993 2288 [DEBUG] - 'Last-Modified':'Mon, 15 Oct 2018 18:21:16 GMT'
2020-08-28 15:41:06,993 2288 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2020-08-28 15:41:07,010 2288 [INFO ] - Downloading PowerShell 64 bit
from 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-08-28 15:41:07,024 2288 [INFO ] -
2020-08-28 15:41:07,072 2288 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -options 'System.Collections.Hashtable'
2020-08-28 15:41:07,090 2288 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:41:07,090 2288 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:41:07,136 2288 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:41:07,728 2288 [DEBUG] - Downloading https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu to C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu
2020-08-28 15:41:12,150 2288 [INFO ] -
2020-08-28 15:41:13,759 2288 [INFO ] - Download of Win8.1AndW2K12R2-KB3191564-x64.msu (18.96 MB) completed.
2020-08-28 15:41:13,759 2288 [INFO ] -
2020-08-28 15:41:19,197 2288 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-08-28 15:41:19,212 2288 [DEBUG] - Verifying package provided checksum of 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu'.
2020-08-28 15:41:19,244 2288 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -checksum 'A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/6/F/5/6F5FF66C-6775-42B0-86C4-47D41F2DA187/Win8.1AndW2K12R2-KB3191564-x64.msu'
2020-08-28 15:41:19,275 2288 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2020-08-28 15:41:19,275 2288 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"]
2020-08-28 15:41:20,337 2288 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="A8D788FA31B02A999CC676FB546FC782E86C2A0ACD837976122A1891CEEE42C0" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu"] exited with '0'.
2020-08-28 15:41:20,401 2288 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'PowerShell' -fileType 'msu' -silentArgs '/quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202008280340.evtx"' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2020-08-28 15:41:20,416 2288 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-08-28 15:41:20,431 2288 [INFO ] - Installing PowerShell...
2020-08-28 15:41:20,431 2288 [INFO ] -
2020-08-28 15:41:20,635 2288 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2020-08-28 15:41:20,760 2288 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811' -statements '"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202008280340.evtx" ' -exeToRun 'C:\Windows\System32\wusa.exe'
2020-08-28 15:41:20,916 2288 [DEBUG] - Test-ProcessAdminRights: returning True
2020-08-28 15:41:20,946 2288 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202008280340.evtx" ]. This may take a while, depending on the statements.
2020-08-28 15:48:04,784 2288 [DEBUG] - Command ["C:\Windows\System32\wusa.exe" "C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell\5.1.14409.20180811\Win8.1AndW2K12R2-KB3191564-x64.msu" /quiet /norestart /log:"C:\Users\Administrator\AppData\Local\Temp\chocolatey\PowerShell-Install-202008280340.evtx" ] exited with '3010'.
2020-08-28 15:48:04,815 2288 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-08-28 15:48:04,831 2288 [INFO ] - PowerShell has been installed.
2020-08-28 15:48:04,831 2288 [INFO ] -
2020-08-28 15:48:04,846 2288 [WARN ] - WARNING: PowerShell requires a reboot to complete the installation.
2020-08-28 15:48:04,909 2288 [DEBUG] - ----------------------------------------------------------------------
2020-08-28 15:48:04,987 2288 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '3010'.
2020-08-28 15:48:05,002 2288 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:48:05,052 2288 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:48:05,456 2288 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\PowerShell'
2020-08-28 15:48:05,456 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nupkg'
with checksum 'EFEFB5386C6A693490A02BB189EA148D'
2020-08-28 15:48:05,456 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\PowerShell.nuspec'
with checksum 'EE595452035C1EDB3CD1FC4B3FC3AF27'
2020-08-28 15:48:05,472 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\ChocolateyInstall.ps1'
with checksum '08A23313BC54709344AE618CE6020BE3'
2020-08-28 15:48:05,472 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\PowerShell\tools\chocolateyUninstall.ps1'
with checksum '06BDEE8254D1120913F843855A88FA5B'
2020-08-28 15:48:05,565 2288 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811".
2020-08-28 15:48:05,613 2288 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.files'
2020-08-28 15:48:05,658 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.extra".
2020-08-28 15:48:05,658 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.version".
2020-08-28 15:48:05,674 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.sxs".
2020-08-28 15:48:05,674 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\PowerShell.5.1.14409.20180811\.pin".
2020-08-28 15:48:05,693 2288 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:48:05,693 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\PowerShell\.chocolateyPending".
2020-08-28 15:48:05,705 2288 [INFO ] - The install of powershell was successful.
2020-08-28 15:48:05,805 2288 [INFO ] - Software installed as 'msu', install location is likely default.
2020-08-28 15:48:05,830 2288 [INFO ] - [NuGet] Installing 'AWSTools.Powershell 1.1.1120.20130916'.
2020-08-28 15:48:05,830 2288 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'AWSTools.Powershell\tools'.
2020-08-28 15:48:05,830 2288 [DEBUG] - [NuGet] Added file 'AWSTools.Powershell.nupkg' to folder 'AWSTools.Powershell'.
2020-08-28 15:48:06,440 2288 [DEBUG] - [NuGet] Added file 'AWSTools.Powershell.nuspec' to folder 'AWSTools.Powershell'.
2020-08-28 15:48:06,455 2288 [INFO ] - [NuGet] Successfully installed 'AWSTools.Powershell 1.1.1120.20130916'.
2020-08-28 15:48:06,455 2288 [INFO ] -
AWSTools.Powershell v1.1.1120.20130916 (forced) [Approved]
2020-08-28 15:48:06,455 2288 [INFO ] - awstools.powershell package files install completed. Performing other installation steps.
2020-08-28 15:48:06,488 2288 [DEBUG] - Setting installer args for AWSTools.Powershell
2020-08-28 15:48:06,488 2288 [DEBUG] - Setting package parameters for AWSTools.Powershell
2020-08-28 15:48:06,488 2288 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1':
2020-08-28 15:48:06,502 2288 [DEBUG] - $package = 'AWSTools.Powershell'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi';
}
Install-ChocolateyPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2020-08-28 15:48:06,502 2288 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2020-08-28 15:48:06,529 2288 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2020-08-28 15:48:06,659 2288 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:48:06,659 2288 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:48:06,659 2288 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:48:06,674 2288 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2020-08-28 15:48:07,018 2288 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2020-08-28 15:48:07,144 2288 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:48:07,159 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:48:07,159 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:48:07,159 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:48:07,174 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:48:07,174 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:48:07,174 2288 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:48:07,191 2288 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:48:07,191 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:48:07,299 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:48:07,299 2288 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:48:07,315 2288 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:48:07,315 2288 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:48:07,315 2288 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:48:07,330 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:48:07,330 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:48:07,330 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:48:07,346 2288 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:48:07,346 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:48:07,362 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:07,362 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:48:07,362 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:48:07,378 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:48:07,378 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:48:07,378 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:48:07,393 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:48:07,393 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:48:07,393 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:48:07,408 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:48:07,408 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:48:07,408 2288 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:48:07,424 2288 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:48:07,424 2288 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:48:07,424 2288 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:48:07,424 2288 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:48:07,441 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:48:07,441 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:07,441 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:48:07,441 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:48:07,464 2288 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:48:07,471 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:48:07,471 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:48:07,471 2288 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:48:07,489 2288 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:48:07,489 2288 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:48:07,489 2288 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:48:07,502 2288 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:48:07,502 2288 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:48:07,502 2288 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:48:07,502 2288 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:48:07,520 2288 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:48:07,520 2288 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:48:07,520 2288 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:48:07,534 2288 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2020-08-28 15:48:07,534 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2020-08-28 15:48:07,534 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2020-08-28 15:48:07,534 2288 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2020-08-28 15:48:07,550 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2020-08-28 15:48:07,550 2288 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2020-08-28 15:48:07,550 2288 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2020-08-28 15:48:07,565 2288 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2020-08-28 15:48:07,565 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2020-08-28 15:48:07,565 2288 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:48:07,581 2288 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2020-08-28 15:48:07,581 2288 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2020-08-28 15:48:07,581 2288 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2020-08-28 15:48:07,596 2288 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2020-08-28 15:48:07,613 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2020-08-28 15:48:07,613 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2020-08-28 15:48:07,613 2288 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2020-08-28 15:48:07,627 2288 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2020-08-28 15:48:07,627 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:48:07,627 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:07,643 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:48:07,643 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:48:07,643 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:48:07,659 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2020-08-28 15:48:07,659 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2020-08-28 15:48:07,659 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:48:07,659 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:48:07,675 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2020-08-28 15:48:07,675 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:48:07,675 2288 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2020-08-28 15:48:07,690 2288 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2020-08-28 15:48:07,690 2288 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2020-08-28 15:48:07,690 2288 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2020-08-28 15:48:07,707 2288 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:48:07,707 2288 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2020-08-28 15:48:07,707 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2020-08-28 15:48:07,722 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:07,722 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:48:07,738 2288 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:48:07,738 2288 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2020-08-28 15:48:07,738 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2020-08-28 15:48:07,752 2288 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2020-08-28 15:48:07,752 2288 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2020-08-28 15:48:07,752 2288 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2020-08-28 15:48:07,772 2288 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2020-08-28 15:48:07,772 2288 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2020-08-28 15:48:07,772 2288 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2020-08-28 15:48:07,783 2288 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2020-08-28 15:48:07,783 2288 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2020-08-28 15:48:07,783 2288 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2020-08-28 15:48:07,799 2288 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:48:07,799 2288 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2020-08-28 15:48:07,799 2288 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2020-08-28 15:48:07,815 2288 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2020-08-28 15:48:07,815 2288 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2020-08-28 15:48:07,815 2288 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2020-08-28 15:48:07,815 2288 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2020-08-28 15:48:07,831 2288 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2020-08-28 15:48:07,831 2288 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2020-08-28 15:48:07,831 2288 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2020-08-28 15:48:07,849 2288 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2020-08-28 15:48:07,862 2288 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2020-08-28 15:48:07,862 2288 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2020-08-28 15:48:07,862 2288 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2020-08-28 15:48:07,877 2288 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2020-08-28 15:48:07,877 2288 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2020-08-28 15:48:07,877 2288 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2020-08-28 15:48:07,893 2288 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2020-08-28 15:48:07,893 2288 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2020-08-28 15:48:07,893 2288 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2020-08-28 15:48:07,908 2288 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2020-08-28 15:48:07,908 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2020-08-28 15:48:07,908 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:07,908 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2020-08-28 15:48:07,926 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2020-08-28 15:48:07,926 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2020-08-28 15:48:07,926 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2020-08-28 15:48:07,940 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2020-08-28 15:48:07,940 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2020-08-28 15:48:07,958 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2020-08-28 15:48:07,958 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2020-08-28 15:48:07,958 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2020-08-28 15:48:07,971 2288 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2020-08-28 15:48:07,971 2288 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2020-08-28 15:48:07,971 2288 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2020-08-28 15:48:07,971 2288 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2020-08-28 15:48:07,987 2288 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2020-08-28 15:48:07,987 2288 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2020-08-28 15:48:07,987 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2020-08-28 15:48:08,002 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2020-08-28 15:48:08,002 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2020-08-28 15:48:08,002 2288 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2020-08-28 15:48:08,019 2288 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2020-08-28 15:48:08,019 2288 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2020-08-28 15:48:08,019 2288 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2020-08-28 15:48:08,034 2288 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2020-08-28 15:48:08,034 2288 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2020-08-28 15:48:08,034 2288 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2020-08-28 15:48:08,049 2288 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2020-08-28 15:48:08,049 2288 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2020-08-28 15:48:08,049 2288 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2020-08-28 15:48:08,065 2288 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2020-08-28 15:48:08,065 2288 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2020-08-28 15:48:08,065 2288 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2020-08-28 15:48:08,065 2288 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2020-08-28 15:48:08,080 2288 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2020-08-28 15:48:08,080 2288 [DEBUG] - ---------------------------Script Execution---------------------------
2020-08-28 15:48:08,080 2288 [DEBUG] - Running 'ChocolateyScriptRunner' for AWSTools.Powershell v1.1.1120.20130916 with packageScript 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\AWSTools.Powershell', installArguments: '', packageParameters: '',
2020-08-28 15:48:08,096 2288 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1'
2020-08-28 15:48:08,112 2288 [DEBUG] - Running Install-ChocolateyPackage -url 'http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'AWSTools.Powershell'
2020-08-28 15:48:08,127 2288 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'AWSTools.Powershell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSTools.PowershellInstall.msi' -url 'http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -url64bit '' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2020-08-28 15:48:08,144 2288 [DEBUG] - Running Get-ProcessorBits -compare '64'
2020-08-28 15:48:08,144 2288 [DEBUG] - CPU is 64 bit
2020-08-28 15:48:08,144 2288 [DEBUG] - Running Get-WebHeaders -url 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -ErrorAction 'Stop'
2020-08-28 15:48:08,158 2288 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:48:08,158 2288 [DEBUG] - Request Headers:
2020-08-28 15:48:08,174 2288 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:48:08,174 2288 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:48:09,191 2288 [DEBUG] - Response Headers:
2020-08-28 15:48:09,206 2288 [DEBUG] - 'Connection':'keep-alive'
2020-08-28 15:48:09,206 2288 [DEBUG] - 'Content-Disposition':'attachment; filename=AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi'
2020-08-28 15:48:09,206 2288 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2020-08-28 15:48:09,222 2288 [DEBUG] - 'X-Amz-Cf-Pop':'FRA6-C1'
2020-08-28 15:48:09,222 2288 [DEBUG] - 'X-Amz-Cf-Id':'_C6ZIY3XmTB5dulygjb7_YdwZAyfR-YD-PxWY6bEAA-ghAiJy49CRw=='
2020-08-28 15:48:09,237 2288 [DEBUG] - 'Age':'23504'
2020-08-28 15:48:09,237 2288 [DEBUG] - 'Accept-Ranges':'bytes'
2020-08-28 15:48:09,237 2288 [DEBUG] - 'Content-Length':'120135680'
2020-08-28 15:48:09,321 2288 [DEBUG] - 'Content-Type':'application/x-ole-storage'
2020-08-28 15:48:09,330 2288 [DEBUG] - 'Date':'Sat, 10 Oct 2020 20:13:31 GMT'
2020-08-28 15:48:09,330 2288 [DEBUG] - 'ETag':'"54d68842f372f126522bbe53599bb119-23"'
2020-08-28 15:48:09,330 2288 [DEBUG] - 'Last-Modified':'Fri, 09 Oct 2020 19:49:48 GMT'
2020-08-28 15:48:09,346 2288 [DEBUG] - 'Server':'AmazonS3'
2020-08-28 15:48:09,346 2288 [DEBUG] - 'Via':'1.1 2f471134491a4de5cfcaef646caf9dde.cloudfront.net (CloudFront)'
2020-08-28 15:48:09,362 2288 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2020-08-28 15:48:09,362 2288 [DEBUG] - Running Get-WebFileName -url 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -defaultName 'AWSTools.PowershellInstall.msi'
2020-08-28 15:48:09,987 2288 [DEBUG] - Using header 'Content-Disposition' to determine file name.
2020-08-28 15:48:10,003 2288 [DEBUG] - File name determined from url is 'AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi'
2020-08-28 15:48:10,018 2288 [DEBUG] - Running Get-WebHeaders -url 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -ErrorAction 'Stop'
2020-08-28 15:48:10,018 2288 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:48:10,018 2288 [DEBUG] - Request Headers:
2020-08-28 15:48:10,049 2288 [DEBUG] - 'Accept':'*/*'
2020-08-28 15:48:10,049 2288 [DEBUG] - 'User-Agent':'chocolatey command line'
2020-08-28 15:48:10,159 2288 [DEBUG] - Response Headers:
2020-08-28 15:48:10,175 2288 [DEBUG] - 'Connection':'keep-alive'
2020-08-28 15:48:10,175 2288 [DEBUG] - 'Content-Disposition':'attachment; filename=AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi'
2020-08-28 15:48:10,175 2288 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2020-08-28 15:48:10,205 2288 [DEBUG] - 'X-Amz-Cf-Pop':'FRA6-C1'
2020-08-28 15:48:10,205 2288 [DEBUG] - 'X-Amz-Cf-Id':'PR7g3Spci8Fc-H_7lVAGATKHqpRH5XHd2Wa5gwZ5M0HOAQ9W7FechQ=='
2020-08-28 15:48:10,205 2288 [DEBUG] - 'Age':'23505'
2020-08-28 15:48:10,221 2288 [DEBUG] - 'Accept-Ranges':'bytes'
2020-08-28 15:48:10,221 2288 [DEBUG] - 'Content-Length':'120135680'
2020-08-28 15:48:10,238 2288 [DEBUG] - 'Content-Type':'application/x-ole-storage'
2020-08-28 15:48:10,238 2288 [DEBUG] - 'Date':'Sat, 10 Oct 2020 20:13:31 GMT'
2020-08-28 15:48:10,238 2288 [DEBUG] - 'ETag':'"54d68842f372f126522bbe53599bb119-23"'
2020-08-28 15:48:10,252 2288 [DEBUG] - 'Last-Modified':'Fri, 09 Oct 2020 19:49:48 GMT'
2020-08-28 15:48:10,252 2288 [DEBUG] - 'Server':'AmazonS3'
2020-08-28 15:48:10,252 2288 [DEBUG] - 'Via':'1.1 a350f357b825293e306b1b0a2cb490c1.cloudfront.net (CloudFront)'
2020-08-28 15:48:10,268 2288 [INFO ] - Downloading AWSTools.Powershell
from 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi'
2020-08-28 15:48:10,268 2288 [INFO ] -
2020-08-28 15:48:10,268 2288 [DEBUG] - Running Get-WebFile -url 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi' -options 'System.Collections.Hashtable'
2020-08-28 15:48:10,284 2288 [DEBUG] - Setting request timeout to 30000
2020-08-28 15:48:10,284 2288 [DEBUG] - Setting read/write timeout to 5400000
2020-08-28 15:48:10,300 2288 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2020-08-28 15:48:10,471 2288 [DEBUG] - Downloading https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi
2020-08-28 15:48:38,533 2288 [INFO ] -
2020-08-28 15:48:38,533 2288 [INFO ] - Download of AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi (114.57 MB) completed.
2020-08-28 15:48:38,533 2288 [INFO ] -
2020-08-28 15:48:41,580 2288 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2020-08-28 15:48:41,580 2288 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi' is the size we expect it to be.
2020-08-28 15:48:41,596 2288 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi'.
2020-08-28 15:48:41,611 2288 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi' -checksum '' -checksumType '' -originalUrl 'https://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi'
2020-08-28 15:48:41,611 2288 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2020-08-28 15:48:41,611 2288 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'AWSTools.Powershell' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2020-08-28 15:48:41,627 2288 [DEBUG] - Running Get-ProcessorBits -compare '32'
2020-08-28 15:48:41,627 2288 [INFO ] - Installing AWSTools.Powershell...
2020-08-28 15:48:41,642 2288 [INFO ] -
2020-08-28 15:48:41,642 2288 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2020-08-28 15:48:41,658 2288 [DEBUG] - Test-ProcessAdminRights: returning True
2020-08-28 15:48:41,658 2288 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi" /quiet ]. This may take a while, depending on the statements.
2020-08-28 15:51:03,312 2288 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916\AWSToolsAndSDKForNet_sdk-3.5.34.0_ps-4.1.2.0_tk-1.14.5.0.msi" /quiet ] exited with '0'.
2020-08-28 15:51:03,312 2288 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2020-08-28 15:51:03,312 2288 [INFO ] - AWSTools.Powershell has been installed.
2020-08-28 15:51:03,312 2288 [INFO ] -
2020-08-28 15:51:03,327 2288 [DEBUG] - Running Write-ChocolateySuccess -packageName 'AWSTools.Powershell'
2020-08-28 15:51:03,327 2288 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2020-08-28 15:51:03,359 2288 [DEBUG] - ----------------------------------------------------------------------
2020-08-28 15:51:03,359 2288 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2020-08-28 15:51:03,359 2288 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:51:03,640 2288 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:51:03,661 2288 [INFO ] - awstools.powershell may be able to be automatically uninstalled.
2020-08-28 15:51:03,671 2288 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-08-28 15:51:03,671 2288 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-08-28 15:51:03,671 2288 [DEBUG] - * PSModulePath='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\AWS Tools\PowerShell\' (Machine)
2020-08-28 15:51:03,687 2288 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'
2020-08-28 15:51:03,687 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nupkg'
with checksum '63ECE49DD5E5084972BEED7964516825'
2020-08-28 15:51:03,687 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nuspec'
with checksum 'E8E2B8F98F762412DAF06BC1D81C4D06'
2020-08-28 15:51:03,687 2288 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1'
with checksum '95DB8D5271018A0E07D39A848563A2C2'
2020-08-28 15:51:03,704 2288 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916".
2020-08-28 15:51:03,750 2288 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.registry'
2020-08-28 15:51:03,750 2288 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.files'
2020-08-28 15:51:03,796 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.extra".
2020-08-28 15:51:03,796 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.version".
2020-08-28 15:51:03,796 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.sxs".
2020-08-28 15:51:03,796 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AWSTools.Powershell.1.1.1120.20130916\.pin".
2020-08-28 15:51:03,812 2288 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-08-28 15:51:03,812 2288 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\AWSTools.Powershell\.chocolateyPending".
2020-08-28 15:51:03,812 2288 [INFO ] - The install of awstools.powershell was successful.
2020-08-28 15:51:03,812 2288 [INFO ] - Software installed as 'msi', install location is likely default.
2020-08-28 15:51:03,859 2288 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\AWSTools.Powershell.1.1.1120.20130916.nupkg".
2020-08-28 15:51:03,890 2288 [WARN ] -
Chocolatey installed 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-08-28 15:51:03,890 2288 [INFO ] -
2020-08-28 15:51:03,906 2288 [WARN ] - Packages requiring reboot:
2020-08-28 15:51:03,906 2288 [WARN ] - - powershell (exit code 3010)
2020-08-28 15:51:03,906 2288 [WARN ] -
The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.
2020-08-28 15:51:03,927 2288 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-08-28 15:51:03,969 2288 [DEBUG] - Exiting with 3010
2020-08-28 15:51:52,452 536 [DEBUG] - XmlConfiguration is now operational
2020-08-28 15:51:52,765 536 [INFO ] - ============================================================
2020-08-28 15:51:53,733 536 [INFO ] - Chocolatey v0.10.16-beta
2020-08-28 15:51:53,764 536 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2020-08-28 15:51:53,811 536 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-08-28 15:51:53,828 536 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-08-28 15:51:53,842 536 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall AWSTools.Powershell --version 1.1.1120.20130916 -dvy --execution-timeout=5400
2020-08-28 15:51:53,842 536 [DEBUG] - Received arguments: uninstall AWSTools.Powershell --version 1.1.1120.20130916 -dvy --execution-timeout=5400
2020-08-28 15:51:54,061 536 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-08-28 15:51:54,077 536 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-08-28 15:51:54,110 536 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-08-28 15:51:54,280 536 [DEBUG] - Performing validation checks.
2020-08-28 15:51:54,296 536 [DEBUG] - Global Configuration Validation Checks:
2020-08-28 15:51:54,311 536 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2020-08-28 15:51:54,311 536 [DEBUG] - System State Validation Checks:
2020-08-28 15:51:54,327 536 [DEBUG] - Reboot Requirement Checks:
2020-08-28 15:51:54,342 536 [DEBUG] - - Pending Computer Rename = Checked
2020-08-28 15:51:54,342 536 [DEBUG] - - Pending Component Based Servicing = Flagged
2020-08-28 15:51:54,359 536 [INFO ] - 2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
2020-08-28 15:51:54,359 536 [INFO ] -
2020-08-28 15:51:54,373 536 [WARN ] - Validation Warnings:
2020-08-28 15:51:54,373 536 [WARN ] - - A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
2020-08-28 15:51:54,390 536 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2020-08-28 15:51:54,390 536 [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.
2020-08-28 15:51:54,436 536 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='5400'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='AWSTools.Powershell'|
Version='1.1.1120.20130916'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='AWSTools.Powershell'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.16.0'|
Information.ChocolateyProductVersion='0.10.16-beta'|
Information.FullName='choco, Version=0.10.16.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
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.ScriptsCheckLastExitCode='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'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2020-08-28 15:51:54,452 536 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2020-08-28 15:51:54,468 536 [INFO ] - Uninstalling the following packages:
2020-08-28 15:51:54,468 536 [INFO ] - AWSTools.Powershell
2020-08-28 15:51:54,483 536 [DEBUG] - Current environment values (may contain sensitive data):
2020-08-28 15:51:54,499 536 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:51:54,499 536 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2020-08-28 15:51:54,499 536 [DEBUG] - * 'ChocolateyLastPathUpdate'='132431025732641459' ('User')
2020-08-28 15:51:54,499 536 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2020-08-28 15:51:54,515 536 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2020-08-28 15:51:54,515 536 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2020-08-28 15:51:54,515 536 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2020-08-28 15:51:54,530 536 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:51:54,530 536 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2020-08-28 15:51:54,530 536 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2020-08-28 15:51:54,547 536 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2020-08-28 15:51:54,547 536 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2020-08-28 15:51:54,547 536 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2020-08-28 15:51:54,562 536 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\AWS Tools\PowerShell\' ('Machine')
2020-08-28 15:51:54,562 536 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2020-08-28 15:51:54,562 536 [DEBUG] - * 'PROCESSOR_LEVEL'='16' ('Machine')
2020-08-28 15:51:54,577 536 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='AMD64 Family 16 Model 6 Stepping 3, AuthenticAMD' ('Machine')
2020-08-28 15:51:54,577 536 [DEBUG] - * 'PROCESSOR_REVISION'='0603' ('Machine')
2020-08-28 15:51:54,577 536 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2020-08-28 15:51:54,593 536 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2020-08-28 15:51:55,030 536 [DEBUG] - Running list with the following filter = ''
2020-08-28 15:51:55,030 536 [DEBUG] - --- Start of List ---
2020-08-28 15:51:55,998 536 [DEBUG] - AWSTools.Powershell 1.1.1120.20130916
2020-08-28 15:51:56,048 536 [DEBUG] - --- End of List ---
2020-08-28 15:51:56,437 536 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2020-08-28 15:51:56,468 536 [DEBUG] - Backing up existing AWSTools.Powershell prior to operation.
2020-08-28 15:51:56,483 536 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'
to 'C:\ProgramData\chocolatey\lib-bkp\AWSTools.Powershell'
2020-08-28 15:51:58,514 536 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\AWSTools.Powershell".
2020-08-28 15:51:58,530 536 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\AWSTools.Powershell\AWSTools.Powershell.nupkg"
to "C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nupkg".
2020-08-28 15:51:58,530 536 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\AWSTools.Powershell\AWSTools.Powershell.nuspec"
to "C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nuspec".
2020-08-28 15:51:58,545 536 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools".
2020-08-28 15:51:58,545 536 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\AWSTools.Powershell\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1".
2020-08-28 15:52:00,077 536 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'
2020-08-28 15:52:00,077 536 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nupkg'
with checksum '63ECE49DD5E5084972BEED7964516825'
2020-08-28 15:52:00,077 536 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\AWSTools.Powershell.nuspec'
with checksum 'E8E2B8F98F762412DAF06BC1D81C4D06'
2020-08-28 15:52:00,093 536 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools\chocolateyInstall.ps1'
with checksum '95DB8D5271018A0E07D39A848563A2C2'
2020-08-28 15:52:00,374 536 [INFO ] - [NuGet] Uninstalling 'AWSTools.Powershell 1.1.1120.20130916'.
2020-08-28 15:52:00,389 536 [INFO ] -
AWSTools.Powershell v1.1.1120.20130916
2020-08-28 15:52:00,467 536 [INFO ] - Running auto uninstaller...
2020-08-28 15:52:00,483 536 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2020-08-28 15:52:02,546 536 [DEBUG] - Preparing uninstall key 'MsiExec.exe /I{54ACEF38-4884-42D5-B292-D657040CBD41}' for 'AWS Tools for Windows'
2020-08-28 15:52:02,623 536 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2020-08-28 15:52:02,873 536 [DEBUG] - Installer type is 'MsiInstaller'
2020-08-28 15:52:02,889 536 [DEBUG] - Setting up uninstall logging directory at C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916
2020-08-28 15:52:02,889 536 [DEBUG] - Args are '/X{54ACEF38-4884-42D5-B292-D657040CBD41} /qn /norestart'
2020-08-28 15:52:02,905 536 [DEBUG] - Calling command ['"MsiExec.exe" /X{54ACEF38-4884-42D5-B292-D657040CBD41} /qn /norestart']
2020-08-28 15:52:18,014 536 [DEBUG] - Command ['"MsiExec.exe" /X{54ACEF38-4884-42D5-B292-D657040CBD41} /qn /norestart'] exited with '0'
2020-08-28 15:52:18,014 536 [INFO ] - Auto uninstaller has successfully uninstalled AWSTools.Powershell or detected previous uninstall.
2020-08-28 15:52:18,014 536 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2020-08-28 15:52:18,076 536 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2020-08-28 15:52:18,108 536 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\awstools.powershell".
2020-08-28 15:52:18,171 536 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools'.
2020-08-28 15:52:18,171 536 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell\tools'.
2020-08-28 15:52:18,186 536 [DEBUG] - [NuGet] Removed file 'AWSTools.Powershell.nuspec' to folder 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'.
2020-08-28 15:52:18,186 536 [DEBUG] - [NuGet] Removed file 'AWSTools.Powershell.nupkg' to folder 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'.
2020-08-28 15:52:18,201 536 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\AWSTools.Powershell'.
2020-08-28 15:52:18,201 536 [INFO ] - [NuGet] Successfully uninstalled 'AWSTools.Powershell 1.1.1120.20130916'.
2020-08-28 15:52:18,218 536 [INFO ] - AWSTools.Powershell has been successfully uninstalled.
2020-08-28 15:52:18,218 536 [DEBUG] - Removing nupkg if it still exists.
2020-08-28 15:52:18,233 536 [DEBUG] - Ensuring removal of installation files.
2020-08-28 15:52:18,233 536 [DEBUG] - Ensuring removal of package cache files.
2020-08-28 15:52:18,248 536 [DEBUG] - Attempting to delete directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\AWSTools.Powershell\1.1.1120.20130916".
2020-08-28 15:52:18,326 536 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2020-08-28 15:52:18,326 536 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2020-08-28 15:52:18,326 536 [DEBUG] - * PSModulePath='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' (Machine)
2020-08-28 15:52:18,373 536 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-08-28 15:52:18,373 536 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-08-28 15:52:18,420 536 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.