Chocolatey v0.10.13
Chocolatey is running on Windows v 6.3.9600.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install dbatools -vd
Received arguments: install dbatools -vd
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
Performing validation checks.
Global Configuration Validation Checks:
- Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
Reboot Requirement Checks:
- Pending Computer Rename = Checked
- Pending Component Based Servicing = Checked
- Pending Windows Auto Update = Checked
- Pending File Rename Operations = Flagged
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
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.
Configuration: CommandName='install'|
CacheLocation='C:\Users\sbou04z\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='dbatools'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='dbatools'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows 8.1'|
Information.ChocolateyVersion='0.10.13.0'|
Information.ChocolateyProductVersion='0.10.13'|
Information.FullName='choco, Version=0.10.13.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='sbou04z'|Information.UserDomainName='DEC'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='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'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
dbatools
By installing you accept licenses for the packages.
Using 'https://chocolatey.org/api/v2/'.
- Supports prereleases? 'True'.
- Is ServiceBased? 'True'.
Package 'dbatools' found on source 'https://chocolatey.org/api/v2/'
Progress: Downloading dbatools 0.9.791... 99%
Progress: Downloading dbatools 0.9.791... 99%
Progress: Downloading dbatools 0.9.791... 100%
[NuGet] Installing 'dbatools 0.9.791'.
[NuGet] Added file '.skipAutoUninstaller' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyInstall.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'chocolateyUninstall.ps1' to folder 'dbatools\tools'.
[NuGet] Added file 'dbatools.zip' to folder 'dbatools\tools'.
[NuGet] Added file 'LICENSE.txt' to folder 'dbatools\tools'.
[NuGet] Added file 'VERIFICATION.txt' to folder 'dbatools\tools'.
[NuGet] Added file 'dbatools.nuspec' to folder 'dbatools'.
[NuGet] Added file 'dbatools.nupkg' to folder 'dbatools'.
[NuGet] Successfully installed 'dbatools 0.9.791'.
dbatools v0.9.791 [Approved]
dbatools package files install completed. Performing other installation steps.
Setting installer args for dbatools
Setting package parameters for dbatools
Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1':
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$moduleName = 'dbatools' # this may be different from the package name and different case
if ($PSVersionTable.PSVersion.Major -lt 3) {
throw "$moduleName) module requires a minimum of PowerShell v3."
}
# module may already be installed outside of Chocolatey
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
$sourcePath = Join-Path -Path $toolsDir -ChildPath "$modulename.zip"
$destPath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
if ($PSVersionTable.PSVersion.Major -ge 5)
{
$manifestFile = Join-Path -Path $toolsDir -ChildPath "$moduleName\$moduleName.psd1"
$manifest = Test-ModuleManifest -Path $manifestFile -WarningAction Ignore -ErrorAction Stop
$destPath = Join-Path -Path $destPath -ChildPath $manifest.Version.ToString()
}
Write-Verbose "Creating destination directory '$destPath' for module."
New-Item -Path $destPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
Write-Verbose "Extracting '$moduleName' files from '$sourcePath' to '$destPath'."
Get-ChocolateyUnzip -FileFullPath $sourcePath -Destination $destPath
if ($PSVersionTable.PSVersion.Major -lt 4)
{
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
if ($modulePaths -notcontains $destPath)
{
Write-Verbose "Adding '$destPath' to PSModulePath."
$newModulePath = @($destPath, $modulePaths) -join ';'
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
}
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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=fr-FR, PublicKeyToken=31bf3856ad364e35, requested by ''
Host version is 5.1.14409.1005, PowerShell Version is '5.1.14409.1018' and CLR Version is '4.0.30319.42000'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
Loading community extensions
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Register-Application'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-preinstaller-checks\Chocolatey-Preinstaller-Checks.extension.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-preinstaller-checks\Chocolatey-Preinstaller-Checks.extension.psm1'.
VERBOSE: Exporting function 'Get-chocoInstanceCounts'.
VERBOSE: Exporting function 'Get-chocoStatus'.
VERBOSE: Exporting function 'Get-PendingRebootStatus'.
VERBOSE: Exporting function 'Get-WindowsInstallerStatus'.
VERBOSE: Exporting function 'Start-PreInstallChecks'.
VERBOSE: Exporting function 'Start-PreuninstallChecks'.
VERBOSE: Importing function 'Get-chocoInstanceCounts'.
VERBOSE: Importing function 'Get-chocoStatus'.
VERBOSE: Importing function 'Get-PendingRebootStatus'.
VERBOSE: Importing function 'Get-WindowsInstallerStatus'.
VERBOSE: Importing function 'Start-PreInstallChecks'.
VERBOSE: Importing function 'Start-PreuninstallChecks'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'.
VERBOSE: Exporting function 'Add-VisualStudioComponent'.
VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Exporting function 'Get-VisualStudioInstance'.
VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Exporting function 'Install-VisualStudio'.
VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
VERBOSE: Exporting function 'Uninstall-VisualStudio'.
VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Add-VisualStudioComponent'.
VERBOSE: Importing function 'Add-VisualStudioWorkload'.
VERBOSE: Importing function 'Get-VisualStudioInstaller'.
VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Importing function 'Get-VisualStudioInstance'.
VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Importing function 'Install-VisualStudio'.
VERBOSE: Importing function 'Install-VisualStudioInstaller'.
VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Remove-VisualStudioComponent'.
VERBOSE: Importing function 'Remove-VisualStudioProduct'.
VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
VERBOSE: Importing function 'Uninstall-VisualStudio'.
VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Exporting function 'Format-FileSize'.
VERBOSE: Exporting function 'Get-ChecksumValid'.
VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
VERBOSE: Exporting function 'Get-EnvironmentVariable'.
VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
VERBOSE: Exporting function 'Get-FtpFile'.
VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
VERBOSE: Exporting function 'Get-PackageParameters'.
VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
VERBOSE: Exporting function 'Get-ToolsLocation'.
VERBOSE: Exporting function 'Get-UACEnabled'.
VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
VERBOSE: Exporting function 'Get-VirusCheckValid'.
VERBOSE: Exporting function 'Get-WebFile'.
VERBOSE: Exporting function 'Get-WebFileName'.
VERBOSE: Exporting function 'Get-WebHeaders'.
VERBOSE: Exporting function 'Install-BinFile'.
VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPackage'.
VERBOSE: Exporting function 'Install-ChocolateyPath'.
VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Install-Vsix'.
VERBOSE: Exporting function 'Set-EnvironmentVariable'.
VERBOSE: Exporting function 'Set-PowerShellExitCode'.
VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Exporting function 'Test-ProcessAdminRights'.
VERBOSE: Exporting function 'Uninstall-BinFile'.
VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Exporting function 'Update-SessionEnvironment'.
VERBOSE: Exporting function 'Write-ChocolateyFailure'.
VERBOSE: Exporting function 'Write-ChocolateySuccess'.
VERBOSE: Exporting function 'Write-FileUpdateLog'.
VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
VERBOSE: Exporting function 'Get-AppInstallLocation'.
VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
VERBOSE: Exporting function 'Get-EffectiveProxy'.
VERBOSE: Exporting function 'Get-PackageCacheLocation'.
VERBOSE: Exporting function 'Get-WebContent'.
VERBOSE: Exporting function 'Register-Application'.
VERBOSE: Exporting function 'Get-chocoInstanceCounts'.
VERBOSE: Exporting function 'Get-chocoStatus'.
VERBOSE: Exporting function 'Get-PendingRebootStatus'.
VERBOSE: Exporting function 'Get-WindowsInstallerStatus'.
VERBOSE: Exporting function 'Start-PreInstallChecks'.
VERBOSE: Exporting function 'Start-PreuninstallChecks'.
VERBOSE: Exporting function 'Add-VisualStudioComponent'.
VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Exporting function 'Get-VisualStudioInstance'.
VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Exporting function 'Install-VisualStudio'.
VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
VERBOSE: Exporting function 'Uninstall-VisualStudio'.
VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Exporting function 'Install-WindowsUpdate'.
VERBOSE: Exporting function 'Test-WindowsUpdate'.
VERBOSE: Exporting alias 'Get-ProcessorBits'.
VERBOSE: Exporting alias 'Get-OSBitness'.
VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
VERBOSE: Exporting alias 'Generate-BinFile'.
VERBOSE: Exporting alias 'Add-BinFile'.
VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
VERBOSE: Exporting alias 'Remove-BinFile'.
VERBOSE: Exporting alias 'refreshenv'.
VERBOSE: Importing function 'Add-VisualStudioComponent'.
VERBOSE: Importing function 'Add-VisualStudioWorkload'.
VERBOSE: Importing function 'Format-FileSize'.
VERBOSE: Importing function 'Get-AppInstallLocation'.
VERBOSE: Importing function 'Get-AvailableDriveLetter'.
VERBOSE: Importing function 'Get-ChecksumValid'.
VERBOSE: Importing function 'Get-chocoInstanceCounts'.
VERBOSE: Importing function 'Get-ChocolateyUnzip'.
VERBOSE: Importing function 'Get-ChocolateyWebFile'.
VERBOSE: Importing function 'Get-chocoStatus'.
VERBOSE: Importing function 'Get-EffectiveProxy'.
VERBOSE: Importing function 'Get-EnvironmentVariable'.
VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
VERBOSE: Importing function 'Get-FtpFile'.
VERBOSE: Importing function 'Get-OSArchitectureWidth'.
VERBOSE: Importing function 'Get-PackageCacheLocation'.
VERBOSE: Importing function 'Get-PackageParameters'.
VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
VERBOSE: Importing function 'Get-PendingRebootStatus'.
VERBOSE: Importing function 'Get-ToolsLocation'.
VERBOSE: Importing function 'Get-UACEnabled'.
VERBOSE: Importing function 'Get-UninstallRegistryKey'.
VERBOSE: Importing function 'Get-VirusCheckValid'.
VERBOSE: Importing function 'Get-VisualStudioInstaller'.
VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
VERBOSE: Importing function 'Get-VisualStudioInstance'.
VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
VERBOSE: Importing function 'Get-WebContent'.
VERBOSE: Importing function 'Get-WebFile'.
VERBOSE: Importing function 'Get-WebFileName'.
VERBOSE: Importing function 'Get-WebHeaders'.
VERBOSE: Importing function 'Get-WindowsInstallerStatus'.
VERBOSE: Importing function 'Install-BinFile'.
VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
VERBOSE: Importing function 'Install-ChocolateyPackage'.
VERBOSE: Importing function 'Install-ChocolateyPath'.
VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
VERBOSE: Importing function 'Install-ChocolateyShortcut'.
VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
VERBOSE: Importing function 'Install-VisualStudio'.
VERBOSE: Importing function 'Install-VisualStudioInstaller'.
VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Install-Vsix'.
VERBOSE: Importing function 'Install-WindowsUpdate'.
VERBOSE: Importing function 'Register-Application'.
VERBOSE: Importing function 'Remove-VisualStudioComponent'.
VERBOSE: Importing function 'Remove-VisualStudioProduct'.
VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
VERBOSE: Importing function 'Set-EnvironmentVariable'.
VERBOSE: Importing function 'Set-PowerShellExitCode'.
VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
VERBOSE: Importing function 'Start-PreInstallChecks'.
VERBOSE: Importing function 'Start-PreuninstallChecks'.
VERBOSE: Importing function 'Test-ProcessAdminRights'.
VERBOSE: Importing function 'Test-WindowsUpdate'.
VERBOSE: Importing function 'Uninstall-BinFile'.
VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
VERBOSE: Importing function 'Uninstall-VisualStudio'.
VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
VERBOSE: Importing function 'Update-SessionEnvironment'.
VERBOSE: Importing function 'Write-ChocolateyFailure'.
VERBOSE: Importing function 'Write-ChocolateySuccess'.
VERBOSE: Importing function 'Write-FileUpdateLog'.
VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
VERBOSE: Importing alias 'Add-BinFile'.
VERBOSE: Importing alias 'Generate-BinFile'.
VERBOSE: Importing alias 'Get-InstallRegistryKey'.
VERBOSE: Importing alias 'Get-OSBitness'.
VERBOSE: Importing alias 'Get-ProcessorBits'.
VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
VERBOSE: Importing alias 'refreshenv'.
VERBOSE: Importing alias 'Remove-BinFile'.
VERBOSE: Importing alias 'Start-ChocolateyProcess'.
Running 'ChocolateyScriptRunner' for dbatools v0.9.791 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '',
Running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools\dbatools.psd1' was not loaded because no valid module file was found in any module directory.
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1: line 19
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 48
at <ScriptBlock>, <No file>: line 1
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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
Calling command ['"C:\windows\System32\shutdown.exe" /a']
Command ['"C:\windows\System32\shutdown.exe" /a'] exited with '1116'
Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum 'E872D39A7CFCDC4A56AA23AF320F28A9'
Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum 'F0A47D6CDD9B60460E0D33748002D67D'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum '4FBD28E42D723E7F46620E2BA6499BE9'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum '23CBEBD4688C8DCDF994546FA338DF46'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.arguments".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.extra".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.version".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.sxs".
Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.0.9.791\.pin".
Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\dbatools".
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of dbatools was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'.
See log for details.
Moving 'C:\ProgramData\chocolatey\lib\dbatools'
to 'C:\ProgramData\chocolatey\lib-bad\dbatools'
Attempting to delete file "C:\Users\sbou04z\AppData\Local\NuGet\Cache\dbatools.0.9.791.nupkg".
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- dbatools (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'.
See log for details.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with -1