Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SQLMaintenanceSolution v0.6 - Failed - Package Tests Results

SQLMaintenanceSolution v0.6 - Failed - Package Test Results

  • https://chocolatey.org/packages/SQLMaintenanceSolution/0.6
  • Tested 11 Jul 2019 04:28:08 +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 failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?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\SQLMaintenanceSolution\SQLMaintenanceSolution.nupkg" checksum="85EC6FB690F3FB3BA27AC64BCE6547A7" />
<file path="C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nuspec" checksum="FA00C2240833179D309B5A002A33C230" />
<file path="C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1" checksum="11499D0DC851C04EADA23D12240A8444" />
</files>
</fileSnapshot>
2019-07-11 04:24:20,377 916 [INFO ] -
2019-07-11 04:24:20,377 916 [INFO ] - Download of gsync.msi (33.82 MB) completed.
2019-07-11 04:24:20,392 916 [INFO ] -
2019-07-11 04:24:23,392 916 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:24:23,392 916 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi' is the size we expect it to be.
2019-07-11 04:24:23,423 916 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi'.
2019-07-11 04:24:23,423 916 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi' -checksum '' -checksumType '' -originalUrl 'https://dl.google.com/drive/2.34.5075.1619/gsync.msi'
2019-07-11 04:24:23,439 916 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:24:23,439 916 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'googledrive' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi' -validExitCodes '0 3010' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:24:23,439 916 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:24:23,455 916 [INFO ] - Installing googledrive...
2019-07-11 04:24:23,455 916 [INFO ] -
2019-07-11 04:24:23,470 916 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:24:23,470 916 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:24:23,486 916 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:24:23,486 916 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\googledrive\2.34.5075.1619\gsync.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:25:31,978 1500 [DEBUG] - XmlConfiguration is now operational
2019-07-11 04:25:32,274 1500 [INFO ] - ============================================================
2019-07-11 04:25:33,150 1500 [INFO ] - Chocolatey v0.10.15
2019-07-11 04:25:33,181 1500 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-07-11 04:25:33,196 1500 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-07-11 04:25:33,196 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-07-11 04:25:33,228 1500 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install SQLMaintenanceSolution --version 0.6 -fdvy --execution-timeout=2700 --allow-downgrade
2019-07-11 04:25:33,228 1500 [DEBUG] - Received arguments: install SQLMaintenanceSolution --version 0.6 -fdvy --execution-timeout=2700 --allow-downgrade
2019-07-11 04:25:33,399 1500 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-07-11 04:25:33,431 1500 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-07-11 04:25:33,462 1500 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-07-11 04:25:33,618 1500 [DEBUG] - Performing validation checks.
2019-07-11 04:25:33,649 1500 [DEBUG] - Global Configuration Validation Checks:
2019-07-11 04:25:33,649 1500 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-07-11 04:25:33,649 1500 [DEBUG] - System State Validation Checks:
2019-07-11 04:25:33,665 1500 [DEBUG] - Reboot Requirement Checks:
2019-07-11 04:25:33,681 1500 [DEBUG] - - Pending Computer Rename = Checked
2019-07-11 04:25:33,681 1500 [DEBUG] - - Pending Component Based Servicing = Checked
2019-07-11 04:25:33,696 1500 [DEBUG] - - Pending Windows Auto Update = Checked
2019-07-11 04:25:33,696 1500 [DEBUG] - - Pending File Rename Operations = Checked
2019-07-11 04:25:33,696 1500 [DEBUG] - - Pending Windows Package Installer = Checked
2019-07-11 04:25:33,712 1500 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-07-11 04:25:33,728 1500 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-07-11 04:25:33,743 1500 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-07-11 04:25:33,759 1500 [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-07-11 04:25:33,821 1500 [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='SQLMaintenanceSolution'|
Version='0.6'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='SQLMaintenanceSolution'|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.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.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'|
2019-07-11 04:25:33,837 1500 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-07-11 04:25:33,853 1500 [INFO ] - Installing the following packages:
2019-07-11 04:25:33,868 1500 [INFO ] - SQLMaintenanceSolution
2019-07-11 04:25:33,868 1500 [INFO ] - By installing you accept licenses for the packages.
2019-07-11 04:25:33,899 1500 [DEBUG] - Current environment values (may contain sensitive data):
2019-07-11 04:25:33,899 1500 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-11 04:25:33,915 1500 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-11 04:25:33,915 1500 [DEBUG] - * 'ChocolateyLastPathUpdate'='132072211000857612' ('User')
2019-07-11 04:25:33,915 1500 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-07-11 04:25:33,915 1500 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-07-11 04:25:33,931 1500 [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-07-11 04:25:33,931 1500 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-07-11 04:25:33,931 1500 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-07-11 04:25:33,931 1500 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-07-11 04:25:33,946 1500 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-07-11 04:25:33,946 1500 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-07-11 04:25:33,946 1500 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-07-11 04:25:33,946 1500 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-07-11 04:25:33,962 1500 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-07-11 04:25:33,962 1500 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-07-11 04:25:33,962 1500 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-07-11 04:25:33,962 1500 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-07-11 04:25:33,978 1500 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-07-11 04:25:33,978 1500 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-07-11 04:25:33,978 1500 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-07-11 04:25:36,493 1500 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.PowerShell'.
2019-07-11 04:25:38,681 1500 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.SMO'.
2019-07-11 04:25:39,774 1500 [INFO ] - [NuGet] Attempting to resolve dependency 'MSXML6.SP1'.
2019-07-11 04:25:40,870 1500 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.NativeClient'.
2019-07-11 04:25:41,774 1500 [INFO ] - [NuGet] Attempting to resolve dependency 'SQL2008R2.ClrTypes'.
2019-07-11 04:25:43,649 1500 [INFO ] - [NuGet] Installing 'MSXML6.SP1 6.10.1129.0'.
2019-07-11 04:25:43,681 1500 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'MSXML6.SP1\tools'.
2019-07-11 04:25:43,696 1500 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nupkg' to folder 'MSXML6.SP1'.
2019-07-11 04:25:44,072 1500 [DEBUG] - [NuGet] Added file 'MSXML6.SP1.nuspec' to folder 'MSXML6.SP1'.
2019-07-11 04:25:44,072 1500 [INFO ] - [NuGet] Successfully installed 'MSXML6.SP1 6.10.1129.0'.
2019-07-11 04:25:44,087 1500 [INFO ] -
MSXML6.SP1 v6.10.1129.0 (forced) [Approved]
2019-07-11 04:25:44,149 1500 [INFO ] - msxml6.sp1 package files install completed. Performing other installation steps.
2019-07-11 04:25:44,368 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1':
2019-07-11 04:25:44,416 1500 [DEBUG] - $package = 'MSXML6.SP1'
try {
#Vista or greater already ships with MSXML6
if ([Environment]::OSVersion.Version -ge [Version]'6.0')
{
Write-ChocolateySuccess "Installation of $package is not necessary on this OS"
return
}
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/qb';
url = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi'
url64bit = 'http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi'
}
Install-ChocolateyPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2019-07-11 04:25:44,524 1500 [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\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:25:44,540 1500 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-07-11 04:25:45,806 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:25:46,212 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:25:46,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:25:46,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:46,228 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:46,228 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:25:46,228 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:46,243 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:25:46,243 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:46,243 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:25:46,243 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:46,259 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:25:46,259 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:25:46,259 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:46,259 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:25:46,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:25:46,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:25:46,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:25:46,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:25:46,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:46,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,306 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:46,306 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:46,306 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:25:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:25:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:25:46,368 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:25:46,368 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:25:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:25:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:25:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:25:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:25:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:25:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:25:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:46,431 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:25:46,446 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:25:46,446 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:46,446 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:25:46,462 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:25:46,462 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:46,462 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:46,478 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:25:46,478 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:25:46,524 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:25:46,524 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:25:46,540 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:46,540 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:46,540 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:25:46,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:46,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:25:46,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:25:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:25:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:25:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:25:46,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:25:46,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:25:46,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:25:46,618 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:25:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:46,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:46,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:46,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:25:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:25:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:25:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:25:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:25:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:25:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:25:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:46,744 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:25:46,744 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:25:46,744 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:25:46,759 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:25:46,759 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:46,759 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:25:46,774 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:25:46,774 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:46,774 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:25:46,774 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:25:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:25:46,806 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:25:46,806 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:25:46,806 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:25:46,821 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:46,821 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:46,821 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:25:46,821 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:46,837 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:25:46,837 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:46,837 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:25:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:25:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:25:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:25:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:25:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:25:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:25:46,884 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:25:46,899 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:46,899 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,899 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:46,915 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:46,915 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:46,915 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:25:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:25:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:46,962 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:25:46,962 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:25:46,962 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:25:46,978 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:46,978 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:25:46,978 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:25:46,993 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:46,993 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:46,993 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:47,009 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:25:47,009 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:25:47,009 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:25:47,024 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:25:47,024 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:47,024 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:25:47,040 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:25:47,040 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:47,040 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:25:47,056 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:25:47,056 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:47,056 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:25:47,071 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:25:47,071 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:47,321 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:25:47,337 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for MSXML6.SP1 v6.10.1129.0 with packageScript 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\MSXML6.SP1', installArguments: '', packageParameters: '',
2019-07-11 04:25:47,400 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
2019-07-11 04:25:47,540 1500 [DEBUG] - Running Write-ChocolateySuccess -packageName 'Installation of MSXML6.SP1 is not necessary on this OS'
2019-07-11 04:25:47,556 1500 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2019-07-11 04:25:47,603 1500 [DEBUG] - ----------------------------------------------------------------------
2019-07-11 04:25:47,618 1500 [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\MSXML6.SP1\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-11 04:25:47,650 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:25:47,712 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:25:48,024 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\MSXML6.SP1'
2019-07-11 04:25:48,024 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nupkg'
with checksum '1107730CBD859F95AE5E3A90D31097EF'
2019-07-11 04:25:48,040 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\MSXML6.SP1.nuspec'
with checksum 'FF6C6B7F76E778364E671A8CF77D4FCC'
2019-07-11 04:25:48,040 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\MSXML6.SP1\tools\chocolateyInstall.ps1'
with checksum '06EAE7FF99A72AA7DB72F701406F9272'
2019-07-11 04:25:48,150 1500 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-07-11 04:25:48,181 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0".
2019-07-11 04:25:48,212 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.files'
2019-07-11 04:25:48,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.extra".
2019-07-11 04:25:48,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.version".
2019-07-11 04:25:48,243 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.sxs".
2019-07-11 04:25:48,243 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MSXML6.SP1.6.10.1129.0\.pin".
2019-07-11 04:25:48,259 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:25:48,274 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\MSXML6.SP1\.chocolateyPending".
2019-07-11 04:25:48,290 1500 [INFO ] - The install of msxml6.sp1 was successful.
2019-07-11 04:25:48,290 1500 [INFO ] - Software install location not explicitly set, could be in package or
default install location if installer.
2019-07-11 04:25:48,290 1500 [INFO ] - [NuGet] Installing 'SQL2008R2.NativeClient 10.53.6560.0'.
2019-07-11 04:25:48,322 1500 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'SQL2008R2.NativeClient\tools'.
2019-07-11 04:25:48,322 1500 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.NativeClient\tools'.
2019-07-11 04:25:48,322 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.NativeClient.nupkg' to folder 'SQL2008R2.NativeClient'.
2019-07-11 04:25:48,634 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.NativeClient.nuspec' to folder 'SQL2008R2.NativeClient'.
2019-07-11 04:25:48,649 1500 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.NativeClient 10.53.6560.0'.
2019-07-11 04:25:48,649 1500 [INFO ] -
SQL2008R2.NativeClient v10.53.6560.0 (forced) [Approved]
2019-07-11 04:25:48,649 1500 [INFO ] - sql2008r2.nativeclient package files install completed. Performing other installation steps.
2019-07-11 04:25:48,682 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1':
2019-07-11 04:25:48,682 1500 [DEBUG] - $ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi'
$checksum = 'a9c754af47193bc836dc1e2c88b56177812320dccca5c85c204f00bee5780aee'
$url64bit = 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
$checksum64 = '4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = $url
checksum = $checksum
checksumType = 'sha256'
url64bit = $url64bit
checksum64 = $checksum64
checksumType64 = 'sha256'
silentArgs = "/qb /norestart /l*v `"$($env:TEMP)\$($packageName).log`" IACCEPTSQLNCLILICENSETERMS=YES"
validExitCodes = @(0, 3010, 1641)
}
# https://chocolatey.org/docs/helpers-install-chocolatey-package
#
Install-ChocolateyPackage @packageArgs
2019-07-11 04:25:48,696 1500 [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\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:25:48,696 1500 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-11 04:25:48,712 1500 [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.
2019-07-11 04:25:48,727 1500 [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.
2019-07-11 04:25:48,727 1500 [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.
2019-07-11 04:25:48,743 1500 [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.
2019-07-11 04:25:49,149 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:25:49,290 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:25:49,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:25:49,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:49,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:49,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:25:49,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:49,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:25:49,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:49,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:25:49,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:49,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:25:49,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:25:49,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:49,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:25:49,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:25:49,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:25:49,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:25:49,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:25:49,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:49,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:49,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:49,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:49,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:49,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:25:49,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:25:49,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:49,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:49,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:49,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:49,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:49,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:25:49,446 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:25:49,462 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:25:49,462 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:49,462 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:25:49,478 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:25:49,478 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:49,478 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:49,493 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:49,493 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:25:49,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:25:49,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:25:49,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:25:49,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:49,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:25:49,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:25:49,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:49,540 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:25:49,540 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:25:49,540 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:49,556 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:49,556 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:25:49,556 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:25:49,571 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:25:49,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:25:49,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:49,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:49,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:25:49,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:49,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:25:49,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:49,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:25:49,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:49,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:25:49,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:25:49,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:49,649 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:25:49,649 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:25:49,649 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:25:49,665 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:25:49,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:25:49,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:49,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:49,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:49,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:49,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:49,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:25:49,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:25:49,712 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:49,712 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:49,712 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:49,728 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:49,728 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:49,743 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:25:49,743 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:25:49,743 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:25:49,759 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:49,759 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:25:49,759 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:25:49,774 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:49,774 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:49,774 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:49,790 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:25:49,790 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:25:49,790 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:25:49,806 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:25:49,806 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:49,806 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:25:49,821 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:25:49,821 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:49,821 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:25:49,837 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:25:49,837 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:49,837 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:49,853 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:25:49,853 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:25:49,853 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:25:49,868 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:25:49,868 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:25:49,868 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:25:49,884 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:25:49,884 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:25:49,884 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:25:49,899 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:25:49,899 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:25:49,899 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:25:49,915 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:25:49,915 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:25:49,915 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:25:49,931 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:25:49,931 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:25:49,931 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:25:49,946 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:25:49,946 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:25:49,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:25:49,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:49,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:25:49,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:25:49,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:25:49,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:25:49,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:25:49,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:25:49,993 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:25:49,993 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:25:49,993 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:25:50,009 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:25:50,009 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:25:50,009 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:25:50,024 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:25:50,024 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:25:50,024 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:25:50,040 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:25:50,040 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:25:50,040 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:25:50,056 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:25:50,056 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:25:50,056 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:25:50,071 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:25:50,071 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:25:50,071 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:25:50,087 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:25:50,087 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:25:50,087 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:25:50,103 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:25:50,103 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:25:50,103 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:25:50,118 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:25:50,118 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:25:50,118 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:25:50,134 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:25:50,134 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.NativeClient v10.53.6560.0 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient', installArguments: '', packageParameters: '',
2019-07-11 04:25:50,149 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1'
2019-07-11 04:25:50,321 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi' -url64bit 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -checksum 'a9c754af47193bc836dc1e2c88b56177812320dccca5c85c204f00bee5780aee' -checksum64 '4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994' -silentArgs '/qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES' -packageName 'SQL2008R2.NativeClient' -checksumType 'sha256' -fileType 'msi' -validExitCodes '0 3010 1641' -checksumType64 'sha256'
2019-07-11 04:25:50,510 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.NativeClient' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\SQL2008R2.NativeClientInstall.msi' -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x86/sqlncli.msi' -url64bit 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -checksum 'a9c754af47193bc836dc1e2c88b56177812320dccca5c85c204f00bee5780aee' -checksumType 'sha256' -checksum64 '4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:25:50,603 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:25:50,634 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:25:50,649 1500 [DEBUG] - Setting url to 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' and bitPackage to 64
2019-07-11 04:25:50,774 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -defaultName 'SQL2008R2.NativeClientInstall.msi'
2019-07-11 04:25:51,228 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008 R2 ENU-1033/x64/sqlncli.msi'
2019-07-11 04:25:51,243 1500 [DEBUG] - File name determined from url is 'sqlncli.msi'
2019-07-11 04:25:51,307 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -ErrorAction 'Stop'
2019-07-11 04:25:51,321 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:25:51,337 1500 [DEBUG] - Request Headers:
2019-07-11 04:25:51,353 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:25:51,368 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:25:51,384 1500 [DEBUG] - Response Headers:
2019-07-11 04:25:51,400 1500 [DEBUG] - 'Content-MD5':'teoAMpPk0jxsRpQfH3ABQQ=='
2019-07-11 04:25:51,415 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:25:51,415 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:25:51,415 1500 [DEBUG] - 'Content-Length':'8200192'
2019-07-11 04:25:51,431 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:25:51,431 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:25:51 GMT'
2019-07-11 04:25:51,431 1500 [DEBUG] - 'ETag':'"0x8D657298B8F2FD9"'
2019-07-11 04:25:51,446 1500 [DEBUG] - 'Last-Modified':'Sat, 01 Dec 2018 01:08:46 GMT'
2019-07-11 04:25:51,446 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:25:51,493 1500 [INFO ] - Downloading SQL2008R2.NativeClient 64 bit
from 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
2019-07-11 04:25:51,509 1500 [INFO ] -
2019-07-11 04:25:51,556 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:25:51,572 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:25:51,572 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:25:51,587 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:25:52,181 1500 [DEBUG] - Downloading https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi
2019-07-11 04:25:53,338 1500 [INFO ] -
2019-07-11 04:25:53,338 1500 [INFO ] - Download of sqlncli.msi (7.82 MB) completed.
2019-07-11 04:25:53,338 1500 [INFO ] -
2019-07-11 04:25:56,399 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:25:56,415 1500 [DEBUG] - Verifying package provided checksum of '4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi'.
2019-07-11 04:25:56,446 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi' -checksum '4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994' -checksumType 'sha256' -originalUrl 'https://download.microsoft.com/download/2/4/F/24FE862D-7D32-47F2-B91D-22DAFA270BBC/2008%20R2%20ENU-1033/x64/sqlncli.msi'
2019-07-11 04:25:56,462 1500 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2019-07-11 04:25:56,478 1500 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi"]
2019-07-11 04:25:56,962 1500 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="4296bbebd733db708ee53c3753e8c0d1208faf4d5ee8dcd1f2f149c986022994" -t="sha256" -f="C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi"] exited with '0'.
2019-07-11 04:25:57,071 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.NativeClient' -fileType 'msi' -silentArgs '/qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi' -validExitCodes '0 3010 1641' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:25:57,071 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:25:57,087 1500 [INFO ] - Installing SQL2008R2.NativeClient...
2019-07-11 04:25:57,103 1500 [INFO ] -
2019-07-11 04:25:57,306 1500 [DEBUG] - Ensuring 'C:\Users\Administrator\AppData\Local\Temp\chocolatey' exists
2019-07-11 04:25:57,416 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 3010 1641' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:25:57,416 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:25:57,509 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:25:57,540 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ]. This may take a while, depending on the statements.
2019-07-11 04:26:27,978 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient\10.53.6560.0\sqlncli.msi" /qb /norestart /l*v "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.NativeClient.log" IACCEPTSQLNCLILICENSETERMS=YES ] exited with '0'.
2019-07-11 04:26:28,024 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:26:28,040 1500 [INFO ] - SQL2008R2.NativeClient has been installed.
2019-07-11 04:26:28,040 1500 [INFO ] -
2019-07-11 04:26:28,056 1500 [DEBUG] - ----------------------------------------------------------------------
2019-07-11 04:26:28,103 1500 [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\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-11 04:26:28,118 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:26:28,149 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:26:28,149 1500 [INFO ] - sql2008r2.nativeclient may be able to be automatically uninstalled.
2019-07-11 04:26:28,165 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient'
2019-07-11 04:26:28,165 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\SQL2008R2.NativeClient.nupkg'
with checksum '643A10CB68C128E7E6CCEAAA34920E62'
2019-07-11 04:26:28,181 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\SQL2008R2.NativeClient.nuspec'
with checksum '61E38CD438F37F82AF51F15F92F80515'
2019-07-11 04:26:28,196 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyinstall.ps1'
with checksum 'C538E97776C1EF9187EC45F86C316516'
2019-07-11 04:26:28,196 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\tools\chocolateyUninstall.ps1'
with checksum '32423A75EC5F39F7A945BF23EC387C03'
2019-07-11 04:26:28,212 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0".
2019-07-11 04:26:28,306 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.registry'
2019-07-11 04:26:28,321 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.files'
2019-07-11 04:26:28,321 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.extra".
2019-07-11 04:26:28,321 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.version".
2019-07-11 04:26:28,337 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.sxs".
2019-07-11 04:26:28,337 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.NativeClient.10.53.6560.0\.pin".
2019-07-11 04:26:28,337 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:26:28,353 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2008R2.NativeClient\.chocolateyPending".
2019-07-11 04:26:28,353 1500 [INFO ] - The install of sql2008r2.nativeclient was successful.
2019-07-11 04:26:28,353 1500 [INFO ] - Software installed as 'msi', install location is likely default.
2019-07-11 04:26:28,368 1500 [INFO ] - [NuGet] Installing 'SQL2008R2.ClrTypes 10.50.1600.1'.
2019-07-11 04:26:28,368 1500 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.ClrTypes\tools'.
2019-07-11 04:26:28,384 1500 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.ClrTypes\tools'.
2019-07-11 04:26:28,384 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.ClrTypes.nupkg' to folder 'SQL2008R2.ClrTypes'.
2019-07-11 04:26:28,603 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.ClrTypes.nuspec' to folder 'SQL2008R2.ClrTypes'.
2019-07-11 04:26:28,603 1500 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.ClrTypes 10.50.1600.1'.
2019-07-11 04:26:28,603 1500 [INFO ] -
SQL2008R2.ClrTypes v10.50.1600.1 (forced)
2019-07-11 04:26:28,618 1500 [INFO ] - sql2008r2.clrtypes package files install completed. Performing other installation steps.
2019-07-11 04:26:28,634 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1':
2019-07-11 04:26:28,634 1500 [DEBUG] - $package = 'SQL2008R2.ClrTypes'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi';
}
Install-ChocolateyPackage @params
# http://forums.iis.net/p/1174672/1968094.aspx
# it turns out that even on x64, x86 clr types should also be installed
# or SMO breaks
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2019-07-11 04:26:28,634 1500 [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\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:26:28,649 1500 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-11 04:26:28,649 1500 [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.
2019-07-11 04:26:28,665 1500 [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.
2019-07-11 04:26:28,665 1500 [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.
2019-07-11 04:26:28,665 1500 [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.
2019-07-11 04:26:28,885 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:26:29,010 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:26:29,010 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:26:29,024 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:29,024 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:29,024 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:26:29,040 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:29,040 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:26:29,040 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:29,040 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:26:29,056 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:29,056 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:26:29,056 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:26:29,071 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:29,071 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:26:29,071 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:26:29,087 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:26:29,087 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:26:29,087 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:26:29,103 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:29,103 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,103 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:29,118 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:29,118 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:29,134 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:26:29,134 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:26:29,134 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:29,149 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:29,149 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:29,149 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:29,165 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:29,165 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:26:29,165 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:26:29,181 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:26:29,181 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:29,181 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:26:29,196 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:26:29,196 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,196 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:29,212 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:29,212 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:26:29,212 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:26:29,228 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:26:29,228 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:26:29,228 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:29,228 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:26:29,243 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:26:29,243 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:29,243 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:26:29,259 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:26:29,259 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:29,259 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:29,274 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:26:29,274 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:26:29,274 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:26:29,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:26:29,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:29,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:29,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:26:29,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:29,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:26:29,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:29,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:26:29,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:29,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:26:29,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:26:29,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:29,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:26:29,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:26:29,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:26:29,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:26:29,368 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:26:29,368 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:29,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:29,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:29,400 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:29,400 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:26:29,400 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:26:29,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:29,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:29,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:29,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:29,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:29,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:26:29,446 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:26:29,446 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:26:29,446 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:29,462 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:26:29,462 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:26:29,462 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,478 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:29,478 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:29,478 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:26:29,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:26:29,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:26:29,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:26:29,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:29,509 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:26:29,509 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:26:29,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:29,524 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:26:29,524 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:26:29,524 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:29,540 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:29,540 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:26:29,540 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:26:29,556 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:26:29,556 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:26:29,556 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:29,571 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:29,571 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:26:29,571 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:29,587 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:26:29,587 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:29,587 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:26:29,603 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:29,603 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:26:29,603 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:26:29,618 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:29,618 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:26:29,634 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:26:29,634 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:26:29,634 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:26:29,649 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:26:29,649 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:29,649 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,665 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:29,665 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:29,665 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:29,681 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:26:29,681 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:26:29,681 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:29,696 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:29,696 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:29,696 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:29,712 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:29,712 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:26:29,712 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:26:29,728 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:26:29,743 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:29,743 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:26:29,743 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:26:29,743 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:29,759 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:29,759 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:29,759 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:26:29,774 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:26:29,774 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:26:29,774 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:26:29,774 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:29,790 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:26:29,790 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:26:29,790 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:29,806 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:26:29,806 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:26:29,806 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:29,821 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:26:29,821 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:26:29,821 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:29,837 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:26:29,837 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.ClrTypes v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes', installArguments: '', packageParameters: '',
2019-07-11 04:26:29,853 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'
2019-07-11 04:26:29,899 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.ClrTypes' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2019-07-11 04:26:29,899 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.ClrTypes' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQL2008R2.ClrTypesInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:26:29,915 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:26:29,915 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:26:29,915 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' and bitPackage to 64
2019-07-11 04:26:29,931 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-07-11 04:26:29,931 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:29,946 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:29,946 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:29,946 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:29,962 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:29,978 1500 [DEBUG] - 'Content-MD5':'m2kgMSASo38ybCpAxzAI3Q=='
2019-07-11 04:26:29,978 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:29,978 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:29,978 1500 [DEBUG] - 'Content-Length':'3589632'
2019-07-11 04:26:29,993 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:29,993 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:29 GMT'
2019-07-11 04:26:30,009 1500 [DEBUG] - 'ETag':'"0x8D6335002D62E30"'
2019-07-11 04:26:30,009 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:25 GMT'
2019-07-11 04:26:30,009 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:30,024 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:26:30,024 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -defaultName 'SQL2008R2.ClrTypesInstall.msi'
2019-07-11 04:26:30,087 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2019-07-11 04:26:30,087 1500 [DEBUG] - File name determined from url is 'SQLSysClrTypes.msi'
2019-07-11 04:26:30,103 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-07-11 04:26:30,103 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:30,118 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:30,118 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:30,118 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:30,151 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:30,151 1500 [DEBUG] - 'Content-MD5':'m2kgMSASo38ybCpAxzAI3Q=='
2019-07-11 04:26:30,165 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:30,165 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:30,165 1500 [DEBUG] - 'Content-Length':'3589632'
2019-07-11 04:26:30,181 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:30,181 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:29 GMT'
2019-07-11 04:26:30,181 1500 [DEBUG] - 'ETag':'"0x8D6335002D62E30"'
2019-07-11 04:26:30,181 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:25 GMT'
2019-07-11 04:26:30,181 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:30,196 1500 [INFO ] - Downloading SQL2008R2.ClrTypes 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2019-07-11 04:26:30,196 1500 [INFO ] -
2019-07-11 04:26:30,212 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:26:30,212 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:26:30,228 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:26:30,228 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:30,274 1500 [DEBUG] - Downloading https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi
2019-07-11 04:26:30,588 1500 [INFO ] -
2019-07-11 04:26:30,603 1500 [INFO ] - Download of SQLSysClrTypes.msi (3.42 MB) completed.
2019-07-11 04:26:30,603 1500 [INFO ] -
2019-07-11 04:26:33,634 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:26:33,634 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' is the size we expect it to be.
2019-07-11 04:26:33,665 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi'.
2019-07-11 04:26:33,665 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SQLSysClrTypes.msi'
2019-07-11 04:26:33,681 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:26:33,681 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.ClrTypes' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:26:33,696 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:26:33,696 1500 [INFO ] - Installing SQL2008R2.ClrTypes...
2019-07-11 04:26:33,696 1500 [INFO ] -
2019-07-11 04:26:33,712 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:26:33,728 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:26:33,728 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:26:33,728 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:26:39,009 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ] exited with '0'.
2019-07-11 04:26:39,009 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:26:39,025 1500 [INFO ] - SQL2008R2.ClrTypes has been installed.
2019-07-11 04:26:39,025 1500 [INFO ] -
2019-07-11 04:26:39,040 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -packageName 'SQL2008R2.ClrTypes' -fileType 'msi' -silentArgs '/quiet'
2019-07-11 04:26:39,056 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.ClrTypes' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQL2008R2.ClrTypesInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:26:39,071 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:26:39,071 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:26:39,071 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' and bitPackage to 64
2019-07-11 04:26:39,087 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-07-11 04:26:39,103 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:39,103 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:39,118 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:39,118 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:39,134 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:39,149 1500 [DEBUG] - 'Content-MD5':'5jR4t+bkqur2LJayEpA6Vw=='
2019-07-11 04:26:39,149 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:39,165 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:39,165 1500 [DEBUG] - 'Content-Length':'3469312'
2019-07-11 04:26:39,165 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:39,181 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:38 GMT'
2019-07-11 04:26:39,181 1500 [DEBUG] - 'ETag':'"0x8D6334F2590B7FD"'
2019-07-11 04:26:39,181 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:07:14 GMT'
2019-07-11 04:26:39,197 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:39,212 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:26:39,212 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -defaultName 'SQL2008R2.ClrTypesInstall.msi'
2019-07-11 04:26:39,243 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi'
2019-07-11 04:26:39,259 1500 [DEBUG] - File name determined from url is 'SQLSysClrTypes.msi'
2019-07-11 04:26:39,259 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -ErrorAction 'Stop'
2019-07-11 04:26:39,274 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:39,274 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:39,274 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:39,290 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:39,306 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:39,322 1500 [DEBUG] - 'Content-MD5':'5jR4t+bkqur2LJayEpA6Vw=='
2019-07-11 04:26:39,322 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:39,322 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:39,322 1500 [DEBUG] - 'Content-Length':'3469312'
2019-07-11 04:26:39,337 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:39,337 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:39 GMT'
2019-07-11 04:26:39,353 1500 [DEBUG] - 'ETag':'"0x8D6334F2590B7FD"'
2019-07-11 04:26:39,353 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:07:14 GMT'
2019-07-11 04:26:39,353 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:39,384 1500 [INFO ] - Downloading SQL2008R2.ClrTypes 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi'
2019-07-11 04:26:39,384 1500 [INFO ] -
2019-07-11 04:26:39,384 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:26:39,399 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:26:39,399 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:26:39,415 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:39,760 1500 [INFO ] -
2019-07-11 04:26:39,760 1500 [INFO ] - Download of SQLSysClrTypes.msi (3.31 MB) completed.
2019-07-11 04:26:39,760 1500 [INFO ] -
2019-07-11 04:26:42,790 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:26:42,790 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' is the size we expect it to be.
2019-07-11 04:26:42,790 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi'.
2019-07-11 04:26:42,806 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SQLSysClrTypes.msi'
2019-07-11 04:26:42,806 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:26:42,821 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.ClrTypes' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:26:42,821 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:26:42,837 1500 [INFO ] - Installing SQL2008R2.ClrTypes...
2019-07-11 04:26:42,837 1500 [INFO ] -
2019-07-11 04:26:42,853 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:26:42,853 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:26:42,868 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:26:42,868 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:26:45,462 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.ClrTypes\10.50.1600.1\SQLSysClrTypes.msi" /quiet ] exited with '0'.
2019-07-11 04:26:45,462 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:26:45,478 1500 [INFO ] - SQL2008R2.ClrTypes has been installed.
2019-07-11 04:26:45,478 1500 [INFO ] -
2019-07-11 04:26:45,478 1500 [DEBUG] - Running Write-ChocolateySuccess -packageName 'SQL2008R2.ClrTypes'
2019-07-11 04:26:45,478 1500 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2019-07-11 04:26:45,493 1500 [DEBUG] - ----------------------------------------------------------------------
2019-07-11 04:26:45,493 1500 [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\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-11 04:26:45,493 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:26:45,525 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:26:45,540 1500 [INFO ] - sql2008r2.clrtypes may be able to be automatically uninstalled.
2019-07-11 04:26:45,556 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes'
2019-07-11 04:26:45,556 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\SQL2008R2.ClrTypes.nupkg'
with checksum 'BF0FF7DDED37A7843F42EA82AF24CD44'
2019-07-11 04:26:45,556 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\SQL2008R2.ClrTypes.nuspec'
with checksum '215564DE7E38DC47505EA222BC63B092'
2019-07-11 04:26:45,556 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyInstall.ps1'
with checksum '5AC4D629B64E1012191E85C066C4B493'
2019-07-11 04:26:45,571 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\tools\chocolateyUninstall.ps1'
with checksum 'E0012215C8048753C5D7CDEFA2C0BDCB'
2019-07-11 04:26:45,571 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1".
2019-07-11 04:26:45,587 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.registry'
2019-07-11 04:26:45,587 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.files'
2019-07-11 04:26:45,603 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.extra".
2019-07-11 04:26:45,603 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.version".
2019-07-11 04:26:45,603 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.sxs".
2019-07-11 04:26:45,618 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.ClrTypes.10.50.1600.1\.pin".
2019-07-11 04:26:45,618 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:26:45,618 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2008R2.ClrTypes\.chocolateyPending".
2019-07-11 04:26:45,634 1500 [INFO ] - The install of sql2008r2.clrtypes was successful.
2019-07-11 04:26:45,634 1500 [INFO ] - Software installed as 'msi', install location is likely default.
2019-07-11 04:26:45,634 1500 [INFO ] - [NuGet] Installing 'SQL2008R2.SMO 10.50.1600.1'.
2019-07-11 04:26:45,649 1500 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.SMO\tools'.
2019-07-11 04:26:45,649 1500 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.SMO\tools'.
2019-07-11 04:26:45,665 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.SMO.nupkg' to folder 'SQL2008R2.SMO'.
2019-07-11 04:26:45,900 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.SMO.nuspec' to folder 'SQL2008R2.SMO'.
2019-07-11 04:26:45,900 1500 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.SMO 10.50.1600.1'.
2019-07-11 04:26:45,915 1500 [INFO ] -
SQL2008R2.SMO v10.50.1600.1 (forced)
2019-07-11 04:26:45,915 1500 [INFO ] - sql2008r2.smo package files install completed. Performing other installation steps.
2019-07-11 04:26:45,931 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1':
2019-07-11 04:26:45,931 1500 [DEBUG] - $package = 'SQL2008R2.SMO'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi';
}
Install-ChocolateyPackage @params
# install both x86 and x64 editions of SMO since x64 supports both
# to install both variants of powershell, both variants of SMO must be present
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2019-07-11 04:26:45,946 1500 [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\SQL2008R2.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:26:45,946 1500 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-11 04:26:45,962 1500 [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.
2019-07-11 04:26:45,962 1500 [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.
2019-07-11 04:26:45,962 1500 [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.
2019-07-11 04:26:45,977 1500 [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.
2019-07-11 04:26:46,165 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:26:46,306 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:26:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:26:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:46,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:26:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:26:46,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:26:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:46,353 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:26:46,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:26:46,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:46,368 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:26:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:26:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:26:46,384 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:26:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:26:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:46,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:46,415 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:26:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:26:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:46,431 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:46,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:46,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:46,446 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:26:46,446 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:26:46,462 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:26:46,462 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:46,462 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:26:46,462 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:26:46,477 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:46,477 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:46,477 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:46,493 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:26:46,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:26:46,493 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:26:46,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:26:46,509 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:46,509 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:26:46,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:26:46,524 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:46,524 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:26:46,524 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:26:46,540 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:46,540 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:46,540 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:26:46,556 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:26:46,556 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:26:46,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:26:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:46,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:26:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:26:46,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:46,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:26:46,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:46,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:26:46,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:26:46,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:46,618 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:26:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:26:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:26:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:26:46,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:26:46,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:46,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:46,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:26:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:26:46,681 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:46,696 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:26:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:26:46,712 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:26:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:26:46,728 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:26:46,743 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:46,743 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:46,743 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:46,759 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:26:46,759 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:26:46,759 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:26:46,774 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:26:46,774 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:46,774 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:26:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:26:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:46,790 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:26:46,806 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:26:46,806 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:46,806 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:46,821 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:26:46,821 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:26:46,837 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:26:46,837 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:26:46,837 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:26:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:26:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:26:46,853 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:26:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:26:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:26:46,868 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:26:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:26:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:26:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:26:46,884 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:26:46,899 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:26:46,899 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:26:46,915 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:26:46,915 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:26:46,915 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:26:46,915 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:26:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:26:46,931 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:26:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:26:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:26:46,946 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:26:46,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:26:46,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:26:46,962 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:26:46,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:26:46,978 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:26:46,978 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:26:46,993 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:26:46,993 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:26:46,993 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:26:47,009 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:26:47,009 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:26:47,009 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:26:47,024 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:26:47,024 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:26:47,024 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:26:47,040 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:26:47,040 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:26:47,040 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:26:47,056 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:26:47,056 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:26:47,056 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:26:47,071 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:26:47,071 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:26:47,071 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:26:47,087 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:26:47,087 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:26:47,087 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:26:47,103 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:26:47,103 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:26:47,118 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.SMO v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO', installArguments: '', packageParameters: '',
2019-07-11 04:26:47,118 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'
2019-07-11 04:26:47,150 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.SMO' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2019-07-11 04:26:47,165 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.SMO' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SQL2008R2.SMOInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:26:47,165 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:26:47,165 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:26:47,181 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' and bitPackage to 64
2019-07-11 04:26:47,181 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-07-11 04:26:47,196 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:47,196 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:47,196 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:47,212 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:47,212 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:47,228 1500 [DEBUG] - 'x-ms-blob-content-md5':'Sp49KDrNQTMlKZh1F86rhQ=='
2019-07-11 04:26:47,228 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:47,228 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:47,243 1500 [DEBUG] - 'Content-Length':'16428032'
2019-07-11 04:26:47,243 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:47,243 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:47 GMT'
2019-07-11 04:26:47,259 1500 [DEBUG] - 'ETag':'"0x8D6334FF8677FBD"'
2019-07-11 04:26:47,259 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:08 GMT'
2019-07-11 04:26:47,259 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:47,259 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:26:47,274 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -defaultName 'SQL2008R2.SMOInstall.msi'
2019-07-11 04:26:47,306 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2019-07-11 04:26:47,321 1500 [DEBUG] - File name determined from url is 'SharedManagementObjects.msi'
2019-07-11 04:26:47,321 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-07-11 04:26:47,337 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:47,337 1500 [DEBUG] - Request Headers:
2019-07-11 04:26:47,352 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:26:47,352 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:26:47,384 1500 [DEBUG] - Response Headers:
2019-07-11 04:26:47,384 1500 [DEBUG] - 'x-ms-blob-content-md5':'Sp49KDrNQTMlKZh1F86rhQ=='
2019-07-11 04:26:47,384 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:26:47,399 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:26:47,399 1500 [DEBUG] - 'Content-Length':'16428032'
2019-07-11 04:26:47,415 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:26:47,415 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:26:47 GMT'
2019-07-11 04:26:47,415 1500 [DEBUG] - 'ETag':'"0x8D6334FF8677FBD"'
2019-07-11 04:26:47,431 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:08 GMT'
2019-07-11 04:26:47,431 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:26:47,431 1500 [INFO ] - Downloading SQL2008R2.SMO 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2019-07-11 04:26:47,446 1500 [INFO ] -
2019-07-11 04:26:47,446 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:26:47,462 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:26:47,462 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:26:47,478 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:26:47,540 1500 [DEBUG] - Downloading https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi
2019-07-11 04:26:49,134 1500 [INFO ] -
2019-07-11 04:26:49,149 1500 [INFO ] - Download of SharedManagementObjects.msi (15.67 MB) completed.
2019-07-11 04:26:49,149 1500 [INFO ] -
2019-07-11 04:26:52,165 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:26:52,165 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' is the size we expect it to be.
2019-07-11 04:26:52,165 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi'.
2019-07-11 04:26:52,181 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/SharedManagementObjects.msi'
2019-07-11 04:26:52,181 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:26:52,196 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.SMO' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:26:52,196 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:26:52,212 1500 [INFO ] - Installing SQL2008R2.SMO...
2019-07-11 04:26:52,212 1500 [INFO ] -
2019-07-11 04:26:52,228 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:26:52,228 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:26:52,228 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:26:52,243 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:27:24,384 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ] exited with '0'.
2019-07-11 04:27:24,399 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:27:24,399 1500 [INFO ] - SQL2008R2.SMO has been installed.
2019-07-11 04:27:24,399 1500 [INFO ] -
2019-07-11 04:27:24,415 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -packageName 'SQL2008R2.SMO' -fileType 'msi' -silentArgs '/quiet'
2019-07-11 04:27:24,415 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.SMO' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SQL2008R2.SMOInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:27:24,431 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:27:24,431 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:27:24,431 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' and bitPackage to 64
2019-07-11 04:27:24,446 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-07-11 04:27:24,446 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:24,462 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:24,462 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:24,462 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:24,478 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:24,478 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:24,493 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:24,493 1500 [DEBUG] - 'Content-Length':'10953728'
2019-07-11 04:27:24,493 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:24,493 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:24 GMT'
2019-07-11 04:27:24,509 1500 [DEBUG] - 'ETag':'"0x8D6334F1B3B8EDC"'
2019-07-11 04:27:24,509 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:06:57 GMT'
2019-07-11 04:27:24,509 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:24,509 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:27:24,524 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -defaultName 'SQL2008R2.SMOInstall.msi'
2019-07-11 04:27:24,556 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi'
2019-07-11 04:27:24,556 1500 [DEBUG] - File name determined from url is 'SharedManagementObjects.msi'
2019-07-11 04:27:24,571 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -ErrorAction 'Stop'
2019-07-11 04:27:24,571 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:24,587 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:24,587 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:24,587 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:24,603 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:24,618 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:24,618 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:24,634 1500 [DEBUG] - 'Content-Length':'10953728'
2019-07-11 04:27:24,634 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:24,634 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:24 GMT'
2019-07-11 04:27:24,634 1500 [DEBUG] - 'ETag':'"0x8D6334F1B3B8EDC"'
2019-07-11 04:27:24,649 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:06:57 GMT'
2019-07-11 04:27:24,649 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:24,649 1500 [INFO ] - Downloading SQL2008R2.SMO 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi'
2019-07-11 04:27:24,665 1500 [INFO ] -
2019-07-11 04:27:24,665 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:27:24,681 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:27:24,681 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:27:24,681 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:25,712 1500 [INFO ] -
2019-07-11 04:27:25,712 1500 [INFO ] - Download of SharedManagementObjects.msi (10.45 MB) completed.
2019-07-11 04:27:25,712 1500 [INFO ] -
2019-07-11 04:27:28,712 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:27:28,712 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' is the size we expect it to be.
2019-07-11 04:27:28,712 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi'.
2019-07-11 04:27:28,712 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/SharedManagementObjects.msi'
2019-07-11 04:27:28,728 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:27:28,728 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.SMO' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:27:28,728 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:27:28,743 1500 [INFO ] - Installing SQL2008R2.SMO...
2019-07-11 04:27:28,743 1500 [INFO ] -
2019-07-11 04:27:28,759 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:27:28,759 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:27:28,759 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:27:28,775 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:27:41,494 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.SMO\10.50.1600.1\SharedManagementObjects.msi" /quiet ] exited with '0'.
2019-07-11 04:27:41,494 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:27:41,509 1500 [INFO ] - SQL2008R2.SMO has been installed.
2019-07-11 04:27:41,509 1500 [INFO ] -
2019-07-11 04:27:41,525 1500 [DEBUG] - Running Write-ChocolateySuccess -packageName 'SQL2008R2.SMO'
2019-07-11 04:27:41,525 1500 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2019-07-11 04:27:41,540 1500 [DEBUG] - ----------------------------------------------------------------------
2019-07-11 04:27:41,540 1500 [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\SQL2008R2.SMO\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-11 04:27:41,556 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:27:41,587 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:27:41,587 1500 [INFO ] - sql2008r2.smo may be able to be automatically uninstalled.
2019-07-11 04:27:41,603 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO'
2019-07-11 04:27:41,603 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\SQL2008R2.SMO.nupkg'
with checksum '735961AF697B2244E9D7C3C6AB417175'
2019-07-11 04:27:41,603 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\SQL2008R2.SMO.nuspec'
with checksum '1155B7AD811569B915211965FF6CF062'
2019-07-11 04:27:41,603 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyInstall.ps1'
with checksum '573DF6CD50AC79FB981E8487243987F5'
2019-07-11 04:27:41,618 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\tools\chocolateyUninstall.ps1'
with checksum '95380EF5C339961EB03B2F83E94BDC85'
2019-07-11 04:27:41,618 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1".
2019-07-11 04:27:41,618 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.registry'
2019-07-11 04:27:41,634 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.files'
2019-07-11 04:27:41,634 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.extra".
2019-07-11 04:27:41,649 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.version".
2019-07-11 04:27:41,649 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.sxs".
2019-07-11 04:27:41,649 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.SMO.10.50.1600.1\.pin".
2019-07-11 04:27:41,665 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:27:41,665 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2008R2.SMO\.chocolateyPending".
2019-07-11 04:27:41,665 1500 [INFO ] - The install of sql2008r2.smo was successful.
2019-07-11 04:27:41,665 1500 [INFO ] - Software installed as 'msi', install location is likely default.
2019-07-11 04:27:41,681 1500 [INFO ] - [NuGet] Installing 'SQL2008R2.PowerShell 10.50.1600.1'.
2019-07-11 04:27:41,681 1500 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQL2008R2.PowerShell\tools'.
2019-07-11 04:27:41,681 1500 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'SQL2008R2.PowerShell\tools'.
2019-07-11 04:27:41,696 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.PowerShell.nupkg' to folder 'SQL2008R2.PowerShell'.
2019-07-11 04:27:41,916 1500 [DEBUG] - [NuGet] Added file 'SQL2008R2.PowerShell.nuspec' to folder 'SQL2008R2.PowerShell'.
2019-07-11 04:27:41,916 1500 [INFO ] - [NuGet] Successfully installed 'SQL2008R2.PowerShell 10.50.1600.1'.
2019-07-11 04:27:41,931 1500 [INFO ] -
SQL2008R2.PowerShell v10.50.1600.1 (forced)
2019-07-11 04:27:41,931 1500 [INFO ] - sql2008r2.powershell package files install completed. Performing other installation steps.
2019-07-11 04:27:41,946 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1':
2019-07-11 04:27:41,946 1500 [DEBUG] - $package = 'SQL2008R2.PowerShell'
try {
$params = @{
packageName = $package;
fileType = 'msi';
silentArgs = '/quiet';
url = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi';
url64bit = 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi';
}
Install-ChocolateyPackage @params
# install both x86 and x64 editions since x64 PS supports both
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
($Env:PROCESSOR_ARCHITEW6432 -eq $null))
if (!$IsSytem32Bit)
{
$params.url64bit = $params.url
Install-ChocolateyPackage @params
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}
2019-07-11 04:27:41,946 1500 [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\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:27:41,962 1500 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-11 04:27:41,962 1500 [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.
2019-07-11 04:27:41,962 1500 [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.
2019-07-11 04:27:41,978 1500 [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.
2019-07-11 04:27:41,978 1500 [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.
2019-07-11 04:27:42,149 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:27:42,259 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:27:42,259 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:27:42,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:27:42,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:27:42,274 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:27:42,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:27:42,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:27:42,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:27:42,290 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:27:42,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:27:42,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:27:42,306 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:27:42,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:27:42,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:27:42,321 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:27:42,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:27:42,337 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:27:42,337 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:27:42,337 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:27:42,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:27:42,353 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:27:42,368 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:27:42,368 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:27:42,368 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:27:42,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:27:42,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:27:42,384 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:27:42,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:27:42,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:27:42,399 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:27:42,399 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:27:42,415 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:27:42,415 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:27:42,415 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:27:42,431 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:27:42,431 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,431 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:27:42,446 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:27:42,446 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:27:42,446 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:27:42,462 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:27:42,462 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:27:42,462 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:27:42,477 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:27:42,477 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:27:42,477 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:27:42,493 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:27:42,493 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:27:42,493 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:27:42,493 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:27:42,509 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:27:42,509 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:27:42,524 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:27:42,524 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:27:42,524 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:27:42,524 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:27:42,540 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:27:42,540 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:27:42,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:27:42,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:27:42,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:27:42,556 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:27:42,571 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:27:42,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:27:42,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:27:42,587 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:27:42,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:27:42,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:27:42,603 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:27:42,618 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:27:42,618 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:27:42,618 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,618 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:27:42,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:27:42,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:27:42,634 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:27:42,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:27:42,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:27:42,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:27:42,649 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:27:42,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:27:42,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:27:42,665 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:27:42,681 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:27:42,681 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:27:42,681 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:27:42,681 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:27:42,696 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:27:42,696 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,696 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:27:42,696 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:27:42,712 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:27:42,712 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:27:42,712 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:27:42,727 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:27:42,727 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:27:42,727 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:27:42,727 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:27:42,743 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:27:42,743 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:27:42,743 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:27:42,759 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:27:42,759 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:27:42,759 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:27:42,759 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:27:42,774 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:27:42,774 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:27:42,774 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:27:42,790 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:27:42,790 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:27:42,790 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:27:42,790 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:27:42,806 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:27:42,806 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:27:42,806 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:27:42,821 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:27:42,821 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:27:42,821 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:27:42,821 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:27:42,837 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:27:42,837 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:27:42,837 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:27:42,837 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:27:42,853 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:27:42,853 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,853 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:27:42,868 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:27:42,868 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:27:42,868 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:27:42,868 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:27:42,884 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:27:42,884 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:27:42,884 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:27:42,899 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:27:42,899 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:27:42,899 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:27:42,899 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:27:42,915 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:27:42,915 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:27:42,915 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:27:42,931 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:27:42,931 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:27:42,931 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:27:42,931 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:27:42,946 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:27:42,946 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:27:42,946 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:27:42,962 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:27:42,962 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:27:42,962 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:27:42,962 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:27:42,978 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:27:42,978 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:27:42,978 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:27:42,993 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:27:42,993 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:27:42,993 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:27:42,993 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:27:43,009 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:27:43,009 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for SQL2008R2.PowerShell v10.50.1600.1 with packageScript 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell', installArguments: '', packageParameters: '',
2019-07-11 04:27:43,024 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'
2019-07-11 04:27:43,040 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -fileType 'msi' -silentArgs '/quiet' -packageName 'SQL2008R2.PowerShell' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2019-07-11 04:27:43,056 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\SQL2008R2.PowerShellInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:27:43,056 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:27:43,056 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:27:43,071 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' and bitPackage to 64
2019-07-11 04:27:43,071 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -ErrorAction 'Stop'
2019-07-11 04:27:43,087 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:43,087 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:43,087 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:43,103 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:43,118 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:43,118 1500 [DEBUG] - 'Content-MD5':'6MSI6YDFiG9b9jjZkEgFjQ=='
2019-07-11 04:27:43,134 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:43,134 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:43,149 1500 [DEBUG] - 'Content-Length':'2275328'
2019-07-11 04:27:43,149 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:43,149 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:42 GMT'
2019-07-11 04:27:43,149 1500 [DEBUG] - 'ETag':'"0x8D6334FF3EB371B"'
2019-07-11 04:27:43,149 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:00 GMT'
2019-07-11 04:27:43,165 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:43,165 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:27:43,181 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -defaultName 'SQL2008R2.PowerShellInstall.msi'
2019-07-11 04:27:43,212 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2019-07-11 04:27:43,212 1500 [DEBUG] - File name determined from url is 'PowerShellTools.msi'
2019-07-11 04:27:43,228 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -ErrorAction 'Stop'
2019-07-11 04:27:43,228 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:43,243 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:43,243 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:43,243 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:43,274 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:43,274 1500 [DEBUG] - 'Content-MD5':'6MSI6YDFiG9b9jjZkEgFjQ=='
2019-07-11 04:27:43,290 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:43,290 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:43,290 1500 [DEBUG] - 'Content-Length':'2275328'
2019-07-11 04:27:43,290 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:43,306 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:43 GMT'
2019-07-11 04:27:43,306 1500 [DEBUG] - 'ETag':'"0x8D6334FF3EB371B"'
2019-07-11 04:27:43,306 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:00 GMT'
2019-07-11 04:27:43,321 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:43,321 1500 [INFO ] - Downloading SQL2008R2.PowerShell 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2019-07-11 04:27:43,321 1500 [INFO ] -
2019-07-11 04:27:43,337 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:27:43,337 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:27:43,352 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:27:43,352 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:43,399 1500 [DEBUG] - Downloading https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi to C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi
2019-07-11 04:27:43,603 1500 [INFO ] -
2019-07-11 04:27:43,603 1500 [INFO ] - Download of PowerShellTools.msi (2.17 MB) completed.
2019-07-11 04:27:43,618 1500 [INFO ] -
2019-07-11 04:27:46,634 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:27:46,634 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' is the size we expect it to be.
2019-07-11 04:27:46,634 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi'.
2019-07-11 04:27:46,649 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x64/PowerShellTools.msi'
2019-07-11 04:27:46,649 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:27:46,649 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.PowerShell' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:27:46,665 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:27:46,665 1500 [INFO ] - Installing SQL2008R2.PowerShell...
2019-07-11 04:27:46,681 1500 [INFO ] -
2019-07-11 04:27:46,681 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:27:46,681 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:27:46,696 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:27:46,696 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:27:53,056 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ] exited with '0'.
2019-07-11 04:27:53,056 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:27:53,056 1500 [INFO ] - SQL2008R2.PowerShell has been installed.
2019-07-11 04:27:53,071 1500 [INFO ] -
2019-07-11 04:27:53,071 1500 [DEBUG] - Running Install-ChocolateyPackage -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -packageName 'SQL2008R2.PowerShell' -fileType 'msi' -silentArgs '/quiet'
2019-07-11 04:27:53,087 1500 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'SQL2008R2.PowerShell' -fileFullPath 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\SQL2008R2.PowerShellInstall.msi' -url 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -url64bit 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2019-07-11 04:27:53,087 1500 [DEBUG] - Running Get-ProcessorBits -compare '64'
2019-07-11 04:27:53,087 1500 [DEBUG] - CPU is 64 bit
2019-07-11 04:27:53,103 1500 [DEBUG] - Setting url to 'http://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' and bitPackage to 64
2019-07-11 04:27:53,103 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -ErrorAction 'Stop'
2019-07-11 04:27:53,103 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:53,118 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:53,118 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:53,118 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:53,134 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:53,134 1500 [DEBUG] - 'Content-MD5':'X8ieGT9u3xHk7DRh0nxl9w=='
2019-07-11 04:27:53,150 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:53,150 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:53,150 1500 [DEBUG] - 'Content-Length':'1758208'
2019-07-11 04:27:53,165 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:53,165 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:52 GMT'
2019-07-11 04:27:53,165 1500 [DEBUG] - 'ETag':'"0x8D63350077B6483"'
2019-07-11 04:27:53,165 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:33 GMT'
2019-07-11 04:27:53,181 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:53,181 1500 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2019-07-11 04:27:53,181 1500 [DEBUG] - Running Get-WebFileName -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -defaultName 'SQL2008R2.PowerShellInstall.msi'
2019-07-11 04:27:53,227 1500 [DEBUG] - Using response url to determine file name. 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi'
2019-07-11 04:27:53,227 1500 [DEBUG] - File name determined from url is 'PowerShellTools.msi'
2019-07-11 04:27:53,243 1500 [DEBUG] - Running Get-WebHeaders -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -ErrorAction 'Stop'
2019-07-11 04:27:53,243 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:53,259 1500 [DEBUG] - Request Headers:
2019-07-11 04:27:53,259 1500 [DEBUG] - 'Accept':'*/*'
2019-07-11 04:27:53,259 1500 [DEBUG] - 'User-Agent':'chocolatey command line'
2019-07-11 04:27:53,274 1500 [DEBUG] - Response Headers:
2019-07-11 04:27:53,290 1500 [DEBUG] - 'Content-MD5':'X8ieGT9u3xHk7DRh0nxl9w=='
2019-07-11 04:27:53,290 1500 [DEBUG] - 'Connection':'keep-alive'
2019-07-11 04:27:53,290 1500 [DEBUG] - 'Accept-Ranges':'bytes'
2019-07-11 04:27:53,306 1500 [DEBUG] - 'Content-Length':'1758208'
2019-07-11 04:27:53,306 1500 [DEBUG] - 'Content-Type':'application/octet-stream'
2019-07-11 04:27:53,306 1500 [DEBUG] - 'Date':'Thu, 11 Jul 2019 04:27:53 GMT'
2019-07-11 04:27:53,321 1500 [DEBUG] - 'ETag':'"0x8D63350077B6483"'
2019-07-11 04:27:53,321 1500 [DEBUG] - 'Last-Modified':'Tue, 16 Oct 2018 10:13:33 GMT'
2019-07-11 04:27:53,321 1500 [DEBUG] - 'Server':'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
2019-07-11 04:27:53,337 1500 [INFO ] - Downloading SQL2008R2.PowerShell 64 bit
from 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi'
2019-07-11 04:27:53,337 1500 [INFO ] -
2019-07-11 04:27:53,337 1500 [DEBUG] - Running Get-WebFile -url 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi' -fileName 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -options 'System.Collections.Hashtable'
2019-07-11 04:27:53,353 1500 [DEBUG] - Setting request timeout to 30000
2019-07-11 04:27:53,353 1500 [DEBUG] - Setting read/write timeout to 2700000
2019-07-11 04:27:53,368 1500 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2019-07-11 04:27:53,587 1500 [INFO ] -
2019-07-11 04:27:53,587 1500 [INFO ] - Download of PowerShellTools.msi (1.68 MB) completed.
2019-07-11 04:27:53,587 1500 [INFO ] -
2019-07-11 04:27:56,618 1500 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2019-07-11 04:27:56,618 1500 [DEBUG] - Checking that 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' is the size we expect it to be.
2019-07-11 04:27:56,634 1500 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi'.
2019-07-11 04:27:56,634 1500 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/B/6/3/B63CAC7F-44BB-41FA-92A3-CBF71360F022/1033/x86/PowerShellTools.msi'
2019-07-11 04:27:56,634 1500 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2019-07-11 04:27:56,649 1500 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'SQL2008R2.PowerShell' -fileType 'msi' -silentArgs '/quiet' -file 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2019-07-11 04:27:56,649 1500 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-11 04:27:56,649 1500 [INFO ] - Installing SQL2008R2.PowerShell...
2019-07-11 04:27:56,665 1500 [INFO ] -
2019-07-11 04:27:56,665 1500 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1' -statements '/i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2019-07-11 04:27:56,681 1500 [DEBUG] - Unable to use current location for Working Directory. Using Cache Location instead.
2019-07-11 04:27:56,681 1500 [DEBUG] - Test-ProcessAdminRights: returning True
2019-07-11 04:27:56,681 1500 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ]. This may take a while, depending on the statements.
2019-07-11 04:28:03,056 1500 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\Administrator\AppData\Local\Temp\chocolatey\SQL2008R2.PowerShell\10.50.1600.1\PowerShellTools.msi" /quiet ] exited with '0'.
2019-07-11 04:28:03,056 1500 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2019-07-11 04:28:03,071 1500 [INFO ] - SQL2008R2.PowerShell has been installed.
2019-07-11 04:28:03,071 1500 [INFO ] -
2019-07-11 04:28:03,087 1500 [DEBUG] - Running Write-ChocolateySuccess -packageName 'SQL2008R2.PowerShell'
2019-07-11 04:28:03,087 1500 [WARN ] - WARNING: Write-ChocolateySuccess is deprecated and will be removed in v2. If you are the maintainer, please remove it from your package file.
2019-07-11 04:28:03,087 1500 [DEBUG] - ----------------------------------------------------------------------
2019-07-11 04:28:03,103 1500 [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\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-11 04:28:03,103 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:28:03,134 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:28:03,149 1500 [INFO ] - sql2008r2.powershell may be able to be automatically uninstalled.
2019-07-11 04:28:03,149 1500 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-07-11 04:28:03,165 1500 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-07-11 04:28:03,165 1500 [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;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\Redist\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\Redist\' (Machine)
2019-07-11 04:28:03,165 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell'
2019-07-11 04:28:03,165 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\SQL2008R2.PowerShell.nupkg'
with checksum 'D395514DA413A14E03AED77E928DFF53'
2019-07-11 04:28:03,181 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\SQL2008R2.PowerShell.nuspec'
with checksum '16C3A48AD0564CA3C38A11801D6F4B85'
2019-07-11 04:28:03,181 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyInstall.ps1'
with checksum '10F36A567FDF51AACFA47CFAA50236E5'
2019-07-11 04:28:03,181 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\tools\chocolateyUninstall.ps1'
with checksum 'F22400940CA008E52D9B13B26EFE2CFD'
2019-07-11 04:28:03,196 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1".
2019-07-11 04:28:03,196 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.registry'
2019-07-11 04:28:03,212 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.files'
2019-07-11 04:28:03,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.extra".
2019-07-11 04:28:03,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.version".
2019-07-11 04:28:03,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.sxs".
2019-07-11 04:28:03,228 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQL2008R2.PowerShell.10.50.1600.1\.pin".
2019-07-11 04:28:03,243 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:28:03,243 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\SQL2008R2.PowerShell\.chocolateyPending".
2019-07-11 04:28:03,243 1500 [INFO ] - The install of sql2008r2.powershell was successful.
2019-07-11 04:28:03,259 1500 [INFO ] - Software installed as 'msi', install location is likely default.
2019-07-11 04:28:03,259 1500 [INFO ] - [NuGet] Installing 'SQLMaintenanceSolution 0.6'.
2019-07-11 04:28:03,274 1500 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'SQLMaintenanceSolution\tools'.
2019-07-11 04:28:03,274 1500 [DEBUG] - [NuGet] Added file 'SQLMaintenanceSolution.nupkg' to folder 'SQLMaintenanceSolution'.
2019-07-11 04:28:03,494 1500 [DEBUG] - [NuGet] Added file 'SQLMaintenanceSolution.nuspec' to folder 'SQLMaintenanceSolution'.
2019-07-11 04:28:03,494 1500 [INFO ] - [NuGet] Successfully installed 'SQLMaintenanceSolution 0.6'.
2019-07-11 04:28:03,509 1500 [INFO ] -
SQLMaintenanceSolution v0.6 (forced) - Possibly broken
2019-07-11 04:28:03,509 1500 [INFO ] - sqlmaintenancesolution package files install completed. Performing other installation steps.
2019-07-11 04:28:03,524 1500 [DEBUG] - Setting installer args for SQLMaintenanceSolution
2019-07-11 04:28:03,524 1500 [DEBUG] - Setting package parameters for SQLMaintenanceSolution
2019-07-11 04:28:03,540 1500 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1':
2019-07-11 04:28:03,540 1500 [DEBUG] - $packageName = 'SQLMaintenanceSolution'
$url = 'http://ola.hallengren.com/scripts/MaintenanceSolution.sql'
$FileName = 'MaintenanceSolution.sql'
$url64 = $url
try {
# Tests
if ((Get-Service MSSQLSERVER).status -ne "Running") {
Write-ChocolateyFailure "$packageName" "SQL Server not started"
throw
}
if ((Get-Service SQLSERVERAGENT).status -ne "Running"){
Write-ChocolateyFailure "$packageName" "SQL Server Agent not started"
throw
}
if ( (Get-PSSnapin -Name sqlserverprovidersnapin100 -ErrorAction SilentlyContinue) -eq $null ){
try {
Add-PsSnapin sqlserverprovidersnapin100
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
}
if ( (Get-PSSnapin -Name sqlservercmdletsnapin100 -ErrorAction SilentlyContinue) -eq $null ){
try {
Add-PsSnapin sqlservercmdletsnapin100
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
}
# If tests passed, initialize path, download, and install.
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
$nodePath = Join-Path $scriptPath $FileName
Get-ChocolateyWebFile "$packageName" "$nodePath" "$url" "$url64"
invoke-sqlcmd -InputFile "$nodePath"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
2019-07-11 04:28:03,540 1500 [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\SQLMaintenanceSolution\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2019-07-11 04:28:03,556 1500 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-11 04:28:03,556 1500 [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.
2019-07-11 04:28:03,556 1500 [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.
2019-07-11 04:28:03,571 1500 [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.
2019-07-11 04:28:03,571 1500 [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.
2019-07-11 04:28:03,790 1500 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-11 04:28:03,899 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:28:03,915 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:28:03,915 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:28:03,915 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:28:03,931 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:28:03,931 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:28:03,931 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:28:03,946 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:28:03,946 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:28:03,946 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:28:03,946 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:28:03,962 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:28:03,962 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:28:03,962 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:28:03,978 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:28:03,978 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:28:03,978 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:28:03,978 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:28:03,993 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:28:03,993 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:03,993 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:28:04,009 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:28:04,009 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:28:04,009 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:28:04,024 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:28:04,024 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:28:04,024 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:28:04,040 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:28:04,040 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:28:04,040 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:28:04,056 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:28:04,056 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:28:04,056 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:28:04,071 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:28:04,071 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:28:04,071 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:28:04,071 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:04,087 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:28:04,087 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:28:04,087 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:28:04,102 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:28:04,102 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:28:04,102 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:28:04,102 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:28:04,118 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:28:04,118 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:28:04,118 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:28:04,134 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:28:04,134 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:28:04,134 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:28:04,134 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:28:04,149 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:28:04,149 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:28:04,149 1500 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-11 04:28:04,165 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-11 04:28:04,165 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-11 04:28:04,165 1500 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-11 04:28:04,165 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-11 04:28:04,181 1500 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-11 04:28:04,181 1500 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-11 04:28:04,181 1500 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-11 04:28:04,196 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-11 04:28:04,196 1500 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:28:04,196 1500 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-11 04:28:04,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-11 04:28:04,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-11 04:28:04,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-11 04:28:04,212 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-11 04:28:04,228 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-11 04:28:04,228 1500 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-11 04:28:04,228 1500 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-11 04:28:04,243 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:28:04,243 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:04,243 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:28:04,259 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:28:04,259 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:28:04,259 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-11 04:28:04,259 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-11 04:28:04,274 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:28:04,274 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:28:04,274 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-11 04:28:04,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:28:04,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-11 04:28:04,290 1500 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-11 04:28:04,290 1500 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-11 04:28:04,306 1500 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-11 04:28:04,306 1500 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:28:04,306 1500 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-11 04:28:04,321 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-11 04:28:04,321 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:04,321 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:28:04,321 1500 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:28:04,337 1500 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-11 04:28:04,337 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-11 04:28:04,337 1500 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-11 04:28:04,353 1500 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-11 04:28:04,353 1500 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-11 04:28:04,353 1500 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-11 04:28:04,368 1500 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-11 04:28:04,368 1500 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-11 04:28:04,368 1500 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-11 04:28:04,368 1500 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-11 04:28:04,384 1500 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-11 04:28:04,384 1500 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:28:04,384 1500 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-11 04:28:04,399 1500 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-11 04:28:04,399 1500 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-11 04:28:04,399 1500 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-11 04:28:04,415 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-11 04:28:04,415 1500 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-11 04:28:04,415 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-11 04:28:04,415 1500 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-11 04:28:04,431 1500 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-11 04:28:04,431 1500 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-11 04:28:04,431 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-11 04:28:04,446 1500 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-11 04:28:04,446 1500 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-11 04:28:04,446 1500 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-11 04:28:04,446 1500 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-11 04:28:04,462 1500 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-11 04:28:04,462 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-11 04:28:04,462 1500 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-11 04:28:04,478 1500 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-11 04:28:04,478 1500 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-11 04:28:04,478 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-11 04:28:04,478 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:04,493 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-11 04:28:04,493 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-11 04:28:04,493 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-11 04:28:04,509 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-11 04:28:04,509 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-11 04:28:04,509 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-11 04:28:04,509 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-11 04:28:04,524 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-11 04:28:04,524 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-11 04:28:04,524 1500 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-11 04:28:04,540 1500 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-11 04:28:04,540 1500 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-11 04:28:04,540 1500 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-11 04:28:04,540 1500 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-11 04:28:04,556 1500 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-11 04:28:04,556 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-11 04:28:04,556 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-11 04:28:04,571 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-11 04:28:04,571 1500 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-11 04:28:04,571 1500 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-11 04:28:04,587 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-11 04:28:04,587 1500 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-11 04:28:04,587 1500 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-11 04:28:04,587 1500 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-11 04:28:04,603 1500 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-11 04:28:04,603 1500 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-11 04:28:04,618 1500 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-11 04:28:04,618 1500 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-11 04:28:04,618 1500 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-11 04:28:04,634 1500 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-11 04:28:04,634 1500 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-11 04:28:04,634 1500 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-11 04:28:04,649 1500 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-11 04:28:04,649 1500 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-11 04:28:04,649 1500 [DEBUG] - Running 'ChocolateyScriptRunner' for SQLMaintenanceSolution v0.6 with packageScript 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution', installArguments: '', packageParameters: '',
2019-07-11 04:28:04,665 1500 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'
2019-07-11 04:28:04,774 1500 [ERROR] - Cannot find any service with service name 'MSSQLSERVER'.
2019-07-11 04:28:04,806 1500 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQLMaintenanceSolution' -failureMessage 'SQL Server not started'
2019-07-11 04:28:04,806 1500 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2019-07-11 04:28:04,884 1500 [DEBUG] - Running Write-ChocolateyFailure -packageName 'SQLMaintenanceSolution' -failureMessage 'SQL Server not started'
2019-07-11 04:28:04,884 1500 [WARN ] - WARNING: Write-ChocolateyFailure is deprecated and will be removed in v2. If you are the package maintainer, please use 'throw $_.Exception' instead.
2019-07-11 04:28:04,884 1500 [ERROR] - ERROR: SQL Server not started
at Write-ChocolateyFailure, C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1: line 61
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1: line 41
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2019-07-11 04:28:04,899 1500 [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\SQLMaintenanceSolution\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2019-07-11 04:28:04,899 1500 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-11 04:28:04,931 1500 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-11 04:28:04,946 1500 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution'
2019-07-11 04:28:04,946 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nupkg'
with checksum '85EC6FB690F3FB3BA27AC64BCE6547A7'
2019-07-11 04:28:04,946 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\SQLMaintenanceSolution.nuspec'
with checksum 'FA00C2240833179D309B5A002A33C230'
2019-07-11 04:28:04,962 1500 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'
with checksum '11499D0DC851C04EADA23D12240A8444'
2019-07-11 04:28:04,962 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6".
2019-07-11 04:28:04,978 1500 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.files'
2019-07-11 04:28:04,978 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.arguments".
2019-07-11 04:28:04,978 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.extra".
2019-07-11 04:28:04,978 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.version".
2019-07-11 04:28:04,993 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.sxs".
2019-07-11 04:28:04,993 1500 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\SQLMaintenanceSolution.0.6\.pin".
2019-07-11 04:28:05,009 1500 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-11 04:28:05,009 1500 [ERROR] - The install of sqlmaintenancesolution was NOT successful.
2019-07-11 04:28:05,024 1500 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'.
See log for details.
2019-07-11 04:28:05,040 1500 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2019-07-11 04:28:05,056 1500 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution'
to 'C:\ProgramData\chocolatey\lib-bad\SQLMaintenanceSolution'
2019-07-11 04:28:07,071 1500 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\SQLMaintenanceSolution.0.6.nupkg".
2019-07-11 04:28:07,368 1500 [WARN ] -
Chocolatey installed 5/6 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-07-11 04:28:07,384 1500 [INFO ] -
2019-07-11 04:28:07,384 1500 [WARN ] - Installed:
2019-07-11 04:28:07,384 1500 [INFO ] - - msxml6.sp1 v6.10.1129.0
2019-07-11 04:28:07,399 1500 [INFO ] - - sql2008r2.powershell v10.50.1600.1
2019-07-11 04:28:07,399 1500 [INFO ] - - sql2008r2.nativeclient v10.53.6560.0
2019-07-11 04:28:07,399 1500 [INFO ] - - sql2008r2.clrtypes v10.50.1600.1
2019-07-11 04:28:07,399 1500 [INFO ] - - sql2008r2.smo v10.50.1600.1
2019-07-11 04:28:07,415 1500 [INFO ] -
2019-07-11 04:28:07,415 1500 [ERROR] - Failures
2019-07-11 04:28:07,431 1500 [ERROR] - - sqlmaintenancesolution (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\SQLMaintenanceSolution\tools\chocolateyInstall.ps1'.
See log for details.
2019-07-11 04:28:07,431 1500 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-07-11 04:28:07,509 1500 [DEBUG] - Exiting with -1
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.