Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RSAT v2.1809.0.20190205 - Passed - Package Tests Results

RSAT v2.1809.0.20190205 - Passed - Package Test Results

  • https://chocolatey.org/packages/RSAT/2.1809.0.20190205
  • Tested 18 May 2019 07:52:03 +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\RSAT\RSAT.nupkg" checksum="5B42646DC846F10A03D7E7BF2124D141" />
<file path="C:\ProgramData\chocolatey\lib\RSAT\RSAT.nuspec" checksum="48C07F8E9558FB4E0EB8CC7F16CA92B3" />
<file path="C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyinstall.ps1" checksum="4C8C38650CD321F98E6DDDD4A684761C" />
<file path="C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyuninstall.ps1" checksum="A87770C9F0B0566F5B7AE1F25EE6F92D" />
</files>
</fileSnapshot>
2019-05-18 07:51:03,503 2076 [DEBUG] - XmlConfiguration is now operational
2019-05-18 07:51:03,737 2076 [INFO ] - ============================================================
2019-05-18 07:51:04,612 2076 [INFO ] - Chocolatey v0.10.14-beta-7-gb30427d
2019-05-18 07:51:04,659 2076 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-05-18 07:51:04,675 2076 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-05-18 07:51:04,675 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-05-18 07:51:04,706 2076 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install RSAT --version 2.1809.0.20190205 -fdvy --execution-timeout=2700 --allow-downgrade
2019-05-18 07:51:04,722 2076 [DEBUG] - Received arguments: install RSAT --version 2.1809.0.20190205 -fdvy --execution-timeout=2700 --allow-downgrade
2019-05-18 07:51:04,894 2076 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-05-18 07:51:04,926 2076 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-05-18 07:51:04,956 2076 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-05-18 07:51:05,159 2076 [DEBUG] - Performing validation checks.
2019-05-18 07:51:05,191 2076 [DEBUG] - Global Configuration Validation Checks:
2019-05-18 07:51:05,222 2076 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-05-18 07:51:05,222 2076 [DEBUG] - System State Validation Checks:
2019-05-18 07:51:05,237 2076 [DEBUG] - Reboot Requirement Checks:
2019-05-18 07:51:05,253 2076 [DEBUG] - - Pending Computer Rename = Checked
2019-05-18 07:51:05,269 2076 [DEBUG] - - Pending Component Based Servicing = Checked
2019-05-18 07:51:05,269 2076 [DEBUG] - - Pending Windows Auto Update = Checked
2019-05-18 07:51:05,269 2076 [DEBUG] - - Pending File Rename Operations = Checked
2019-05-18 07:51:05,284 2076 [DEBUG] - - Pending Windows Package Installer = Checked
2019-05-18 07:51:05,284 2076 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-05-18 07:51:05,300 2076 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-05-18 07:51:05,316 2076 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-05-18 07:51:05,332 2076 [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.
2019-05-18 07:51:05,394 2076 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|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='RSAT'|Version='2.1809.0.20190205'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='RSAT'|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.14.0'|
Information.ChocolateyProductVersion='0.10.14-beta-7-gb30427d'|
Information.FullName='choco, Version=0.10.14.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'|
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'|
2019-05-18 07:51:05,394 2076 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-05-18 07:51:05,425 2076 [INFO ] - Installing the following packages:
2019-05-18 07:51:05,425 2076 [INFO ] - RSAT
2019-05-18 07:51:05,440 2076 [INFO ] - By installing you accept licenses for the packages.
2019-05-18 07:51:05,456 2076 [DEBUG] - Current environment values (may contain sensitive data):
2019-05-18 07:51:05,472 2076 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-18 07:51:05,472 2076 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-18 07:51:05,472 2076 [DEBUG] - * 'ChocolateyLastPathUpdate'='132025555381917963' ('User')
2019-05-18 07:51:05,472 2076 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-05-18 07:51:05,487 2076 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-05-18 07:51:05,487 2076 [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')
2019-05-18 07:51:05,487 2076 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-05-18 07:51:05,487 2076 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-05-18 07:51:05,503 2076 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-05-18 07:51:05,503 2076 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-05-18 07:51:05,503 2076 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-05-18 07:51:05,503 2076 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-05-18 07:51:05,519 2076 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-05-18 07:51:05,519 2076 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-05-18 07:51:05,519 2076 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-05-18 07:51:05,534 2076 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-05-18 07:51:05,534 2076 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-05-18 07:51:05,534 2076 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-05-18 07:51:05,534 2076 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-05-18 07:51:05,550 2076 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-05-18 07:51:11,987 2076 [INFO ] - [NuGet] Installing 'RSAT 2.1809.0.20190205'.
2019-05-18 07:51:12,019 2076 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'RSAT\tools'.
2019-05-18 07:51:12,019 2076 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'RSAT\tools'.
2019-05-18 07:51:12,034 2076 [DEBUG] - [NuGet] Added file 'RSAT.nupkg' to folder 'RSAT'.
2019-05-18 07:51:12,519 2076 [DEBUG] - [NuGet] Added file 'RSAT.nuspec' to folder 'RSAT'.
2019-05-18 07:51:12,519 2076 [INFO ] - [NuGet] Successfully installed 'RSAT 2.1809.0.20190205'.
2019-05-18 07:51:12,534 2076 [INFO ] -
RSAT v2.1809.0.20190205 (forced) [Approved]
2019-05-18 07:51:12,581 2076 [INFO ] - rsat package files install completed. Performing other installation steps.
2019-05-18 07:51:12,784 2076 [DEBUG] - Setting installer args for RSAT
2019-05-18 07:51:12,800 2076 [DEBUG] - Setting package parameters for RSAT
2019-05-18 07:51:12,800 2076 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyinstall.ps1':
2019-05-18 07:51:12,847 2076 [DEBUG] - $ErrorActionPreference = 'Stop'
$1809Build = 17763
$osInfo = Get-WmiObject Win32_OperatingSystem | Select-Object Version, ProductType, Caption, OperatingSystemSKU, BuildNumber
Write-host "Detected: $($osInfo.Caption)" -ForegroundColor Cyan
$osInfo.Version = [version]$osInfo.Version
if ($osInfo.Version -lt [version]'6.0') {
Throw 'The Remote System Administration Toolkit (RSAT) requires Windows Vista or later.'
}
elseif ($osInfo.ProductType -ne 1) {
Write-Warning 'The Remote System Administration Toolkit (RSAT) is built into Windows Server, so no need for an actual install.'
Return
}
# See here for determining the edition of Windows via SKU:
# https://superuser.com/questions/1328506/windows-edition-on-non-english-systems
# The list below are the valid SKUs for Windows editions that can have RSAT
elseif ((1,4,6,16,27,28,48,49,70,72,84,103,121,122,125,126,129,130,133,161,162) -notcontains ($osInfo.OperatingSystemSKU)) {
Throw 'The Remote System Administration Toolkit (RSAT) can only install on Professional, Enterprise, or Education editions of Windows.'
}
$web = New-Object Net.WebClient
if ($osInfo.Version.Major -eq 6) {
switch ($osInfo.Version.Minor) {
0 { # Vista
If (Get-OSArchitectureWidth -eq 64) {
Throw 'Vista x64 is not supported.'; return
}
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=21090')
$Checksum = '507c857b6a7cb15abaa36730b57d65487587ea62d7cf73f7b24542c1ef70038a' }
1 { # Win7
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=7887')
$Checksum = 'fcc36f0686f23bf57b0c719dfc86b06e8d2b501f93a08ed81704d15ab1726b41'
$Checksum64 = '1d9f49878fff72d9954ec58cf10b72d8edc3d9126c10b1c4155b7912e2450f3c' }
2 { # Win8
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=28972')
$Checksum = '050aefe2568de7e9e28d75c6752a8287cbbb0f2a0f2be5dd0e0c75ba29aff941'
$Checksum64 = '9799352c104d56a3bb7e5f931dadb4aa3361fce3d41be23699787a23347f207a' }
3 { # Win8.1
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=39296')
$Checksum = 'eb62cfabdc0c3231a1ba2d5310f4ff1daf6294b89b143cc10b255becb1da5b75'
$Checksum64 = 'dea5540a59e018e04e088afb2aa326fb690d27a983fd3cbffefbfcfdde20a47d' }
}
} elseif ($osInfo.Version.Major -eq 10) { # Windows 10
$pp = Get-PackageParameters
if ($osInfo.BuildNumber -lt $1809Build) {
switch ($pp.Server) {
'2016' { $WS = '2016'
$Checksum = '6d46ef85cb63cf5c949706b7890bc1bb56a8c30506700262fe5ef4999b7380f3'
$Checksum64 = '4aeb716f301783e56739f9b0a361e2aa4f1e1d6b947b76c1d61af70b0ff0b4c7' }
'1709' { $WS = '1709'
$Checksum = 'b62f131993908e24f093c8d630b84d49a829d9f7922dab17aa2f42867b096c43'
$Checksum64 = '72b34e1bef5c790081ffda24e18a5eb3cbe26944baee604aae0deddd8bfe6ebc' }
default { $WS = '1803'
$Checksum = '968c20e6492b89fe72fe1cf496b90b7106492258a02d1333a6aa810be7cf5b49'
$Checksum64 = '3908b653c8bc5567684ab2779ee110dc2c0d56d2a33a329fe5460ecce55aaebe' }
}
$html = $web.DownloadString('https://www.microsoft.com/download/confirmation.aspx?id=45520')
Write-Host "Installing tools for managing Windows Server $WS." -ForegroundColor Cyan
}
}
If (($osInfo.Version.Major -ne 10) -or ($osInfo.BuildNumber -lt $1809Build)) {
$urls = select-string '"https[^"]*msu"' -input $html -AllMatches |
ForEach-Object {$_.matches} |
ForEach-Object {$_.value.trim('"')} |
Select-Object -unique |
Where-Object {$_ -match "WS_?$WS"}
$url = $urls | where-Object {$_ -match 'x86' }
$url64 = $urls | where-Object {$_ -match 'x64' }
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
FileType = 'msu'
Url = $url
Url64bit = $url64
Checksum = $Checksum
Checksum64 = $Checksum64
ChecksumType = 'sha256'
SilentArgs = '/quiet /norestart'
ValidExitCodes= @(0,3010,-2146233087,2359302)
}
Install-ChocolateyPackage @packageArgs
} else {
# Based on https://gallery.technet.microsoft.com/Install-RSAT-for-Windows-75f5f92f
$WSUSKey = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (Test-Path $WSUSKey) {
$Save = (Get-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -ErrorAction SilentlyContinue).UseWUServer
Set-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Value 0
Restart-Service wuauserv
}
$WhereArray = @()
if ($pp.AD) {$WhereArray += '($_.Name -like "Rsat.ActiveDirectory*")'}
if ($pp.GP) {$WhereArray += '($_.Name -like "Rsat.GroupPolicy*")'}
if ($pp.SM) {$WhereArray += '($_.Name -like "Rsat.ServerManager*")'}
if ($pp.CS) {$WhereArray += '($_.Name -like "Rsat.CertificateServices*")'}
if ($pp.RD) {$WhereArray += '($_.Name -like "Rsat.RemoteDesktop*")'}
if ($pp.FS) {$WhereArray += '($_.Name -like "Rsat.FileServices*")'}
if ($pp.DNS) {$WhereArray += '($_.Name -like "Rsat.DNS*")'}
if ($pp.DHCP) {$WhereArray += '($_.Name -like "Rsat.DHCP*")'}
if ($WhereArray.count -eq 0) {
$WhereArray += '$_.Name -like "Rsat*"'
}
$WhereString = '$_.State -eq "NotPresent" -AND (' + ($WhereArray -join ' -OR ') + ')'
$Tools = Get-WindowsCapability -Online | Where-Object $([scriptblock]::Create($WhereString))
foreach ($Item in $Tools) {
try {
Write-Host "`nAdding $($Item.Name) to Windows"
$DISMobject = Add-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
}
catch { Write-Warning -Message $_.Exception.Message; break }
}
Write-Host "`n"
Write-Verbose "Windows Feature install log is at $($DISMobject.LogPath)"
if (Test-Path $WSUSKey) {
If ($Save -ne $null) {
Set-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Value $Save
} else {
Remove-ItemProperty -Path $WSUSKey -Name 'UseWUServer' -Force
}
Restart-Service wuauserv
}
}
2019-05-18 07:51:13,237 2076 [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\RSAT\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-05-18 07:51:13,237 2076 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-05-18 07:51:14,987 2076 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-05-18 07:51:15,441 2076 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-18 07:51:15,441 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-18 07:51:15,456 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-18 07:51:15,456 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-18 07:51:15,456 2076 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-18 07:51:15,472 2076 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-18 07:51:15,472 2076 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-18 07:51:15,472 2076 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-18 07:51:15,472 2076 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-18 07:51:15,487 2076 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:51:15,487 2076 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-18 07:51:15,487 2076 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-18 07:51:15,503 2076 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-18 07:51:15,503 2076 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-18 07:51:15,503 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-18 07:51:15,503 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-18 07:51:15,519 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-18 07:51:15,519 2076 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-18 07:51:15,519 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:51:15,534 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:15,534 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:51:15,534 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:51:15,534 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:51:15,550 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-18 07:51:15,550 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-18 07:51:15,550 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:51:15,550 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:51:15,566 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-18 07:51:15,566 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:51:15,566 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-18 07:51:15,566 2076 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-18 07:51:15,581 2076 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-18 07:51:15,581 2076 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-18 07:51:15,581 2076 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:51:15,581 2076 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-18 07:51:15,597 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-18 07:51:15,597 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:15,597 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:51:15,597 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:51:15,612 2076 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-18 07:51:15,612 2076 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-18 07:51:15,612 2076 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-18 07:51:15,612 2076 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-18 07:51:15,628 2076 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-18 07:51:15,628 2076 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-18 07:51:15,628 2076 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-18 07:51:15,644 2076 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-18 07:51:15,644 2076 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-18 07:51:15,644 2076 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-18 07:51:15,644 2076 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-18 07:51:15,659 2076 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:51:15,659 2076 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-18 07:51:15,659 2076 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-18 07:51:15,706 2076 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-18 07:51:15,706 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-18 07:51:15,706 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-18 07:51:15,722 2076 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-18 07:51:15,722 2076 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-18 07:51:15,722 2076 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-18 07:51:15,737 2076 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-18 07:51:15,737 2076 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-18 07:51:15,737 2076 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-18 07:51:15,737 2076 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:51:15,753 2076 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-18 07:51:15,753 2076 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-18 07:51:15,753 2076 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-18 07:51:15,769 2076 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-18 07:51:15,769 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-18 07:51:15,769 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-18 07:51:15,769 2076 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-18 07:51:15,784 2076 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-18 07:51:15,784 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:51:15,784 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:15,784 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:51:15,800 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:51:15,800 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:51:15,800 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-18 07:51:15,815 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-18 07:51:15,815 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:51:15,815 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:51:15,815 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-18 07:51:15,831 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:51:15,831 2076 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-18 07:51:15,831 2076 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-18 07:51:15,847 2076 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-18 07:51:15,847 2076 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-18 07:51:15,847 2076 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:51:15,847 2076 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-18 07:51:15,862 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-18 07:51:15,862 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:15,862 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:51:15,862 2076 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:51:15,878 2076 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-18 07:51:15,878 2076 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-18 07:51:15,878 2076 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-18 07:51:15,894 2076 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-18 07:51:15,894 2076 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-18 07:51:15,894 2076 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-18 07:51:15,894 2076 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-18 07:51:15,909 2076 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-18 07:51:15,909 2076 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-18 07:51:15,909 2076 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-18 07:51:15,925 2076 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-18 07:51:15,925 2076 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:51:15,925 2076 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-18 07:51:15,925 2076 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-18 07:51:15,941 2076 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-05-18 07:51:15,941 2076 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-05-18 07:51:15,941 2076 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-05-18 07:51:15,941 2076 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-05-18 07:51:15,956 2076 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-05-18 07:51:15,956 2076 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-05-18 07:51:15,956 2076 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-05-18 07:51:15,956 2076 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-05-18 07:51:15,972 2076 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-05-18 07:51:15,972 2076 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:51:15,972 2076 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-05-18 07:51:15,987 2076 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-05-18 07:51:15,987 2076 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-05-18 07:51:15,987 2076 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-05-18 07:51:15,987 2076 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-05-18 07:51:16,003 2076 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-05-18 07:51:16,003 2076 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-05-18 07:51:16,003 2076 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-05-18 07:51:16,003 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:51:16,019 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:16,019 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:51:16,019 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:51:16,034 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:51:16,034 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-05-18 07:51:16,034 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-05-18 07:51:16,034 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:51:16,050 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:51:16,050 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-05-18 07:51:16,050 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:51:16,050 2076 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-05-18 07:51:16,066 2076 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-05-18 07:51:16,066 2076 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-05-18 07:51:16,066 2076 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-05-18 07:51:16,066 2076 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:51:16,081 2076 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-05-18 07:51:16,081 2076 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-05-18 07:51:16,081 2076 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:51:16,097 2076 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:51:16,097 2076 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:51:16,097 2076 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-05-18 07:51:16,097 2076 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-05-18 07:51:16,112 2076 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-05-18 07:51:16,112 2076 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-05-18 07:51:16,112 2076 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-05-18 07:51:16,112 2076 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-05-18 07:51:16,128 2076 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-05-18 07:51:16,128 2076 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-05-18 07:51:16,128 2076 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-05-18 07:51:16,128 2076 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-05-18 07:51:16,144 2076 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:51:16,144 2076 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-05-18 07:51:16,144 2076 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-05-18 07:51:16,144 2076 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-05-18 07:51:16,300 2076 [DEBUG] - Running 'ChocolateyScriptRunner' for RSAT v2.1809.0.20190205 with packageScript 'C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\RSAT', installArguments: '', packageParameters: '',
2019-05-18 07:51:16,347 2076 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyinstall.ps1'
2019-05-18 07:51:17,175 2076 [INFO ] - Detected: Microsoft Windows Server 2012 R2 Datacenter
2019-05-18 07:51:17,191 2076 [INFO ] -
2019-05-18 07:51:17,254 2076 [WARN ] - WARNING: The Remote System Administration Toolkit (RSAT) is built into Windows Server, so no need for an actual install.
2019-05-18 07:51:17,284 2076 [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\RSAT\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-05-18 07:51:17,316 2076 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-05-18 07:51:17,348 2076 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-05-18 07:51:17,660 2076 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\RSAT'
2019-05-18 07:51:17,660 2076 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\RSAT\RSAT.nupkg'
with checksum '5B42646DC846F10A03D7E7BF2124D141'
2019-05-18 07:51:17,675 2076 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\RSAT\RSAT.nuspec'
with checksum '48C07F8E9558FB4E0EB8CC7F16CA92B3'
2019-05-18 07:51:17,675 2076 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyinstall.ps1'
with checksum '4C8C38650CD321F98E6DDDD4A684761C'
2019-05-18 07:51:17,675 2076 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\RSAT\tools\chocolateyuninstall.ps1'
with checksum 'A87770C9F0B0566F5B7AE1F25EE6F92D'
2019-05-18 07:51:17,815 2076 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-05-18 07:51:17,864 2076 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205".
2019-05-18 07:51:17,909 2076 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205\.files'
2019-05-18 07:51:17,909 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205\.extra".
2019-05-18 07:51:17,925 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205\.version".
2019-05-18 07:51:17,925 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205\.sxs".
2019-05-18 07:51:17,940 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\RSAT.2.1809.0.20190205\.pin".
2019-05-18 07:51:17,956 2076 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-05-18 07:51:17,956 2076 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\RSAT\.chocolateyPending".
2019-05-18 07:51:17,972 2076 [INFO ] - The install of rsat was successful.
2019-05-18 07:51:17,972 2076 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-05-18 07:51:17,987 2076 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\RSAT.2.1809.0.20190205.nupkg".
2019-05-18 07:51:18,066 2076 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-05-18 07:51:18,066 2076 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-05-18 07:51:18,128 2076 [DEBUG] - Exiting with 0
2019-05-18 07:51:52,222 2392 [DEBUG] - XmlConfiguration is now operational
2019-05-18 07:51:52,473 2392 [INFO ] - ============================================================
2019-05-18 07:51:53,239 2392 [INFO ] - Chocolatey v0.10.14-beta-7-gb30427d
2019-05-18 07:51:53,300 2392 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-05-18 07:51:53,315 2392 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-05-18 07:51:53,315 2392 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-05-18 07:51:53,347 2392 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall RSAT --version 2.1809.0.20190205 -dvy --execution-timeout=2700
2019-05-18 07:51:53,347 2392 [DEBUG] - Received arguments: uninstall RSAT --version 2.1809.0.20190205 -dvy --execution-timeout=2700
2019-05-18 07:51:53,519 2392 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-05-18 07:51:53,550 2392 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-05-18 07:51:53,581 2392 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-05-18 07:51:53,769 2392 [DEBUG] - Performing validation checks.
2019-05-18 07:51:53,784 2392 [DEBUG] - Global Configuration Validation Checks:
2019-05-18 07:51:53,800 2392 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-05-18 07:51:53,800 2392 [DEBUG] - System State Validation Checks:
2019-05-18 07:51:53,816 2392 [DEBUG] - Reboot Requirement Checks:
2019-05-18 07:51:53,831 2392 [DEBUG] - - Pending Computer Rename = Checked
2019-05-18 07:51:53,847 2392 [DEBUG] - - Pending Component Based Servicing = Checked
2019-05-18 07:51:53,847 2392 [DEBUG] - - Pending Windows Auto Update = Checked
2019-05-18 07:51:53,847 2392 [DEBUG] - - Pending File Rename Operations = Checked
2019-05-18 07:51:53,862 2392 [DEBUG] - - Pending Windows Package Installer = Checked
2019-05-18 07:51:53,862 2392 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-05-18 07:51:53,894 2392 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-05-18 07:51:53,894 2392 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-05-18 07:51:53,909 2392 [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.
2019-05-18 07:51:53,972 2392 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|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='RSAT'|Version='2.1809.0.20190205'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='RSAT'|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.14.0'|
Information.ChocolateyProductVersion='0.10.14-beta-7-gb30427d'|
Information.FullName='choco, Version=0.10.14.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'|
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'|
2019-05-18 07:51:53,987 2392 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-05-18 07:51:54,003 2392 [INFO ] - Uninstalling the following packages:
2019-05-18 07:51:54,003 2392 [INFO ] - RSAT
2019-05-18 07:51:54,035 2392 [DEBUG] - Current environment values (may contain sensitive data):
2019-05-18 07:51:54,035 2392 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-18 07:51:54,050 2392 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-05-18 07:51:54,050 2392 [DEBUG] - * 'ChocolateyLastPathUpdate'='132025555381917963' ('User')
2019-05-18 07:51:54,050 2392 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-05-18 07:51:54,050 2392 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-05-18 07:51:54,065 2392 [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')
2019-05-18 07:51:54,065 2392 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-05-18 07:51:54,065 2392 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-05-18 07:51:54,065 2392 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-05-18 07:51:54,081 2392 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-05-18 07:51:54,081 2392 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-05-18 07:51:54,081 2392 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-05-18 07:51:54,081 2392 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-05-18 07:51:54,097 2392 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-05-18 07:51:54,097 2392 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-05-18 07:51:54,097 2392 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-05-18 07:51:54,097 2392 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-05-18 07:51:54,112 2392 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-05-18 07:51:54,112 2392 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-05-18 07:51:54,112 2392 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-05-18 07:51:54,409 2392 [DEBUG] - Running list with the following filter = ''
2019-05-18 07:51:54,425 2392 [DEBUG] - --- Start of List ---
2019-05-18 07:51:54,956 2392 [DEBUG] - rsat 2.1809.0.20190205
2019-05-18 07:51:54,987 2392 [DEBUG] - --- End of List ---
2019-05-18 07:51:55,347 2392 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-05-18 07:51:55,347 2392 [DEBUG] - Backing up existing rsat prior to operation.
2019-05-18 07:51:55,362 2392 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\rsat'
to 'C:\ProgramData\chocolatey\lib-bkp\rsat'
2019-05-18 07:51:57,394 2392 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\rsat".
2019-05-18 07:51:57,394 2392 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rsat\RSAT.nupkg"
to "C:\ProgramData\chocolatey\lib\rsat\RSAT.nupkg".
2019-05-18 07:51:57,410 2392 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rsat\RSAT.nuspec"
to "C:\ProgramData\chocolatey\lib\rsat\RSAT.nuspec".
2019-05-18 07:51:57,410 2392 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\rsat\tools".
2019-05-18 07:51:57,425 2392 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rsat\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyinstall.ps1".
2019-05-18 07:51:57,425 2392 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\rsat\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyuninstall.ps1".
2019-05-18 07:51:58,956 2392 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\rsat'
2019-05-18 07:51:58,972 2392 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\rsat\RSAT.nupkg'
with checksum '5B42646DC846F10A03D7E7BF2124D141'
2019-05-18 07:51:58,972 2392 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\rsat\RSAT.nuspec'
with checksum '48C07F8E9558FB4E0EB8CC7F16CA92B3'
2019-05-18 07:51:58,972 2392 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyinstall.ps1'
with checksum '4C8C38650CD321F98E6DDDD4A684761C'
2019-05-18 07:51:58,987 2392 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyuninstall.ps1'
with checksum 'A87770C9F0B0566F5B7AE1F25EE6F92D'
2019-05-18 07:51:59,425 2392 [INFO ] - [NuGet] Uninstalling 'rsat 2.1809.0.20190205'.
2019-05-18 07:51:59,456 2392 [INFO ] -
rsat v2.1809.0.20190205
2019-05-18 07:51:59,644 2392 [DEBUG] - Setting installer args for rsat
2019-05-18 07:51:59,644 2392 [DEBUG] - Setting package parameters for rsat
2019-05-18 07:51:59,659 2392 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyuninstall.ps1':
2019-05-18 07:51:59,691 2392 [DEBUG] - $ErrorActionPreference = 'Stop'
$osInfo = Get-WmiObject Win32_OperatingSystem | Select-Object Version, ProductType, Caption, OperatingSystemSKU, BuildNumber
$osInfo.Version = [version]$osInfo.Version
if ($osInfo.ProductType -ne 1) {
Write-Warning 'The Remote System Administration Toolkit (RSAT) is built into Windows Server, so it cannot be uninstalled.'
Return
}
If (($osInfo.Version.Major -ne 10) -or ($osInfo.BuildNumber -lt 17763)) {
$packages = & "$env:windir\system32\dism.exe" /online /get-packages |
Select-String -Pattern 'rsat|RemoteServerAdministrationTools' -AllMatches |
ForEach-Object {$_.line.split(':')[-1].trim()}
foreach ($package in $packages) {
& "$env:windir\system32\dism.exe" /Online /Remove-Package /NoRestart /PackageName:$package
if ($LASTEXITCODE) {
throw "Error $LASTEXITCODE trying to remove $package`nYou may need to reboot first."
}
}
} else {
# Apparently, some features must be removed after others.
$WhereArray = @()
$WhereArray += '($_.Name -notlike "Rsat.ActiveDirectory*")'
$WhereArray += '($_.Name -notlike "Rsat.GroupPolicy*")'
$WhereArray += '($_.Name -notlike "Rsat.ServerManager*")'
$WhereString = '($_.Name -like "Rsat*") -AND ($_.State -eq "Installed") -AND ' + ($WhereArray -join ' -AND ')
$Installed = Get-WindowsCapability -Online | Where-Object $([scriptblock]::Create($WhereString))
foreach ($Item in $Installed) {
try {
Write-Host "`nRemoving $($Item.Name) from Windows"
$DISMobject = Remove-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
} catch {
Write-Warning -Message $_.Exception.Message; break
}
}
# Go back and remove the rest.
$Installed = Get-WindowsCapability -Online | Where-Object {$_.Name -like 'Rsat*' -AND $_.State -eq 'Installed'}
foreach ($Item in $Installed) {
try {
Write-Host "`nRemoving $($Item.Name) from Windows"
$DISMobject = Remove-WindowsCapability -Online -Name $Item.Name
if ($DISMobject.RestartNeeded) {
Write-Warning "A reboot is required."
}
} catch {
Write-Warning -Message $_.Exception.Message; break
}
}
}
Write-Warning 'It is recommended that you restart the computer.'
2019-05-18 07:51:59,769 2392 [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\rsat\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2019-05-18 07:51:59,769 2392 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-05-18 07:52:00,503 2392 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-05-18 07:52:00,909 2392 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-18 07:52:00,925 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-18 07:52:00,925 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-18 07:52:00,925 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-18 07:52:00,940 2392 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-18 07:52:00,940 2392 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-18 07:52:00,940 2392 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-18 07:52:00,956 2392 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-18 07:52:00,956 2392 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-18 07:52:00,956 2392 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:52:00,956 2392 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-18 07:52:00,972 2392 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-18 07:52:00,972 2392 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-18 07:52:00,972 2392 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-18 07:52:00,972 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-18 07:52:00,987 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-18 07:52:00,987 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-18 07:52:00,987 2392 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-18 07:52:01,003 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:52:01,003 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,003 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:52:01,003 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:52:01,019 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:52:01,019 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-18 07:52:01,019 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-18 07:52:01,034 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:52:01,034 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:52:01,034 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-18 07:52:01,034 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:52:01,050 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-18 07:52:01,050 2392 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-18 07:52:01,050 2392 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-18 07:52:01,050 2392 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-18 07:52:01,066 2392 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:52:01,066 2392 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-18 07:52:01,066 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-18 07:52:01,081 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,081 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:52:01,081 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:52:01,081 2392 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-18 07:52:01,097 2392 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-18 07:52:01,097 2392 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-18 07:52:01,097 2392 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-18 07:52:01,112 2392 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-18 07:52:01,112 2392 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-18 07:52:01,112 2392 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-18 07:52:01,112 2392 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-18 07:52:01,128 2392 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-18 07:52:01,128 2392 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-18 07:52:01,128 2392 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-18 07:52:01,144 2392 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:52:01,144 2392 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-18 07:52:01,144 2392 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-18 07:52:01,191 2392 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-05-18 07:52:01,191 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-05-18 07:52:01,206 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-05-18 07:52:01,206 2392 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-05-18 07:52:01,206 2392 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-05-18 07:52:01,222 2392 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-05-18 07:52:01,222 2392 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-05-18 07:52:01,222 2392 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-05-18 07:52:01,222 2392 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-05-18 07:52:01,237 2392 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:52:01,237 2392 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-05-18 07:52:01,237 2392 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-05-18 07:52:01,253 2392 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-05-18 07:52:01,253 2392 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-05-18 07:52:01,253 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-05-18 07:52:01,269 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-05-18 07:52:01,269 2392 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-05-18 07:52:01,269 2392 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-05-18 07:52:01,284 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:52:01,284 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,284 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:52:01,300 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:52:01,300 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:52:01,315 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-05-18 07:52:01,315 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-05-18 07:52:01,315 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:52:01,315 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:52:01,331 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-05-18 07:52:01,331 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:52:01,331 2392 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-05-18 07:52:01,347 2392 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-05-18 07:52:01,347 2392 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-05-18 07:52:01,347 2392 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-05-18 07:52:01,362 2392 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:52:01,362 2392 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-05-18 07:52:01,362 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-05-18 07:52:01,378 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,378 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:52:01,378 2392 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:52:01,394 2392 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-05-18 07:52:01,394 2392 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-05-18 07:52:01,394 2392 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-05-18 07:52:01,394 2392 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-05-18 07:52:01,409 2392 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-05-18 07:52:01,409 2392 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-05-18 07:52:01,409 2392 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-05-18 07:52:01,425 2392 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-05-18 07:52:01,425 2392 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-05-18 07:52:01,425 2392 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-05-18 07:52:01,440 2392 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-05-18 07:52:01,440 2392 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:52:01,440 2392 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-05-18 07:52:01,440 2392 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-05-18 07:52:01,456 2392 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-05-18 07:52:01,456 2392 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-05-18 07:52:01,456 2392 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-05-18 07:52:01,472 2392 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-05-18 07:52:01,472 2392 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-05-18 07:52:01,472 2392 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-05-18 07:52:01,472 2392 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-05-18 07:52:01,487 2392 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-05-18 07:52:01,487 2392 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-05-18 07:52:01,487 2392 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-05-18 07:52:01,487 2392 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-05-18 07:52:01,503 2392 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-05-18 07:52:01,503 2392 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-05-18 07:52:01,503 2392 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-05-18 07:52:01,503 2392 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-05-18 07:52:01,519 2392 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-05-18 07:52:01,519 2392 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-05-18 07:52:01,519 2392 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-05-18 07:52:01,534 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-05-18 07:52:01,534 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,534 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-05-18 07:52:01,534 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-05-18 07:52:01,550 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-05-18 07:52:01,550 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-05-18 07:52:01,550 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-05-18 07:52:01,550 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-05-18 07:52:01,566 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-05-18 07:52:01,566 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-05-18 07:52:01,581 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-05-18 07:52:01,581 2392 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-05-18 07:52:01,581 2392 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-05-18 07:52:01,597 2392 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-05-18 07:52:01,597 2392 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-05-18 07:52:01,597 2392 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-05-18 07:52:01,597 2392 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-05-18 07:52:01,612 2392 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-05-18 07:52:01,612 2392 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-05-18 07:52:01,628 2392 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-05-18 07:52:01,628 2392 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-05-18 07:52:01,628 2392 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-05-18 07:52:01,628 2392 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-05-18 07:52:01,644 2392 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-05-18 07:52:01,644 2392 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-05-18 07:52:01,644 2392 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-05-18 07:52:01,659 2392 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-05-18 07:52:01,659 2392 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-05-18 07:52:01,659 2392 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-05-18 07:52:01,675 2392 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-05-18 07:52:01,675 2392 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-05-18 07:52:01,675 2392 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-05-18 07:52:01,690 2392 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-05-18 07:52:01,690 2392 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-05-18 07:52:01,690 2392 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-05-18 07:52:01,816 2392 [DEBUG] - Running 'ChocolateyScriptRunner' for rsat v2.1809.0.20190205 with packageScript 'C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\rsat', installArguments: '', packageParameters: '',
2019-05-18 07:52:01,863 2392 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\rsat\tools\chocolateyuninstall.ps1'
2019-05-18 07:52:02,098 2392 [WARN ] - WARNING: The Remote System Administration Toolkit (RSAT) is built into Windows Server, so it cannot be uninstalled.
2019-05-18 07:52:02,128 2392 [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\rsat\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-05-18 07:52:02,175 2392 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-05-18 07:52:02,191 2392 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-05-18 07:52:02,222 2392 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-05-18 07:52:02,253 2392 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\rsat".
2019-05-18 07:52:02,347 2392 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\rsat\tools'.
2019-05-18 07:52:02,347 2392 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\rsat\tools'.
2019-05-18 07:52:02,364 2392 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\rsat\tools'.
2019-05-18 07:52:02,364 2392 [DEBUG] - [NuGet] Removed file 'rsat.nuspec' to folder 'C:\ProgramData\chocolatey\lib\rsat'.
2019-05-18 07:52:02,378 2392 [DEBUG] - [NuGet] Removed file 'rsat.nupkg' to folder 'C:\ProgramData\chocolatey\lib\rsat'.
2019-05-18 07:52:02,378 2392 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\rsat'.
2019-05-18 07:52:02,378 2392 [INFO ] - [NuGet] Successfully uninstalled 'rsat 2.1809.0.20190205'.
2019-05-18 07:52:02,409 2392 [INFO ] - rsat has been successfully uninstalled.
2019-05-18 07:52:02,409 2392 [DEBUG] - Removing nupkg if it still exists.
2019-05-18 07:52:02,425 2392 [DEBUG] - Ensuring removal of installation files.
2019-05-18 07:52:02,441 2392 [DEBUG] - Ensuring removal of package cache files.
2019-05-18 07:52:02,503 2392 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-05-18 07:52:02,520 2392 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-05-18 07:52:02,566 2392 [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.