Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created June 9, 2023 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/a6db45d3306066f3bb8867e8a472feb6 to your computer and use it in GitHub Desktop.
Save choco-bot/a6db45d3306066f3bb8867e8a472feb6 to your computer and use it in GitHub Desktop.
dbatools v2.0.4 - Passed - Package Tests Results

dbatools v2.0.4 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/dbatools/2.0.4
  • Tested 09 Jun 2023 14:02:07 +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 v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg" checksum="8BFEE919E33A98286EB64B1C7C516197" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec" checksum="B1A902AD6FA08E98F3A0B30FB4FE6FA1" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1" checksum="845A9A5B423974237516935DB045AE53" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1" checksum="F6C88873CDE865FD49D4C6BE5A055FBA" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1" checksum="9BCAC5D82FDF18708291BD3481146DB2" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip" checksum="7B36A90D2E2B9022F697A287530AE95B" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt" checksum="89F8DA03163AFF4745114A0ED927B8B6" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt" checksum="4593AD9D86ADF37020118365A942F792" />
</files>
</fileSnapshot>
2023-06-09 14:01:32,053 5476 [DEBUG] - XmlConfiguration is now operational
2023-06-09 14:01:32,210 5476 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:32,210 5476 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:32,210 5476 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:32,226 5476 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:32,226 5476 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:32,226 5476 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-09 14:01:32,492 5476 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-09 14:01:32,507 5476 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-09 14:01:32,507 5476 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-09 14:01:32,507 5476 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-09 14:01:32,522 5476 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-09 14:01:32,522 5476 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-09 14:01:32,522 5476 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-09 14:01:32,522 5476 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-09 14:01:32,538 5476 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-09 14:01:32,538 5476 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-09 14:01:32,538 5476 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-09 14:01:32,538 5476 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-09 14:01:32,554 5476 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-09 14:01:32,554 5476 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-09 14:01:32,554 5476 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-09 14:01:32,554 5476 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-09 14:01:32,569 5476 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-09 14:01:32,569 5476 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-09 14:01:32,851 5476 [INFO ] - ============================================================
2023-06-09 14:01:33,210 5476 [INFO ] - Chocolatey v1.3.0
2023-06-09 14:01:33,241 5476 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-09 14:01:33,241 5476 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-09 14:01:33,257 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-09 14:01:33,272 5476 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install dbatools --version 2.0.4 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-09 14:01:33,288 5476 [DEBUG] - Received arguments: install dbatools --version 2.0.4 -fdvy --execution-timeout=2700 --allow-downgrade
2023-06-09 14:01:33,445 5476 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-09 14:01:33,476 5476 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-09 14:01:33,491 5476 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-09 14:01:33,632 5476 [DEBUG] - Performing validation checks.
2023-06-09 14:01:33,648 5476 [DEBUG] - Global Configuration Validation Checks:
2023-06-09 14:01:33,648 5476 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-09 14:01:33,663 5476 [DEBUG] - System State Validation Checks:
2023-06-09 14:01:33,679 5476 [DEBUG] - Reboot Requirement Checks:
2023-06-09 14:01:33,679 5476 [DEBUG] - - Pending Computer Rename = Checked
2023-06-09 14:01:33,694 5476 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-09 14:01:33,694 5476 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-09 14:01:33,710 5476 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-09 14:01:33,710 5476 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-09 14:01:33,725 5476 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-09 14:01:33,725 5476 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-09 14:01:33,788 5476 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-09 14:01:33,803 5476 [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.
2023-06-09 14:01:33,835 5476 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='dbatools'|
Version='2.0.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='dbatools'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-L1MEJU7G50M'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
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'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-09 14:01:33,866 5476 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-06-09 14:01:33,898 5476 [INFO ] - Installing the following packages:
2023-06-09 14:01:33,913 5476 [INFO ] - dbatools
2023-06-09 14:01:33,913 5476 [INFO ] - By installing, you accept licenses for the packages.
2023-06-09 14:01:33,944 5476 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-09 14:01:33,960 5476 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-09 14:01:33,960 5476 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 14:01:33,976 5476 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 14:01:33,976 5476 [DEBUG] - * 'ChocolateyLastPathUpdate'='133307860840504879' ('User')
2023-06-09 14:01:33,991 5476 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-09 14:01:34,007 5476 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-09 14:01:34,007 5476 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-09 14:01:34,023 5476 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-09 14:01:34,023 5476 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-09 14:01:34,038 5476 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-09 14:01:34,038 5476 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-09 14:01:34,038 5476 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 14:01:34,054 5476 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 14:01:34,054 5476 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-09 14:01:34,069 5476 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-09 14:01:34,069 5476 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-09 14:01:34,069 5476 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-09 14:01:34,085 5476 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-09 14:01:34,085 5476 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-09 14:01:34,101 5476 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-09 14:01:36,930 5476 [INFO ] - [NuGet] Installing 'dbatools 2.0.4'.
2023-06-09 14:01:36,944 5476 [DEBUG] - [NuGet] Added file '.skipAutoUninstaller' to folder 'dbatools\tools'.
2023-06-09 14:01:36,944 5476 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'dbatools\tools'.
2023-06-09 14:01:36,960 5476 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'dbatools\tools'.
2023-06-09 14:01:36,960 5476 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'dbatools\tools'.
2023-06-09 14:01:36,976 5476 [DEBUG] - [NuGet] Added file 'dbatools.zip' to folder 'dbatools\tools'.
2023-06-09 14:01:36,991 5476 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'dbatools\tools'.
2023-06-09 14:01:36,991 5476 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'dbatools\tools'.
2023-06-09 14:01:37,023 5476 [DEBUG] - [NuGet] Added file 'dbatools.nupkg' to folder 'dbatools'.
2023-06-09 14:01:37,445 5476 [DEBUG] - [NuGet] Added file 'dbatools.nuspec' to folder 'dbatools'.
2023-06-09 14:01:37,445 5476 [INFO ] - [NuGet] Successfully installed 'dbatools 2.0.4'.
2023-06-09 14:01:37,461 5476 [INFO ] -
dbatools v2.0.4 (forced)
2023-06-09 14:01:37,492 5476 [INFO ] - dbatools package files install completed. Performing other installation steps.
2023-06-09 14:01:37,569 5476 [DEBUG] - Setting installer args for dbatools
2023-06-09 14:01:37,569 5476 [DEBUG] - Setting package parameters for dbatools
2023-06-09 14:01:37,569 5476 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1':
2023-06-09 14:01:37,602 5476 [DEBUG] - $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)
{
$destPath = Join-Path -Path $destPath -ChildPath $env:ChocolateyPackageVersion
}
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
}
}
2023-06-09 14:01:37,647 5476 [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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-09 14:01:37,663 5476 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 14:01:38,272 5476 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-09 14:01:38,727 5476 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:01:38,741 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:01:38,741 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:01:38,756 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:01:38,756 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:01:38,772 5476 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:01:38,772 5476 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:01:38,788 5476 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:01:38,788 5476 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:01:38,804 5476 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:01:38,804 5476 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:01:38,819 5476 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:01:38,819 5476 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:01:38,819 5476 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:01:38,835 5476 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:01:38,835 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:01:38,850 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:01:38,850 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:01:38,866 5476 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:01:38,866 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:38,866 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:01:38,882 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:01:38,897 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:01:38,897 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:01:38,897 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:01:38,913 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:01:38,913 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:01:38,929 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:01:38,929 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:01:38,944 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:01:38,944 5476 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:01:38,960 5476 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:01:38,960 5476 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:01:38,976 5476 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:01:38,976 5476 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:01:38,991 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:01:38,991 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:39,007 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:01:39,007 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:01:39,023 5476 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:01:39,023 5476 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:01:39,038 5476 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:01:39,038 5476 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:01:39,053 5476 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:01:39,053 5476 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:01:39,053 5476 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:01:39,069 5476 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:01:39,069 5476 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:01:39,085 5476 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:01:39,085 5476 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:01:39,194 5476 [DEBUG] - Loading community extensions
2023-06-09 14:01:39,226 5476 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 14:01:39,241 5476 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 14:01:39,367 5476 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:01:39,367 5476 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:01:39,381 5476 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:01:39,381 5476 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:01:39,381 5476 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:01:39,399 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:01:39,399 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:01:39,413 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:01:39,413 5476 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:01:39,429 5476 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:01:39,443 5476 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:01:39,445 5476 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:01:39,445 5476 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:01:39,460 5476 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:01:39,460 5476 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:01:39,475 5476 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:01:39,475 5476 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:01:39,475 5476 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:01:39,491 5476 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:01:39,491 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:01:39,507 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:01:39,507 5476 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:01:39,522 5476 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:01:39,522 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:39,538 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:01:39,538 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:01:39,554 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:01:39,554 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:01:39,569 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:01:39,569 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:01:39,585 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:01:39,585 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:01:39,601 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:01:39,601 5476 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:01:39,616 5476 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:01:39,616 5476 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:01:39,616 5476 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:01:39,632 5476 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:01:39,632 5476 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:01:39,647 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:01:39,647 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:39,663 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:01:39,663 5476 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:01:39,663 5476 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:01:39,679 5476 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:01:39,679 5476 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:01:39,694 5476 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:01:39,694 5476 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:01:39,710 5476 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:01:39,710 5476 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:01:39,726 5476 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:01:39,726 5476 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:01:39,741 5476 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:01:39,741 5476 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:01:39,757 5476 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:01:39,757 5476 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:01:39,772 5476 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 14:01:39,788 5476 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 14:01:39,788 5476 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 14:01:39,804 5476 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 14:01:39,804 5476 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 14:01:39,804 5476 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 14:01:39,819 5476 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 14:01:39,819 5476 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 14:01:39,835 5476 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 14:01:39,835 5476 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 14:01:39,850 5476 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:01:39,850 5476 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 14:01:39,866 5476 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 14:01:39,866 5476 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 14:01:39,882 5476 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 14:01:39,882 5476 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 14:01:39,897 5476 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 14:01:39,913 5476 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 14:01:39,913 5476 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 14:01:39,913 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:39,929 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:01:39,944 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:01:39,944 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:01:39,944 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 14:01:39,960 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 14:01:39,960 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:01:39,976 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:01:39,976 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 14:01:39,991 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:01:39,991 5476 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 14:01:40,007 5476 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 14:01:40,007 5476 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:01:40,023 5476 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 14:01:40,023 5476 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 14:01:40,038 5476 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:01:40,038 5476 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 14:01:40,054 5476 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:01:40,054 5476 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 14:01:40,069 5476 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:40,069 5476 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:01:40,084 5476 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:01:40,084 5476 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 14:01:40,084 5476 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 14:01:40,100 5476 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 14:01:40,100 5476 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 14:01:40,116 5476 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 14:01:40,116 5476 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 14:01:40,132 5476 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 14:01:40,132 5476 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:01:40,148 5476 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 14:01:40,148 5476 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 14:01:40,163 5476 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 14:01:40,257 5476 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 14:01:40,272 5476 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.0.4 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-09 14:01:40,351 5476 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
2023-06-09 14:01:40,429 5476 [INFO ] - VERBOSE: Creating destination directory 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4' for module.
2023-06-09 14:01:40,461 5476 [INFO ] - VERBOSE: Extracting 'dbatools' files from 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip' to 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4'.
2023-06-09 14:01:40,632 5476 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip' -destination 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4'
2023-06-09 14:01:40,647 5476 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-06-09 14:01:40,710 5476 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip to C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4...
2023-06-09 14:01:40,758 5476 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-06-09 14:01:40,804 5476 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4" -y "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip"]
2023-06-09 14:01:41,398 5476 [INFO ] - VERBOSE:
2023-06-09 14:01:41,429 5476 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2023-06-09 14:01:41,444 5476 [INFO ] - VERBOSE:
2023-06-09 14:01:41,444 5476 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-06-09 14:01:41,460 5476 [INFO ] - VERBOSE: 1 file, 2959468 bytes (2891 KiB)
2023-06-09 14:01:41,460 5476 [INFO ] - VERBOSE:
2023-06-09 14:01:41,475 5476 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip
2023-06-09 14:01:41,491 5476 [INFO ] - VERBOSE: --
2023-06-09 14:01:41,491 5476 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip
2023-06-09 14:01:41,507 5476 [INFO ] - VERBOSE: Type = zip
2023-06-09 14:01:41,507 5476 [INFO ] - VERBOSE: Physical Size = 2959468
2023-06-09 14:01:41,522 5476 [INFO ] - VERBOSE:
2023-06-09 14:01:41,538 5476 [INFO ] - VERBOSE: - bin\dbatools-buildref-index.json
2023-06-09 14:01:41,554 5476 [INFO ] - VERBOSE: - bin\dbatools-index.json
2023-06-09 14:01:41,570 5476 [INFO ] - VERBOSE: - bin\dbatools-sqlinstallationcomponents.json
2023-06-09 14:01:41,584 5476 [INFO ] - VERBOSE: - bin\dbatools.png
2023-06-09 14:01:41,584 5476 [INFO ] - VERBOSE: - bin\dbatools.xml
2023-06-09 14:01:41,600 5476 [INFO ] - VERBOSE: - bin\RegSrvr.xml
2023-06-09 14:01:41,600 5476 [INFO ] - VERBOSE: - bin\sp_SQLskills_ConvertTraceToEEs.sql
2023-06-09 14:01:41,616 5476 [INFO ] - VERBOSE: - bin\stig.sql
2023-06-09 14:01:41,632 5476 [INFO ] - VERBOSE: - bin\thor.png
2023-06-09 14:01:41,632 5476 [INFO ] - VERBOSE: - bin\type-extensions.ps1
2023-06-09 14:01:41,647 5476 [INFO ] - VERBOSE: - bin\typealiases.ps1
2023-06-09 14:01:41,663 5476 [INFO ] - VERBOSE: - bin\xetemplates-metadata.xml
2023-06-09 14:01:41,663 5476 [INFO ] - VERBOSE: - bin\datageneration\ForeignKeysHierarchy.sql
2023-06-09 14:01:41,663 5476 [INFO ] - VERBOSE: - bin\datamasking\columntypes.json
2023-06-09 14:01:41,679 5476 [INFO ] - VERBOSE: - bin\datamasking\pii-knownnames.json
2023-06-09 14:01:41,694 5476 [INFO ] - VERBOSE: - bin\datamasking\pii-patterns.json
2023-06-09 14:01:41,694 5476 [INFO ] - VERBOSE: - bin\datamasking\schema-maskingconfig.json
2023-06-09 14:01:41,710 5476 [INFO ] - VERBOSE: - bin\datamasking\schema-pii-knownnames.json
2023-06-09 14:01:41,710 5476 [INFO ] - VERBOSE: - bin\datamasking\schema-pii-patterns.json
2023-06-09 14:01:41,725 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2005.sql
2023-06-09 14:01:41,725 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2008.sql
2023-06-09 14:01:41,741 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2008R2.sql
2023-06-09 14:01:41,757 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2012.sql
2023-06-09 14:01:41,757 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2014.sql
2023-06-09 14:01:41,772 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2016.sql
2023-06-09 14:01:41,772 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2016SP2.sql
2023-06-09 14:01:41,788 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2017.sql
2023-06-09 14:01:41,788 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2019.sql
2023-06-09 14:01:41,851 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2022.sql
2023-06-09 14:01:41,867 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_AzureSQLDatabase.sql
2023-06-09 14:01:41,898 5476 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_SQLManagedInstance.sql
2023-06-09 14:01:41,913 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\CommandExecute.sql
2023-06-09 14:01:41,913 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\CommandLog.sql
2023-06-09 14:01:41,929 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\DatabaseBackup.sql
2023-06-09 14:01:41,929 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\DatabaseIntegrityCheck.sql
2023-06-09 14:01:41,944 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\IndexOptimize.sql
2023-06-09 14:01:41,944 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\MaintenanceSolution.sql
2023-06-09 14:01:41,960 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\Queue.sql
2023-06-09 14:01:41,960 5476 [INFO ] - VERBOSE: - bin\maintenancesolution\QueueDatabase.sql
2023-06-09 14:01:41,975 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets.xml
2023-06-09 14:01:41,975 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\Long Running Queries.xml
2023-06-09 14:01:41,991 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2005.xml
2023-06-09 14:01:41,991 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2008 and R2.xml
2023-06-09 14:01:42,007 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2012.xml
2023-06-09 14:01:42,007 5476 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2014 and Up.xml
2023-06-09 14:01:42,022 5476 [INFO ] - VERBOSE: - bin\randomizer\en.randomizertypes.csv
2023-06-09 14:01:42,022 5476 [INFO ] - VERBOSE: - bin\randomizer\templates\PersonalData.json
2023-06-09 14:01:42,288 5476 [INFO ] - VERBOSE: - bin\XEtemplates\15 Second IO Error.xml
2023-06-09 14:01:42,288 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Activity Detail Tracking.xml
2023-06-09 14:01:42,319 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Activity Tracking.xml
2023-06-09 14:01:42,319 5476 [INFO ] - VERBOSE: - bin\XEtemplates\AlwaysOn Health Enhanced.xml
2023-06-09 14:01:42,335 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Blocked Process Report.xml
2023-06-09 14:01:42,335 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Connection Detail Tracking.xml
2023-06-09 14:01:42,351 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Connection Tracking.xml
2023-06-09 14:01:42,351 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Count Query Locks.xml
2023-06-09 14:01:42,366 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Database File IO.xml
2023-06-09 14:01:42,366 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2012.xml
2023-06-09 14:01:42,382 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2014.xml
2023-06-09 14:01:42,382 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2016 and Above.xml
2023-06-09 14:01:42,397 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Deadlock Graphs.xml
2023-06-09 14:01:42,397 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Default Profiler Trace.xml
2023-06-09 14:01:42,413 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Deprecated Feature Usage.xml
2023-06-09 14:01:42,413 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Failing Queries.xml
2023-06-09 14:01:42,429 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Function Executions.xml
2023-06-09 14:01:42,429 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Index Page Splits.xml
2023-06-09 14:01:42,444 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Log File IO Detail Tracking.xml
2023-06-09 14:01:42,444 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Log File IO Tracking.xml
2023-06-09 14:01:42,460 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Login Tracker.xml
2023-06-09 14:01:42,476 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Long Running Queries.xml
2023-06-09 14:01:42,476 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Overly Complex Queries.xml
2023-06-09 14:01:42,491 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler SP Counts.xml
2023-06-09 14:01:42,491 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler Standard.xml
2023-06-09 14:01:42,491 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Duration.xml
2023-06-09 14:01:42,507 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Locks.xml
2023-06-09 14:01:42,522 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Replay.xml
2023-06-09 14:01:42,522 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL SPs.xml
2023-06-09 14:01:42,522 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL.xml
2023-06-09 14:01:42,539 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler Tuning.xml
2023-06-09 14:01:42,539 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Queries and Resources.xml
2023-06-09 14:01:42,553 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Detail Sampling.xml
2023-06-09 14:01:42,553 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Sampling.xml
2023-06-09 14:01:42,569 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Tracking.xml
2023-06-09 14:01:42,569 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Detail Sampling.xml
2023-06-09 14:01:42,585 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Detail Tracking.xml
2023-06-09 14:01:42,585 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Timeouts.xml
2023-06-09 14:01:42,600 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Wait Statistics Detail.xml
2023-06-09 14:01:42,600 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Query Wait Statistics.xml
2023-06-09 14:01:42,616 5476 [INFO ] - VERBOSE: - bin\XEtemplates\Stored Procedure Parameters.xml
2023-06-09 14:01:42,616 5476 [INFO ] - VERBOSE: - en-us\about_dbatools.help.txt
2023-06-09 14:01:42,616 5476 [INFO ] - VERBOSE: - en-us\about_dbatools_importoptions.help.txt
2023-06-09 14:01:42,633 5476 [INFO ] - VERBOSE: - en-us\about_dbatools_support.help.txt
2023-06-09 14:01:42,633 5476 [INFO ] - VERBOSE: - en-us\dbatools-Help.xml
2023-06-09 14:01:42,647 5476 [INFO ] - VERBOSE: - en-us\dbatools.dll-help.xml
2023-06-09 14:01:42,647 5476 [INFO ] - VERBOSE: - opt\opt.dat
2023-06-09 14:01:42,664 5476 [INFO ] - VERBOSE: - private\configurations\configuration.dat
2023-06-09 14:01:42,678 5476 [INFO ] - VERBOSE: - private\configurations\settings\settings.dat
2023-06-09 14:01:42,678 5476 [INFO ] - VERBOSE: - private\configurations\validation\validation.dat
2023-06-09 14:01:42,694 5476 [INFO ] - VERBOSE: - private\dynamicparams\dynamicparams.dat
2023-06-09 14:01:42,694 5476 [INFO ] - VERBOSE: - private\maintenance\maintenance.dat
2023-06-09 14:01:42,710 5476 [INFO ] - VERBOSE: - private\scripts\cmdlets.ps1
2023-06-09 14:01:42,710 5476 [INFO ] - VERBOSE: - private\scripts\dbatools-maintenance.ps1
2023-06-09 14:01:42,725 5476 [INFO ] - VERBOSE: - private\scripts\insertTepp.ps1
2023-06-09 14:01:42,725 5476 [INFO ] - VERBOSE: - private\scripts\logfilescript.ps1
2023-06-09 14:01:42,741 5476 [INFO ] - VERBOSE: - private\scripts\message-transforms.ps1
2023-06-09 14:01:42,741 5476 [INFO ] - VERBOSE: - private\scripts\updateTeppAsync.ps1
2023-06-09 14:01:42,757 5476 [INFO ] - VERBOSE: - xml\dbatools.Format.ps1xml
2023-06-09 14:01:42,757 5476 [INFO ] - VERBOSE: - xml\dbatools.Types.ps1xml
2023-06-09 14:01:42,772 5476 [INFO ] - VERBOSE: - cleanup.ps1
2023-06-09 14:01:42,772 5476 [INFO ] - VERBOSE: - dbatools.dat
2023-06-09 14:01:42,788 5476 [INFO ] - VERBOSE: - dbatools.psd1
2023-06-09 14:01:42,788 5476 [INFO ] - VERBOSE: - dbatools.psm1
2023-06-09 14:01:42,804 5476 [INFO ] - VERBOSE: - license
2023-06-09 14:01:42,804 5476 [INFO ] - VERBOSE: Everything is Ok
2023-06-09 14:01:42,819 5476 [INFO ] - VERBOSE:
2023-06-09 14:01:42,819 5476 [INFO ] - VERBOSE: Files: 112
2023-06-09 14:01:42,835 5476 [INFO ] - VERBOSE: Size: 22487322
2023-06-09 14:01:42,835 5476 [INFO ] - VERBOSE: Compressed: 2959468
2023-06-09 14:01:42,914 5476 [DEBUG] - $exitCode was passed null
2023-06-09 14:01:42,914 5476 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4" -y "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip"] exited with '0'.
2023-06-09 14:01:42,929 5476 [DEBUG] - 7z exit code: 0
2023-06-09 14:01:42,944 5476 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4
2023-06-09 14:01:42,976 5476 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 14:01:42,991 5476 [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\dbatools\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-09 14:01:43,007 5476 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-09 14:01:43,101 5476 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-09 14:01:43,289 5476 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
2023-06-09 14:01:43,304 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum '8BFEE919E33A98286EB64B1C7C516197'
2023-06-09 14:01:43,320 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum 'B1A902AD6FA08E98F3A0B30FB4FE6FA1'
2023-06-09 14:01:43,320 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-09 14:01:43,320 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
2023-06-09 14:01:43,335 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
2023-06-09 14:01:43,335 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
2023-06-09 14:01:43,351 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum '7B36A90D2E2B9022F697A287530AE95B'
2023-06-09 14:01:43,367 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
2023-06-09 14:01:43,367 5476 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
2023-06-09 14:01:43,429 5476 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4".
2023-06-09 14:01:43,461 5476 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4\.files'
2023-06-09 14:01:43,475 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4\.extra".
2023-06-09 14:01:43,491 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4\.version".
2023-06-09 14:01:43,491 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4\.sxs".
2023-06-09 14:01:43,507 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.0.4\.pin".
2023-06-09 14:01:43,524 5476 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-06-09 14:01:43,538 5476 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\.chocolateyPending".
2023-06-09 14:01:43,538 5476 [INFO ] - The install of dbatools was successful.
2023-06-09 14:01:43,554 5476 [INFO ] - Software installed to 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.0.4'
2023-06-09 14:01:43,554 5476 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\dbatools.2.0.4.nupkg".
2023-06-09 14:01:43,616 5476 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-09 14:01:43,616 5476 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-09 14:01:43,663 5476 [DEBUG] - Exiting with 0
2023-06-09 14:01:55,163 5836 [DEBUG] - XmlConfiguration is now operational
2023-06-09 14:01:55,305 5836 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:55,305 5836 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-06-09 14:01:55,335 5836 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-06-09 14:01:55,929 5836 [INFO ] - ============================================================
2023-06-09 14:01:56,273 5836 [INFO ] - Chocolatey v1.3.0
2023-06-09 14:01:56,288 5836 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-06-09 14:01:56,305 5836 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-06-09 14:01:56,305 5836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-06-09 14:01:56,335 5836 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall dbatools --version 2.0.4 -dvy --execution-timeout=2700
2023-06-09 14:01:56,335 5836 [DEBUG] - Received arguments: uninstall dbatools --version 2.0.4 -dvy --execution-timeout=2700
2023-06-09 14:01:56,491 5836 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-06-09 14:01:56,524 5836 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-06-09 14:01:56,554 5836 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-06-09 14:01:56,711 5836 [DEBUG] - Performing validation checks.
2023-06-09 14:01:56,726 5836 [DEBUG] - Global Configuration Validation Checks:
2023-06-09 14:01:56,726 5836 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-06-09 14:01:56,742 5836 [DEBUG] - System State Validation Checks:
2023-06-09 14:01:56,757 5836 [DEBUG] - Reboot Requirement Checks:
2023-06-09 14:01:56,773 5836 [DEBUG] - - Pending Computer Rename = Checked
2023-06-09 14:01:56,773 5836 [DEBUG] - - Pending Component Based Servicing = Checked
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending Windows Auto Update = Checked
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending File Rename Operations = Ignored
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending Windows Package Installer = Checked
2023-06-09 14:01:56,804 5836 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-06-09 14:01:56,820 5836 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-06-09 14:01:56,867 5836 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-06-09 14:01:56,882 5836 [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.
2023-06-09 14:01:56,929 5836 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.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'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='dbatools'|
Version='2.0.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='dbatools'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='1.3.0.0'|
Information.ChocolateyProductVersion='1.3.0'|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-L1MEJU7G50M'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
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'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-06-09 14:01:56,944 5836 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-06-09 14:01:56,976 5836 [INFO ] - Uninstalling the following packages:
2023-06-09 14:01:56,976 5836 [INFO ] - dbatools
2023-06-09 14:01:56,992 5836 [DEBUG] - Current environment values (may contain sensitive data):
2023-06-09 14:01:57,009 5836 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-06-09 14:01:57,009 5836 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'ChocolateyLastPathUpdate'='133307860840504879' ('User')
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-06-09 14:01:57,038 5836 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-06-09 14:01:57,038 5836 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-06-09 14:01:57,085 5836 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-06-09 14:01:57,085 5836 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-06-09 14:01:57,116 5836 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-06-09 14:01:57,116 5836 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-06-09 14:01:57,257 5836 [DEBUG] - Running list with the following filter = ''
2023-06-09 14:01:57,257 5836 [DEBUG] - --- Start of List ---
2023-06-09 14:01:57,600 5836 [DEBUG] - dbatools 2.0.4
2023-06-09 14:01:57,600 5836 [DEBUG] - --- End of List ---
2023-06-09 14:01:57,743 5836 [DEBUG] - Setting installer args for dbatools
2023-06-09 14:01:57,757 5836 [DEBUG] - Setting package parameters for dbatools
2023-06-09 14:01:57,757 5836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1':
2023-06-09 14:01:57,773 5836 [DEBUG] - $ErrorActionPreference = 'Stop'
$moduleName = 'dbatools' # this could be different from package name
$module = Get-Module -Name $moduleName
if ($module) {
Write-Verbose "Module '$moduleName' is imported into the session. Removing it."
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
if ($lib = [appdomain]::CurrentDomain.GetAssemblies() | Where-Object FullName -like "dbatools, *") {
Write-Verbose "Found locked DLL files for module '$moduleName'."
$moduleDir = Split-Path $module.Path -Parent
if ($lib.Location -like "$moduleDir\*") {
Write-Warning @"
We have detected dbatools to be already imported from '$moduleDir' and the dll files have been locked and cannot be updated.
Please close all consoles that have dbatools imported (Remove-Module dbatools is NOT enough).
"@
throw
}
}
}
2023-06-09 14:01:57,913 5836 [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\dbatools\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-09 14:01:57,929 5836 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 14:01:58,585 5836 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-09 14:01:59,039 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:01:59,054 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:01:59,054 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:01:59,085 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:01:59,085 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:01:59,101 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:01:59,101 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:01:59,116 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:01:59,116 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:01:59,132 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:01:59,147 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:01:59,147 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:01:59,163 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:01:59,163 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:01:59,179 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:01:59,179 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:01:59,195 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:59,195 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:01:59,225 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:01:59,225 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:01:59,241 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:01:59,241 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:01:59,257 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:01:59,257 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:01:59,288 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:01:59,320 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:01:59,335 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:01:59,335 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:59,351 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:01:59,367 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:01:59,367 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:01:59,398 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:01:59,398 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:01:59,414 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:01:59,414 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:01:59,429 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:01:59,429 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:01:59,444 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:01:59,492 5836 [DEBUG] - Loading community extensions
2023-06-09 14:01:59,524 5836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 14:01:59,524 5836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 14:01:59,649 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:01:59,649 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:01:59,664 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:01:59,664 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:01:59,679 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:01:59,679 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:01:59,695 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:01:59,695 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:01:59,710 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:01:59,710 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:01:59,725 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:01:59,742 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:01:59,742 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:01:59,758 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:01:59,758 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:01:59,788 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:01:59,788 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:01:59,804 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:59,835 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:01:59,835 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:01:59,851 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:01:59,851 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:01:59,882 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:01:59,882 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:01:59,898 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:01:59,898 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:01:59,913 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:01:59,913 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:01:59,945 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:01:59,960 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:01:59,960 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:01:59,976 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:01:59,976 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:01:59,992 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:01:59,992 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:02:00,007 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:02:00,007 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:02:00,023 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:02:00,023 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:02:00,038 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:02:00,038 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:02:00,054 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:02:00,054 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:02:00,069 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:02:00,069 5836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 14:02:00,085 5836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 14:02:00,085 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 14:02:00,100 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 14:02:00,100 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 14:02:00,116 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 14:02:00,148 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 14:02:00,148 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:02:00,163 5836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 14:02:00,163 5836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 14:02:00,195 5836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 14:02:00,210 5836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 14:02:00,210 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 14:02:00,226 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 14:02:00,226 5836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 14:02:00,241 5836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 14:02:00,241 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:02:00,273 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 14:02:00,273 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 14:02:00,304 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:02:00,304 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 14:02:00,321 5836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 14:02:00,321 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:02:00,352 5836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 14:02:00,367 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:02:00,367 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:02:00,398 5836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 14:02:00,398 5836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 14:02:00,414 5836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 14:02:00,414 5836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 14:02:00,429 5836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 14:02:00,429 5836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 14:02:00,444 5836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 14:02:00,444 5836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 14:02:00,571 5836 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 14:02:00,586 5836 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.0.4 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-09 14:02:00,648 5836 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
2023-06-09 14:02:00,742 5836 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 14:02:00,757 5836 [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\dbatools\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-09 14:02:00,913 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2023-06-09 14:02:00,913 5836 [DEBUG] - Backing up existing dbatools prior to operation.
2023-06-09 14:02:00,929 5836 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dbatools'
to 'C:\ProgramData\chocolatey\lib-bkp\dbatools'
2023-06-09 14:02:02,960 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools".
2023-06-09 14:02:02,960 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\dbatools.nupkg"
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
2023-06-09 14:02:02,978 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\dbatools.nuspec"
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
2023-06-09 14:02:02,978 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools\tools".
2023-06-09 14:02:02,991 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\.skipAutoUninstaller"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
2023-06-09 14:02:02,991 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
2023-06-09 14:02:03,007 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
2023-06-09 14:02:03,007 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
2023-06-09 14:02:03,023 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\dbatools.zip"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
2023-06-09 14:02:03,039 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
2023-06-09 14:02:03,039 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
2023-06-09 14:02:04,569 5836 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
2023-06-09 14:02:04,587 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum '8BFEE919E33A98286EB64B1C7C516197'
2023-06-09 14:02:04,602 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum 'B1A902AD6FA08E98F3A0B30FB4FE6FA1'
2023-06-09 14:02:04,602 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-06-09 14:02:04,616 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
2023-06-09 14:02:04,616 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
2023-06-09 14:02:04,632 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum '7B36A90D2E2B9022F697A287530AE95B'
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
2023-06-09 14:02:05,039 5836 [INFO ] - [NuGet] Uninstalling 'dbatools 2.0.4'.
2023-06-09 14:02:05,054 5836 [INFO ] -
dbatools v2.0.4
2023-06-09 14:02:05,103 5836 [DEBUG] - Setting installer args for dbatools
2023-06-09 14:02:05,148 5836 [DEBUG] - Setting package parameters for dbatools
2023-06-09 14:02:05,148 5836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1':
2023-06-09 14:02:05,148 5836 [DEBUG] - $ErrorActionPreference = 'Stop'
$moduleName = 'dbatools'
$sourcePath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
Write-Verbose "Removing all version of '$moduleName' from '$sourcePath'."
Remove-Item -Path $sourcePath -Recurse -Force -ErrorAction SilentlyContinue
if ($PSVersionTable.PSVersion.Major -lt 4) {
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
Write-Verbose "Removing '$sourcePath' from PSModulePath."
$newModulePath = $modulePaths | Where-Object { $_ -ne $sourcePath }
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
$env:PSModulePath = $newModulePath
}
2023-06-09 14:02:05,163 5836 [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\dbatools\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-06-09 14:02:05,258 5836 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-06-09 14:02:05,290 5836 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-06-09 14:02:05,461 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:02:05,492 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:02:05,492 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:02:05,508 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:02:05,508 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:02:05,538 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:02:05,538 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:02:05,570 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:02:05,570 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:02:05,586 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:02:05,586 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:05,601 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:02:05,632 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:02:05,632 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:02:05,648 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:02:05,648 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:02:05,679 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:02:05,679 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:02:05,694 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:02:05,694 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:02:05,726 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:02:05,757 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:02:05,757 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:02:05,788 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:02:05,788 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:02:05,804 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:02:05,804 5836 [DEBUG] - Loading community extensions
2023-06-09 14:02:05,820 5836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-06-09 14:02:05,820 5836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-06-09 14:02:05,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:02:05,882 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:02:05,882 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:02:05,898 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:02:05,898 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-06-09 14:02:05,914 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-06-09 14:02:05,914 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-06-09 14:02:05,944 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-06-09 14:02:05,944 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-06-09 14:02:05,960 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-06-09 14:02:05,960 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-06-09 14:02:05,976 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:02:05,976 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-06-09 14:02:06,007 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-06-09 14:02:06,007 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-06-09 14:02:06,023 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-06-09 14:02:06,023 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:02:06,054 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:02:06,054 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-06-09 14:02:06,070 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-06-09 14:02:06,070 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:02:06,101 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-06-09 14:02:06,101 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:02:06,132 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-06-09 14:02:06,132 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-06-09 14:02:06,148 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:06,148 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-06-09 14:02:06,179 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-06-09 14:02:06,194 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-06-09 14:02:06,194 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-06-09 14:02:06,210 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-06-09 14:02:06,210 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-06-09 14:02:06,242 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:02:06,242 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-06-09 14:02:06,257 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-06-09 14:02:06,257 5836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-06-09 14:02:06,273 5836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-06-09 14:02:06,273 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-06-09 14:02:06,289 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-06-09 14:02:06,320 5836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-06-09 14:02:06,351 5836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-06-09 14:02:06,351 5836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-06-09 14:02:06,366 5836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-06-09 14:02:06,366 5836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-06-09 14:02:06,382 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-06-09 14:02:06,382 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-06-09 14:02:06,398 5836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-06-09 14:02:06,398 5836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-06-09 14:02:06,414 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:06,414 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-06-09 14:02:06,429 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-06-09 14:02:06,429 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-06-09 14:02:06,445 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-06-09 14:02:06,445 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-06-09 14:02:06,460 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-06-09 14:02:06,460 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-06-09 14:02:06,492 5836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-06-09 14:02:06,492 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-06-09 14:02:06,508 5836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-06-09 14:02:06,508 5836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-06-09 14:02:06,523 5836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-06-09 14:02:06,523 5836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-06-09 14:02:06,538 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-06-09 14:02:06,538 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-06-09 14:02:06,554 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-06-09 14:02:06,554 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-06-09 14:02:06,569 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-06-09 14:02:06,569 5836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-06-09 14:02:06,585 5836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-06-09 14:02:06,585 5836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-06-09 14:02:06,601 5836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-06-09 14:02:06,601 5836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-06-09 14:02:06,617 5836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-06-09 14:02:06,617 5836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-06-09 14:02:06,648 5836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-06-09 14:02:06,648 5836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-06-09 14:02:06,663 5836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-06-09 14:02:06,663 5836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-06-09 14:02:06,679 5836 [DEBUG] - ---------------------------Script Execution---------------------------
2023-06-09 14:02:06,679 5836 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.0.4 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-06-09 14:02:06,694 5836 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
2023-06-09 14:02:06,726 5836 [INFO ] - VERBOSE: Removing all version of 'dbatools' from 'C:\Program Files\WindowsPowerShell\Modules\dbatools'.
2023-06-09 14:02:06,789 5836 [DEBUG] - ----------------------------------------------------------------------
2023-06-09 14:02:06,804 5836 [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\dbatools\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-06-09 14:02:06,820 5836 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
2023-06-09 14:02:06,835 5836 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-06-09 14:02:06,929 5836 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-06-09 14:02:06,946 5836 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
2023-06-09 14:02:07,007 5836 [DEBUG] - [NuGet] Removed file '.skipAutoUninstaller' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,007 5836 [DEBUG] - [NuGet] Removed file 'chocolateyBeforeModify.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,023 5836 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,023 5836 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,054 5836 [DEBUG] - [NuGet] Removed file 'dbatools.zip' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,054 5836 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,070 5836 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,070 5836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
2023-06-09 14:02:07,085 5836 [DEBUG] - [NuGet] Removed file 'dbatools.nuspec' to folder 'C:\ProgramData\chocolatey\lib\dbatools'.
2023-06-09 14:02:07,085 5836 [DEBUG] - [NuGet] Removed file 'dbatools.nupkg' to folder 'C:\ProgramData\chocolatey\lib\dbatools'.
2023-06-09 14:02:07,101 5836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\dbatools'.
2023-06-09 14:02:07,101 5836 [INFO ] - [NuGet] Successfully uninstalled 'dbatools 2.0.4'.
2023-06-09 14:02:07,134 5836 [INFO ] - dbatools has been successfully uninstalled.
2023-06-09 14:02:07,134 5836 [DEBUG] - Removing nupkg if it still exists.
2023-06-09 14:02:07,148 5836 [DEBUG] - Ensuring removal of installation files.
2023-06-09 14:02:07,164 5836 [DEBUG] - Ensuring removal of package cache files.
2023-06-09 14:02:07,210 5836 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-06-09 14:02:07,210 5836 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-06-09 14:02:07,257 5836 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment