Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created September 21, 2023 13: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/d499a6b5d6936f3d1ee852fb0c607098 to your computer and use it in GitHub Desktop.
Save choco-bot/d499a6b5d6936f3d1ee852fb0c607098 to your computer and use it in GitHub Desktop.
dbatools v2.1.0 - Passed - Package Tests Results

dbatools v2.1.0 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/dbatools/2.1.0
  • Tested 21 Sep 2023 13:02:02 +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="6B1E7A030482FA7904BB31DC16A0DD85" />
<file path="C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec" checksum="0F99B673918B3C859C396E7F997B9A2A" />
<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="CCF6E4C93DF9F09DECCDDAEDB1B4B182" />
<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-09-21 13:01:12,421 4216 [DEBUG] - XmlConfiguration is now operational
2023-09-21 13:01:12,563 4216 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,577 4216 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,577 4216 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,577 4216 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,577 4216 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,593 4216 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,593 4216 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,593 4216 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,593 4216 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:12,609 4216 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-09-21 13:01:12,609 4216 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-09-21 13:01:13,782 4216 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,782 4216 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,782 4216 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,782 4216 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,796 4216 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,796 4216 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,811 4216 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,811 4216 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,937 4216 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,952 4216 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:13,984 4216 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-09-21 13:01:13,984 4216 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-09-21 13:01:14,000 4216 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-09-21 13:01:14,000 4216 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-09-21 13:01:14,000 4216 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-09-21 13:01:14,000 4216 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-09-21 13:01:14,014 4216 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-09-21 13:01:14,014 4216 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-09-21 13:01:14,014 4216 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-09-21 13:01:14,014 4216 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-09-21 13:01:14,030 4216 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-09-21 13:01:14,030 4216 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-09-21 13:01:14,030 4216 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-09-21 13:01:14,046 4216 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-09-21 13:01:14,046 4216 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-09-21 13:01:14,046 4216 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-09-21 13:01:14,046 4216 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-09-21 13:01:14,061 4216 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-09-21 13:01:14,061 4216 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-09-21 13:01:14,061 4216 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-09-21 13:01:14,359 4216 [INFO ] - ============================================================
2023-09-21 13:01:14,780 4216 [INFO ] - Chocolatey v2.2.2
2023-09-21 13:01:14,812 4216 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-09-21 13:01:14,828 4216 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-09-21 13:01:14,828 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-09-21 13:01:14,861 4216 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install dbatools --version 2.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-09-21 13:01:14,874 4216 [DEBUG] - Received arguments: install dbatools --version 2.1.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-09-21 13:01:15,031 4216 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-09-21 13:01:15,062 4216 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-09-21 13:01:15,077 4216 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-09-21 13:01:15,280 4216 [DEBUG] - Performing validation checks.
2023-09-21 13:01:15,296 4216 [DEBUG] - Global Configuration Validation Checks:
2023-09-21 13:01:15,312 4216 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-09-21 13:01:15,327 4216 [DEBUG] - System State Validation Checks:
2023-09-21 13:01:15,327 4216 [DEBUG] - Reboot Requirement Checks:
2023-09-21 13:01:15,343 4216 [DEBUG] - - Pending Computer Rename = Checked
2023-09-21 13:01:15,343 4216 [DEBUG] - - Pending Component Based Servicing = Checked
2023-09-21 13:01:15,358 4216 [DEBUG] - - Pending Windows Auto Update = Checked
2023-09-21 13:01:15,358 4216 [DEBUG] - - Pending File Rename Operations = Ignored
2023-09-21 13:01:15,374 4216 [DEBUG] - - Pending Windows Package Installer = Checked
2023-09-21 13:01:15,374 4216 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-09-21 13:01:15,390 4216 [DEBUG] - Cache Folder Lockdown Checks:
2023-09-21 13:01:15,406 4216 [DEBUG] - - Elevated State = Checked
2023-09-21 13:01:15,406 4216 [DEBUG] - - Folder Exists = Checked
2023-09-21 13:01:15,421 4216 [DEBUG] - - Folder lockdown = Checked
2023-09-21 13:01:15,437 4216 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-09-21 13:01:15,483 4216 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-09-21 13:01:15,499 4216 [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-09-21 13:01:15,546 4216 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.1.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='dbatools'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-HJFT6H6GK7P'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-09-21 13:01:15,561 4216 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-09-21 13:01:15,578 4216 [INFO ] - Installing the following packages:
2023-09-21 13:01:15,594 4216 [INFO ] - dbatools
2023-09-21 13:01:15,594 4216 [INFO ] - By installing, you accept licenses for the packages.
2023-09-21 13:01:15,608 4216 [DEBUG] - Current environment values (may contain sensitive data):
2023-09-21 13:01:15,625 4216 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-09-21 13:01:15,625 4216 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-21 13:01:15,640 4216 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-21 13:01:15,640 4216 [DEBUG] - * 'ChocolateyLastPathUpdate'='133397716951337217' ('User')
2023-09-21 13:01:15,656 4216 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-09-21 13:01:15,672 4216 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-09-21 13:01:15,672 4216 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-09-21 13:01:15,687 4216 [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-09-21 13:01:15,687 4216 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-09-21 13:01:15,687 4216 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-09-21 13:01:15,703 4216 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-09-21 13:01:15,703 4216 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-09-21 13:01:15,717 4216 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-09-21 13:01:15,717 4216 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-09-21 13:01:15,734 4216 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-09-21 13:01:15,734 4216 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-09-21 13:01:15,750 4216 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-09-21 13:01:15,750 4216 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-09-21 13:01:15,764 4216 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-09-21 13:01:15,764 4216 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-09-21 13:01:16,265 4216 [DEBUG] - Running list with the following filter = ''
2023-09-21 13:01:16,281 4216 [DEBUG] - --- Start of List ---
2023-09-21 13:01:16,328 4216 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-09-21 13:01:16,781 4216 [DEBUG] - chocolatey 2.2.2
2023-09-21 13:01:16,796 4216 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-21 13:01:16,828 4216 [DEBUG] - KB2919355 1.0.20160915
2023-09-21 13:01:16,828 4216 [DEBUG] - KB2919442 1.0.20160915
2023-09-21 13:01:16,843 4216 [DEBUG] - KB2999226 1.0.20181019
2023-09-21 13:01:16,858 4216 [DEBUG] - KB3035131 1.0.3
2023-09-21 13:01:16,874 4216 [DEBUG] - KB3118401 1.0.5
2023-09-21 13:01:16,874 4216 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-21 13:01:16,889 4216 [DEBUG] - --- End of List ---
2023-09-21 13:01:16,905 4216 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-09-21 13:01:17,702 4216 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-09-21 13:01:18,280 4216 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='dbatools',Version='2.1.0')
2023-09-21 13:01:23,561 4216 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='dbatools',Version='2.1.0') 5274ms
2023-09-21 13:01:23,687 4216 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-09-21 13:01:24,437 4216 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-09-21 13:01:24,453 4216 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='dbatools',Version='2.1.0')
2023-09-21 13:01:24,656 4216 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-09-21 13:01:24,687 4216 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-09-21 13:01:24,750 4216 [DEBUG] - Attempting to delete file "".
2023-09-21 13:01:24,797 4216 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/dbatools/2.1.0
2023-09-21 13:01:29,406 4216 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/dbatools/2.1.0 4605ms
2023-09-21 13:01:29,453 4216 [INFO ] - [NuGet] Acquiring lock for the installation of dbatools 2.1.0
2023-09-21 13:01:29,532 4216 [INFO ] - [NuGet] Acquired lock for the installation of dbatools 2.1.0
2023-09-21 13:01:30,125 4216 [INFO ] - [NuGet] Installed dbatools 2.1.0 from https://community.chocolatey.org/api/v2/ with content hash BiVRjgPxCpBHKAgGB03K0eh269Zd+lEla/KujyQ8R1TKeK0fEXAtf5NdV/JPPR9zyzNgM/pfO7LFmYUvtaQkdA==.
2023-09-21 13:01:30,187 4216 [INFO ] - [NuGet] Adding package 'dbatools.2.1.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-09-21 13:01:30,313 4216 [INFO ] - [NuGet] Added package 'dbatools.2.1.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-09-21 13:01:30,327 4216 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\dbatools/2.1.0\dbatools.2.1.0.nupkg".
2023-09-21 13:01:30,344 4216 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\dbatools/2.1.0\.nupkg.metadata".
2023-09-21 13:01:30,344 4216 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\dbatools/2.1.0\dbatools.2.1.0.nupkg.sha512".
2023-09-21 13:01:30,359 4216 [INFO ] -
dbatools v2.1.0 (forced)
2023-09-21 13:01:30,439 4216 [INFO ] - dbatools package files install completed. Performing other installation steps.
2023-09-21 13:01:30,517 4216 [DEBUG] - Setting installer args for dbatools
2023-09-21 13:01:30,517 4216 [DEBUG] - Setting package parameters for dbatools
2023-09-21 13:01:30,531 4216 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1':
2023-09-21 13:01:30,547 4216 [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-09-21 13:01:30,594 4216 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:01:30,609 4216 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-09-21 13:01:31,281 4216 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-09-21 13:01:31,719 4216 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:01:31,735 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:01:31,735 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:31,750 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:01:31,765 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:31,765 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:31,780 4216 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:01:31,780 4216 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:31,796 4216 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:01:31,796 4216 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:31,796 4216 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:01:31,812 4216 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:31,812 4216 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:01:31,828 4216 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:01:31,828 4216 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:31,828 4216 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:01:31,843 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:01:31,843 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:01:31,859 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:01:31,859 4216 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:01:31,874 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:31,874 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:31,893 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:31,893 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:31,906 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:01:31,906 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:01:31,922 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:31,922 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:31,922 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:31,937 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:31,952 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:31,952 4216 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:01:31,952 4216 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:01:31,968 4216 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:01:31,968 4216 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:31,984 4216 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:01:31,984 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:01:32,000 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:32,015 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:32,015 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:32,031 4216 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:01:32,031 4216 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:32,046 4216 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:01:32,063 4216 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:01:32,063 4216 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:32,078 4216 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:01:32,078 4216 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:01:32,078 4216 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:32,093 4216 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:32,093 4216 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:01:32,109 4216 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:01:32,187 4216 [DEBUG] - Loading community extensions
2023-09-21 13:01:32,234 4216 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-09-21 13:01:32,250 4216 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-09-21 13:01:32,329 4216 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:01:32,344 4216 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:01:32,344 4216 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:01:32,359 4216 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:01:32,375 4216 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:01:32,375 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:01:32,390 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:32,390 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:01:32,390 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:32,406 4216 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:32,406 4216 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:01:32,422 4216 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:32,422 4216 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:01:32,437 4216 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:32,437 4216 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:01:32,453 4216 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:32,453 4216 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:01:32,468 4216 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:01:32,468 4216 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:32,484 4216 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:01:32,484 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:01:32,499 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:01:32,499 4216 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:01:32,515 4216 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:01:32,515 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:32,531 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:32,531 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:32,531 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:32,546 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:01:32,546 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:01:32,562 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:32,562 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:32,578 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:32,578 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:32,593 4216 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:32,593 4216 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:01:32,609 4216 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:01:32,609 4216 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:01:32,625 4216 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:32,625 4216 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:01:32,640 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:01:32,640 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:32,656 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:32,656 4216 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:32,672 4216 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:01:32,672 4216 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:32,687 4216 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:01:32,687 4216 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:01:32,703 4216 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:01:32,703 4216 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:01:32,718 4216 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:32,718 4216 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:01:32,734 4216 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:01:32,734 4216 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:32,734 4216 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:32,750 4216 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:01:32,782 4216 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:01:32,782 4216 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-09-21 13:01:32,796 4216 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-09-21 13:01:32,796 4216 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:32,812 4216 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-09-21 13:01:32,812 4216 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:32,828 4216 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:32,828 4216 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-09-21 13:01:32,843 4216 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:32,843 4216 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-09-21 13:01:32,859 4216 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:32,859 4216 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-09-21 13:01:32,874 4216 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:32,874 4216 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-09-21 13:01:32,890 4216 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-09-21 13:01:32,890 4216 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:32,906 4216 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-09-21 13:01:32,906 4216 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-09-21 13:01:32,906 4216 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-09-21 13:01:32,921 4216 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-09-21 13:01:32,921 4216 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-09-21 13:01:32,937 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:32,937 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:32,952 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:32,952 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:32,968 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-09-21 13:01:32,968 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-09-21 13:01:32,984 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:32,984 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:32,999 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:32,999 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:33,015 4216 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:33,015 4216 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-09-21 13:01:33,031 4216 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:01:33,031 4216 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-09-21 13:01:33,046 4216 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-09-21 13:01:33,046 4216 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:33,062 4216 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-09-21 13:01:33,062 4216 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:01:33,077 4216 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-09-21 13:01:33,077 4216 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:33,093 4216 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:33,093 4216 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:33,109 4216 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-09-21 13:01:33,109 4216 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:33,109 4216 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-09-21 13:01:33,125 4216 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-09-21 13:01:33,125 4216 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:33,140 4216 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-09-21 13:01:33,140 4216 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-09-21 13:01:33,156 4216 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:33,156 4216 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-09-21 13:01:33,171 4216 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-09-21 13:01:33,171 4216 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:33,282 4216 [DEBUG] - ---------------------------Script Execution---------------------------
2023-09-21 13:01:33,297 4216 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-09-21 13:01:33,360 4216 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
2023-09-21 13:01:33,422 4216 [INFO ] - VERBOSE: Creating destination directory 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0' for module.
2023-09-21 13:01:33,438 4216 [INFO ] - VERBOSE: Extracting 'dbatools' files from 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip' to 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0'.
2023-09-21 13:01:33,610 4216 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip' -destination 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0'
2023-09-21 13:01:33,641 4216 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-09-21 13:01:33,687 4216 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip to C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0...
2023-09-21 13:01:33,751 4216 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2023-09-21 13:01:33,796 4216 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0" -y "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip"]
2023-09-21 13:01:34,422 4216 [INFO ] - VERBOSE:
2023-09-21 13:01:34,422 4216 [INFO ] - VERBOSE: 7-Zip 23.01 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2023-09-21 13:01:34,453 4216 [INFO ] - VERBOSE:
2023-09-21 13:01:34,453 4216 [INFO ] - VERBOSE: Scanning the drive for archives:
2023-09-21 13:01:34,469 4216 [INFO ] - VERBOSE: 1 file, 2956546 bytes (2888 KiB)
2023-09-21 13:01:34,469 4216 [INFO ] - VERBOSE:
2023-09-21 13:01:34,484 4216 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip
2023-09-21 13:01:34,484 4216 [INFO ] - VERBOSE: --
2023-09-21 13:01:34,500 4216 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip
2023-09-21 13:01:34,500 4216 [INFO ] - VERBOSE: Type = zip
2023-09-21 13:01:34,515 4216 [INFO ] - VERBOSE: Physical Size = 2956546
2023-09-21 13:01:34,515 4216 [INFO ] - VERBOSE:
2023-09-21 13:01:34,530 4216 [INFO ] - VERBOSE: - bin\dbatools-buildref-index.json
2023-09-21 13:01:34,546 4216 [INFO ] - VERBOSE: - bin\dbatools-index.json
2023-09-21 13:01:34,562 4216 [INFO ] - VERBOSE: - bin\dbatools-sqlinstallationcomponents.json
2023-09-21 13:01:34,578 4216 [INFO ] - VERBOSE: - bin\dbatools.png
2023-09-21 13:01:34,578 4216 [INFO ] - VERBOSE: - bin\dbatools.xml
2023-09-21 13:01:34,593 4216 [INFO ] - VERBOSE: - bin\RegSrvr.xml
2023-09-21 13:01:34,609 4216 [INFO ] - VERBOSE: - bin\sp_SQLskills_ConvertTraceToEEs.sql
2023-09-21 13:01:34,609 4216 [INFO ] - VERBOSE: - bin\stig.sql
2023-09-21 13:01:34,609 4216 [INFO ] - VERBOSE: - bin\thor.png
2023-09-21 13:01:34,625 4216 [INFO ] - VERBOSE: - bin\type-extensions.ps1
2023-09-21 13:01:34,641 4216 [INFO ] - VERBOSE: - bin\typealiases.ps1
2023-09-21 13:01:34,641 4216 [INFO ] - VERBOSE: - bin\xetemplates-metadata.xml
2023-09-21 13:01:34,656 4216 [INFO ] - VERBOSE: - bin\datageneration\ForeignKeysHierarchy.sql
2023-09-21 13:01:34,656 4216 [INFO ] - VERBOSE: - bin\datamasking\columntypes.json
2023-09-21 13:01:34,672 4216 [INFO ] - VERBOSE: - bin\datamasking\pii-knownnames.json
2023-09-21 13:01:34,672 4216 [INFO ] - VERBOSE: - bin\datamasking\pii-patterns.json
2023-09-21 13:01:34,687 4216 [INFO ] - VERBOSE: - bin\datamasking\schema-maskingconfig.json
2023-09-21 13:01:34,687 4216 [INFO ] - VERBOSE: - bin\datamasking\schema-pii-knownnames.json
2023-09-21 13:01:34,702 4216 [INFO ] - VERBOSE: - bin\datamasking\schema-pii-patterns.json
2023-09-21 13:01:34,702 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2005.sql
2023-09-21 13:01:34,718 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2008.sql
2023-09-21 13:01:34,718 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2008R2.sql
2023-09-21 13:01:34,734 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2012.sql
2023-09-21 13:01:34,750 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2014.sql
2023-09-21 13:01:34,750 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2016.sql
2023-09-21 13:01:34,766 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2016SP2.sql
2023-09-21 13:01:34,766 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2017.sql
2023-09-21 13:01:34,782 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2019.sql
2023-09-21 13:01:34,782 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_2022.sql
2023-09-21 13:01:34,796 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_AzureSQLDatabase.sql
2023-09-21 13:01:34,796 4216 [INFO ] - VERBOSE: - bin\diagnosticquery\SQLServerDiagnosticQueries_SQLManagedInstance.sql
2023-09-21 13:01:34,813 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\CommandExecute.sql
2023-09-21 13:01:34,813 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\CommandLog.sql
2023-09-21 13:01:34,828 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\DatabaseBackup.sql
2023-09-21 13:01:34,843 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\DatabaseIntegrityCheck.sql
2023-09-21 13:01:34,843 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\IndexOptimize.sql
2023-09-21 13:01:34,859 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\MaintenanceSolution.sql
2023-09-21 13:01:34,859 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\Queue.sql
2023-09-21 13:01:34,874 4216 [INFO ] - VERBOSE: - bin\maintenancesolution\QueueDatabase.sql
2023-09-21 13:01:34,890 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets.xml
2023-09-21 13:01:34,890 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\Long Running Queries.xml
2023-09-21 13:01:34,890 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2005.xml
2023-09-21 13:01:34,905 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2008 and R2.xml
2023-09-21 13:01:34,921 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2012.xml
2023-09-21 13:01:34,921 4216 [INFO ] - VERBOSE: - bin\perfmontemplates\collectorsets\PAL - SQL Server 2014 and Up.xml
2023-09-21 13:01:34,937 4216 [INFO ] - VERBOSE: - bin\randomizer\en.randomizertypes.csv
2023-09-21 13:01:34,937 4216 [INFO ] - VERBOSE: - bin\randomizer\templates\PersonalData.json
2023-09-21 13:01:34,953 4216 [INFO ] - VERBOSE: - bin\XEtemplates\15 Second IO Error.xml
2023-09-21 13:01:34,968 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Activity Detail Tracking.xml
2023-09-21 13:01:34,968 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Activity Tracking.xml
2023-09-21 13:01:34,984 4216 [INFO ] - VERBOSE: - bin\XEtemplates\AlwaysOn Health Enhanced.xml
2023-09-21 13:01:35,000 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Blocked Process Report.xml
2023-09-21 13:01:35,000 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Connection Detail Tracking.xml
2023-09-21 13:01:35,015 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Connection Tracking.xml
2023-09-21 13:01:35,031 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Count Query Locks.xml
2023-09-21 13:01:35,031 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Database File IO.xml
2023-09-21 13:01:35,046 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2012.xml
2023-09-21 13:01:35,046 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2014.xml
2023-09-21 13:01:35,062 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Database Health 2016 and Above.xml
2023-09-21 13:01:35,062 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Deadlock Graphs.xml
2023-09-21 13:01:35,078 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Default Profiler Trace.xml
2023-09-21 13:01:35,094 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Deprecated Feature Usage.xml
2023-09-21 13:01:35,109 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Failing Queries.xml
2023-09-21 13:01:35,109 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Function Executions.xml
2023-09-21 13:01:35,124 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Index Page Splits.xml
2023-09-21 13:01:35,124 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Log File IO Detail Tracking.xml
2023-09-21 13:01:35,140 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Log File IO Tracking.xml
2023-09-21 13:01:35,140 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Login Tracker.xml
2023-09-21 13:01:35,156 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Long Running Queries.xml
2023-09-21 13:01:35,156 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Overly Complex Queries.xml
2023-09-21 13:01:35,172 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler SP Counts.xml
2023-09-21 13:01:35,187 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler Standard.xml
2023-09-21 13:01:35,187 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Duration.xml
2023-09-21 13:01:35,203 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Locks.xml
2023-09-21 13:01:35,203 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL Replay.xml
2023-09-21 13:01:35,219 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL SPs.xml
2023-09-21 13:01:35,219 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler TSQL.xml
2023-09-21 13:01:35,314 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Profiler Tuning.xml
2023-09-21 13:01:35,314 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Queries and Resources.xml
2023-09-21 13:01:35,328 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Detail Sampling.xml
2023-09-21 13:01:35,515 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Sampling.xml
2023-09-21 13:01:35,562 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Batch Tracking.xml
2023-09-21 13:01:35,579 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Detail Sampling.xml
2023-09-21 13:01:35,579 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Detail Tracking.xml
2023-09-21 13:01:35,594 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Timeouts.xml
2023-09-21 13:01:35,609 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Wait Statistics Detail.xml
2023-09-21 13:01:35,609 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Query Wait Statistics.xml
2023-09-21 13:01:35,624 4216 [INFO ] - VERBOSE: - bin\XEtemplates\Stored Procedure Parameters.xml
2023-09-21 13:01:35,624 4216 [INFO ] - VERBOSE: - en-us\about_dbatools.help.txt
2023-09-21 13:01:35,640 4216 [INFO ] - VERBOSE: - en-us\about_dbatools_importoptions.help.txt
2023-09-21 13:01:35,640 4216 [INFO ] - VERBOSE: - en-us\about_dbatools_support.help.txt
2023-09-21 13:01:35,656 4216 [INFO ] - VERBOSE: - en-us\dbatools-Help.xml
2023-09-21 13:01:35,656 4216 [INFO ] - VERBOSE: - en-us\dbatools.dll-help.xml
2023-09-21 13:01:35,672 4216 [INFO ] - VERBOSE: - opt\opt.dat
2023-09-21 13:01:35,687 4216 [INFO ] - VERBOSE: - private\configurations\configuration.dat
2023-09-21 13:01:35,687 4216 [INFO ] - VERBOSE: - private\configurations\settings\settings.dat
2023-09-21 13:01:35,687 4216 [INFO ] - VERBOSE: - private\configurations\validation\validation.dat
2023-09-21 13:01:35,703 4216 [INFO ] - VERBOSE: - private\dynamicparams\dynamicparams.dat
2023-09-21 13:01:35,718 4216 [INFO ] - VERBOSE: - private\maintenance\maintenance.dat
2023-09-21 13:01:35,718 4216 [INFO ] - VERBOSE: - private\scripts\cmdlets.ps1
2023-09-21 13:01:35,734 4216 [INFO ] - VERBOSE: - private\scripts\dbatools-maintenance.ps1
2023-09-21 13:01:35,734 4216 [INFO ] - VERBOSE: - private\scripts\insertTepp.ps1
2023-09-21 13:01:35,749 4216 [INFO ] - VERBOSE: - private\scripts\logfilescript.ps1
2023-09-21 13:01:35,749 4216 [INFO ] - VERBOSE: - private\scripts\message-transforms.ps1
2023-09-21 13:01:35,765 4216 [INFO ] - VERBOSE: - private\scripts\updateTeppAsync.ps1
2023-09-21 13:01:35,765 4216 [INFO ] - VERBOSE: - xml\dbatools.Format.ps1xml
2023-09-21 13:01:35,781 4216 [INFO ] - VERBOSE: - xml\dbatools.Types.ps1xml
2023-09-21 13:01:35,781 4216 [INFO ] - VERBOSE: - cleanup.ps1
2023-09-21 13:01:35,797 4216 [INFO ] - VERBOSE: - dbatools.dat
2023-09-21 13:01:35,797 4216 [INFO ] - VERBOSE: - dbatools.psd1
2023-09-21 13:01:35,812 4216 [INFO ] - VERBOSE: - dbatools.psm1
2023-09-21 13:01:35,812 4216 [INFO ] - VERBOSE: - license
2023-09-21 13:01:35,828 4216 [INFO ] - VERBOSE: Everything is Ok
2023-09-21 13:01:35,828 4216 [INFO ] - VERBOSE:
2023-09-21 13:01:35,843 4216 [INFO ] - VERBOSE: Files: 112
2023-09-21 13:01:35,843 4216 [INFO ] - VERBOSE: Size: 22500670
2023-09-21 13:01:35,859 4216 [INFO ] - VERBOSE: Compressed: 2956546
2023-09-21 13:01:35,938 4216 [DEBUG] - $exitCode was passed null
2023-09-21 13:01:35,953 4216 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0" -y "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip"] exited with '0'.
2023-09-21 13:01:35,953 4216 [DEBUG] - 7z exit code: 0
2023-09-21 13:01:35,969 4216 [INFO ] - C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0
2023-09-21 13:01:36,000 4216 [DEBUG] - ----------------------------------------------------------------------
2023-09-21 13:01:36,015 4216 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:01:36,015 4216 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-09-21 13:01:36,125 4216 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-09-21 13:01:36,297 4216 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
2023-09-21 13:01:36,328 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum '6B1E7A030482FA7904BB31DC16A0DD85'
2023-09-21 13:01:36,328 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum '0F99B673918B3C859C396E7F997B9A2A'
2023-09-21 13:01:36,344 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-09-21 13:01:36,344 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
2023-09-21 13:01:36,359 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
2023-09-21 13:01:36,359 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
2023-09-21 13:01:36,391 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum 'CCF6E4C93DF9F09DECCDDAEDB1B4B182'
2023-09-21 13:01:36,407 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
2023-09-21 13:01:36,407 4216 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
2023-09-21 13:01:36,484 4216 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0".
2023-09-21 13:01:36,547 4216 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0\.files'
2023-09-21 13:01:36,562 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0\.extra".
2023-09-21 13:01:36,562 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0\.version".
2023-09-21 13:01:36,578 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0\.sxs".
2023-09-21 13:01:36,578 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\dbatools.2.1.0\.pin".
2023-09-21 13:01:36,593 4216 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-09-21 13:01:36,610 4216 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\.chocolateyPending".
2023-09-21 13:01:36,610 4216 [INFO ] - The install of dbatools was successful.
2023-09-21 13:01:36,625 4216 [INFO ] - Software installed to 'C:\Program Files\WindowsPowerShell\Modules\dbatools\2.1.0'
2023-09-21 13:01:36,657 4216 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-09-21 13:01:36,671 4216 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-09-21 13:01:36,671 4216 [DEBUG] - Exiting with 0
2023-09-21 13:01:48,094 1832 [DEBUG] - XmlConfiguration is now operational
2023-09-21 13:01:48,235 1832 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,235 1832 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,250 1832 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,250 1832 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,250 1832 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,250 1832 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,266 1832 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,266 1832 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,266 1832 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-09-21 13:01:48,281 1832 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-09-21 13:01:48,281 1832 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-09-21 13:01:49,111 1832 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,111 1832 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,126 1832 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,126 1832 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,126 1832 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,126 1832 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,141 1832 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,141 1832 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,141 1832 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,157 1832 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-09-21 13:01:49,189 1832 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-09-21 13:01:49,189 1832 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-09-21 13:01:49,189 1832 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-09-21 13:01:49,204 1832 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-09-21 13:01:49,204 1832 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-09-21 13:01:49,204 1832 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-09-21 13:01:49,204 1832 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-09-21 13:01:49,219 1832 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-09-21 13:01:49,219 1832 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-09-21 13:01:49,219 1832 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-09-21 13:01:49,234 1832 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-09-21 13:01:49,234 1832 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-09-21 13:01:49,234 1832 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-09-21 13:01:49,234 1832 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-09-21 13:01:49,234 1832 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-09-21 13:01:49,250 1832 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-09-21 13:01:49,250 1832 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-09-21 13:01:49,250 1832 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-09-21 13:01:49,265 1832 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-09-21 13:01:49,265 1832 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-09-21 13:01:49,532 1832 [INFO ] - ============================================================
2023-09-21 13:01:49,907 1832 [INFO ] - Chocolatey v2.2.2
2023-09-21 13:01:49,938 1832 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-09-21 13:01:49,954 1832 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-09-21 13:01:49,954 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-09-21 13:01:49,985 1832 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall dbatools --version 2.1.0 -dvy --execution-timeout=2700
2023-09-21 13:01:49,985 1832 [DEBUG] - Received arguments: uninstall dbatools --version 2.1.0 -dvy --execution-timeout=2700
2023-09-21 13:01:50,142 1832 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-09-21 13:01:50,173 1832 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-09-21 13:01:50,204 1832 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-09-21 13:01:50,422 1832 [DEBUG] - Performing validation checks.
2023-09-21 13:01:50,422 1832 [DEBUG] - Global Configuration Validation Checks:
2023-09-21 13:01:50,437 1832 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-09-21 13:01:50,453 1832 [DEBUG] - System State Validation Checks:
2023-09-21 13:01:50,453 1832 [DEBUG] - Reboot Requirement Checks:
2023-09-21 13:01:50,469 1832 [DEBUG] - - Pending Computer Rename = Checked
2023-09-21 13:01:50,485 1832 [DEBUG] - - Pending Component Based Servicing = Checked
2023-09-21 13:01:50,485 1832 [DEBUG] - - Pending Windows Auto Update = Checked
2023-09-21 13:01:50,500 1832 [DEBUG] - - Pending File Rename Operations = Ignored
2023-09-21 13:01:50,500 1832 [DEBUG] - - Pending Windows Package Installer = Checked
2023-09-21 13:01:50,516 1832 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-09-21 13:01:50,516 1832 [DEBUG] - Cache Folder Lockdown Checks:
2023-09-21 13:01:50,532 1832 [DEBUG] - - Elevated State = Checked
2023-09-21 13:01:50,532 1832 [DEBUG] - - Folder Exists = Checked
2023-09-21 13:01:50,548 1832 [DEBUG] - - Folder lockdown = Checked
2023-09-21 13:01:50,563 1832 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-09-21 13:01:50,610 1832 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-09-21 13:01:50,625 1832 [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-09-21 13:01:50,672 1832 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|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.1.0'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='dbatools'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-HJFT6H6GK7P'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2023-09-21 13:01:50,688 1832 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-09-21 13:01:50,704 1832 [INFO ] - Uninstalling the following packages:
2023-09-21 13:01:50,719 1832 [INFO ] - dbatools
2023-09-21 13:01:50,750 1832 [DEBUG] - Current environment values (may contain sensitive data):
2023-09-21 13:01:50,766 1832 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-09-21 13:01:50,766 1832 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-21 13:01:50,781 1832 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-09-21 13:01:50,781 1832 [DEBUG] - * 'ChocolateyLastPathUpdate'='133397716951337217' ('User')
2023-09-21 13:01:50,797 1832 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-09-21 13:01:50,797 1832 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-09-21 13:01:50,797 1832 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-09-21 13:01:50,812 1832 [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-09-21 13:01:50,812 1832 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-09-21 13:01:50,812 1832 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-09-21 13:01:50,828 1832 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-09-21 13:01:50,828 1832 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-09-21 13:01:50,843 1832 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-09-21 13:01:50,843 1832 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-09-21 13:01:50,843 1832 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-09-21 13:01:50,860 1832 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-09-21 13:01:50,860 1832 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-09-21 13:01:50,875 1832 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-09-21 13:01:50,875 1832 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-09-21 13:01:50,890 1832 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-09-21 13:01:51,127 1832 [DEBUG] - Running list with the following filter = ''
2023-09-21 13:01:51,127 1832 [DEBUG] - --- Start of List ---
2023-09-21 13:01:51,391 1832 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-09-21 13:01:51,969 1832 [DEBUG] - chocolatey 2.2.2
2023-09-21 13:01:51,984 1832 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-21 13:01:52,064 1832 [DEBUG] - dbatools 2.1.0
2023-09-21 13:01:52,078 1832 [DEBUG] - KB2919355 1.0.20160915
2023-09-21 13:01:52,094 1832 [DEBUG] - KB2919442 1.0.20160915
2023-09-21 13:01:52,110 1832 [DEBUG] - KB2999226 1.0.20181019
2023-09-21 13:01:52,125 1832 [DEBUG] - KB3035131 1.0.3
2023-09-21 13:01:52,142 1832 [DEBUG] - KB3118401 1.0.5
2023-09-21 13:01:52,142 1832 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-21 13:01:52,156 1832 [DEBUG] - --- End of List ---
2023-09-21 13:01:52,156 1832 [DEBUG] - Running list with the following filter = ''
2023-09-21 13:01:52,172 1832 [DEBUG] - --- Start of List ---
2023-09-21 13:01:52,220 1832 [DEBUG] - chocolatey 2.2.2
2023-09-21 13:01:52,235 1832 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-21 13:01:52,266 1832 [DEBUG] - dbatools 2.1.0
2023-09-21 13:01:52,281 1832 [DEBUG] - KB2919355 1.0.20160915
2023-09-21 13:01:52,281 1832 [DEBUG] - KB2919442 1.0.20160915
2023-09-21 13:01:52,297 1832 [DEBUG] - KB2999226 1.0.20181019
2023-09-21 13:01:52,313 1832 [DEBUG] - KB3035131 1.0.3
2023-09-21 13:01:52,313 1832 [DEBUG] - KB3118401 1.0.5
2023-09-21 13:01:52,328 1832 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-21 13:01:52,328 1832 [DEBUG] - --- End of List ---
2023-09-21 13:01:52,392 1832 [DEBUG] - Running list with the following filter = ''
2023-09-21 13:01:52,392 1832 [DEBUG] - --- Start of List ---
2023-09-21 13:01:52,422 1832 [DEBUG] - chocolatey 2.2.2
2023-09-21 13:01:52,438 1832 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-09-21 13:01:52,469 1832 [DEBUG] - dbatools 2.1.0
2023-09-21 13:01:52,485 1832 [DEBUG] - KB2919355 1.0.20160915
2023-09-21 13:01:52,500 1832 [DEBUG] - KB2919442 1.0.20160915
2023-09-21 13:01:52,500 1832 [DEBUG] - KB2999226 1.0.20181019
2023-09-21 13:01:52,516 1832 [DEBUG] - KB3035131 1.0.3
2023-09-21 13:01:52,531 1832 [DEBUG] - KB3118401 1.0.5
2023-09-21 13:01:52,548 1832 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-09-21 13:01:52,563 1832 [DEBUG] - --- End of List ---
2023-09-21 13:01:52,625 1832 [INFO ] -
dbatools v2.1.0
2023-09-21 13:01:52,672 1832 [DEBUG] - Running beforeModify step for 'dbatools'
2023-09-21 13:01:52,720 1832 [DEBUG] - Setting installer args for dbatools
2023-09-21 13:01:52,720 1832 [DEBUG] - Setting package parameters for dbatools
2023-09-21 13:01:52,735 1832 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1':
2023-09-21 13:01:52,750 1832 [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-09-21 13:01:52,798 1832 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:01:52,829 1832 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-09-21 13:01:53,501 1832 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-09-21 13:01:53,986 1832 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:01:53,986 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:01:54,000 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:54,000 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:01:54,016 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:54,016 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:54,031 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:01:54,031 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:54,047 1832 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:01:54,047 1832 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:54,063 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:01:54,063 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:54,078 1832 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:01:54,078 1832 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:01:54,094 1832 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:54,094 1832 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:01:54,109 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:01:54,109 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:01:54,125 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:01:54,125 1832 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:01:54,125 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:54,187 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:54,187 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:54,203 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:54,203 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:01:54,219 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:01:54,219 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:54,234 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:54,234 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:54,250 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:54,250 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:54,250 1832 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:01:54,266 1832 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:01:54,266 1832 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:01:54,282 1832 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:54,282 1832 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:01:54,297 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:01:54,297 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:54,312 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:54,312 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:54,328 1832 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:01:54,328 1832 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:54,344 1832 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:01:54,344 1832 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:01:54,360 1832 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:54,360 1832 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:01:54,375 1832 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:01:54,375 1832 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:54,391 1832 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:54,391 1832 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:01:54,406 1832 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:01:54,438 1832 [DEBUG] - Loading community extensions
2023-09-21 13:01:54,469 1832 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-09-21 13:01:54,485 1832 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-09-21 13:01:54,595 1832 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:01:54,595 1832 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:01:54,610 1832 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:01:54,610 1832 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:01:54,626 1832 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:01:54,626 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:01:54,640 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:54,640 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:01:54,656 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:54,656 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:54,672 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:01:54,672 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:54,687 1832 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:01:54,687 1832 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:54,687 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:01:54,703 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:54,703 1832 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:01:54,719 1832 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:01:54,719 1832 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:54,734 1832 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:01:54,734 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:01:54,750 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:01:54,750 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:01:54,766 1832 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:01:54,766 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:54,781 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:54,781 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:54,797 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:54,797 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:01:54,812 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:01:54,812 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:54,828 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:54,828 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:54,844 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:54,844 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:54,859 1832 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:01:54,859 1832 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:01:54,859 1832 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:01:54,876 1832 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:54,876 1832 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:01:54,891 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:01:54,891 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:54,891 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:54,907 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:54,907 1832 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:01:54,922 1832 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:54,922 1832 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:01:54,938 1832 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:01:54,953 1832 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:01:54,953 1832 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:01:54,969 1832 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:54,969 1832 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:01:54,985 1832 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:01:54,985 1832 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:55,000 1832 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:55,000 1832 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:01:55,000 1832 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:01:55,016 1832 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-09-21 13:01:55,031 1832 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-09-21 13:01:55,031 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:55,047 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-09-21 13:01:55,047 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-09-21 13:01:55,047 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-09-21 13:01:55,063 1832 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-09-21 13:01:55,063 1832 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-09-21 13:01:55,078 1832 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-09-21 13:01:55,078 1832 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-09-21 13:01:55,093 1832 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-09-21 13:01:55,093 1832 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:01:55,093 1832 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-09-21 13:01:55,109 1832 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-09-21 13:01:55,109 1832 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-09-21 13:01:55,125 1832 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-09-21 13:01:55,125 1832 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-09-21 13:01:55,140 1832 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-09-21 13:01:55,140 1832 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-09-21 13:01:55,156 1832 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-09-21 13:01:55,156 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:55,172 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:01:55,172 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:01:55,188 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:01:55,188 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-09-21 13:01:55,188 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-09-21 13:01:55,203 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:01:55,203 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:01:55,218 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-09-21 13:01:55,236 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:01:55,236 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-09-21 13:01:55,250 1832 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-09-21 13:01:55,250 1832 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:01:55,250 1832 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-09-21 13:01:55,283 1832 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-09-21 13:01:55,298 1832 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:01:55,298 1832 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-09-21 13:01:55,298 1832 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:01:55,313 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-09-21 13:01:55,313 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:01:55,328 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:01:55,328 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:01:55,343 1832 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-09-21 13:01:55,343 1832 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-09-21 13:01:55,359 1832 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-09-21 13:01:55,359 1832 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-09-21 13:01:55,376 1832 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-09-21 13:01:55,376 1832 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-09-21 13:01:55,390 1832 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-09-21 13:01:55,390 1832 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:01:55,406 1832 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-09-21 13:01:55,406 1832 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-09-21 13:01:55,422 1832 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-09-21 13:01:55,518 1832 [DEBUG] - ---------------------------Script Execution---------------------------
2023-09-21 13:01:55,532 1832 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-09-21 13:01:55,578 1832 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
2023-09-21 13:01:55,641 1832 [DEBUG] - ----------------------------------------------------------------------
2023-09-21 13:01:55,656 1832 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:01:55,672 1832 [DEBUG] - Backing up package files for 'dbatools'
2023-09-21 13:01:55,829 1832 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
2023-09-21 13:01:55,829 1832 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\dbatools to C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0
2023-09-21 13:01:55,845 1832 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dbatools'
to 'C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0'
2023-09-21 13:01:57,875 1832 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools".
2023-09-21 13:01:57,875 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\dbatools.nupkg"
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
2023-09-21 13:01:57,892 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\dbatools.nuspec"
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
2023-09-21 13:01:57,906 1832 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools\tools".
2023-09-21 13:01:57,906 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\.skipAutoUninstaller"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
2023-09-21 13:01:57,922 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
2023-09-21 13:01:57,922 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
2023-09-21 13:01:57,937 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
2023-09-21 13:01:57,937 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\dbatools.zip"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
2023-09-21 13:01:57,953 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
2023-09-21 13:01:57,969 1832 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.0\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
2023-09-21 13:01:59,484 1832 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
2023-09-21 13:01:59,501 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum '6B1E7A030482FA7904BB31DC16A0DD85'
2023-09-21 13:01:59,516 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum '0F99B673918B3C859C396E7F997B9A2A'
2023-09-21 13:01:59,516 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-09-21 13:01:59,531 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
2023-09-21 13:01:59,531 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
2023-09-21 13:01:59,547 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
2023-09-21 13:01:59,563 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum 'CCF6E4C93DF9F09DECCDDAEDB1B4B182'
2023-09-21 13:01:59,563 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
2023-09-21 13:01:59,579 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
2023-09-21 13:01:59,594 1832 [DEBUG] - Setting installer args for dbatools
2023-09-21 13:01:59,611 1832 [DEBUG] - Setting package parameters for dbatools
2023-09-21 13:01:59,611 1832 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1':
2023-09-21 13:01:59,611 1832 [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-09-21 13:01:59,625 1832 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:01:59,751 1832 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-09-21 13:01:59,782 1832 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-09-21 13:01:59,955 1832 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:01:59,970 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:01:59,970 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:01:59,985 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:01:59,985 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:02:00,000 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:02:00,000 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:02:00,000 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:02:00,016 1832 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:02:00,016 1832 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:02:00,031 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:02:00,031 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:02:00,048 1832 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:02:00,048 1832 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:02:00,063 1832 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:02:00,079 1832 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:02:00,095 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:02:00,110 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:02:00,110 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:02:00,124 1832 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:02:00,126 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:00,126 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:02:00,141 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:02:00,141 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:02:00,156 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:02:00,156 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:02:00,172 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:02:00,172 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:02:00,188 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:02:00,188 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:02:00,203 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:02:00,203 1832 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:02:00,219 1832 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:02:00,219 1832 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:02:00,234 1832 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:02:00,234 1832 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:02:00,250 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:02:00,250 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:00,266 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:02:00,266 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:02:00,281 1832 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:02:00,281 1832 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:02:00,297 1832 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:02:00,297 1832 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:02:00,313 1832 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:02:00,313 1832 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:02:00,313 1832 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:02:00,328 1832 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:02:00,328 1832 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:02:00,344 1832 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:02:00,344 1832 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:02:00,360 1832 [DEBUG] - Loading community extensions
2023-09-21 13:02:00,376 1832 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-09-21 13:02:00,376 1832 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-09-21 13:02:00,407 1832 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:02:00,423 1832 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:02:00,438 1832 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:02:00,438 1832 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:02:00,453 1832 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-09-21 13:02:00,453 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-09-21 13:02:00,453 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-09-21 13:02:00,469 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-09-21 13:02:00,469 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-09-21 13:02:00,484 1832 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-09-21 13:02:00,484 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-09-21 13:02:00,500 1832 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-09-21 13:02:00,500 1832 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-09-21 13:02:00,517 1832 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-09-21 13:02:00,517 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-09-21 13:02:00,531 1832 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:02:00,531 1832 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-09-21 13:02:00,547 1832 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-09-21 13:02:00,547 1832 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-09-21 13:02:00,547 1832 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-09-21 13:02:00,563 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-09-21 13:02:00,563 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-09-21 13:02:00,578 1832 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-09-21 13:02:00,578 1832 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-09-21 13:02:00,594 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:00,594 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:02:00,609 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:02:00,609 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:02:00,609 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-09-21 13:02:00,625 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-09-21 13:02:00,625 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:02:00,641 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:02:00,641 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-09-21 13:02:00,656 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:02:00,656 1832 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-09-21 13:02:00,672 1832 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-09-21 13:02:00,672 1832 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-09-21 13:02:00,687 1832 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-09-21 13:02:00,687 1832 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:02:00,703 1832 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-09-21 13:02:00,703 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-09-21 13:02:00,719 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:00,719 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:02:00,735 1832 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:02:00,735 1832 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-09-21 13:02:00,735 1832 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-09-21 13:02:00,750 1832 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-09-21 13:02:00,766 1832 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-09-21 13:02:00,766 1832 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-09-21 13:02:00,766 1832 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-09-21 13:02:00,781 1832 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-09-21 13:02:00,797 1832 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-09-21 13:02:00,797 1832 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-09-21 13:02:00,797 1832 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-09-21 13:02:00,813 1832 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:02:00,813 1832 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-09-21 13:02:00,828 1832 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-09-21 13:02:00,828 1832 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-09-21 13:02:00,844 1832 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-09-21 13:02:00,844 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-09-21 13:02:00,844 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-09-21 13:02:00,860 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-09-21 13:02:00,860 1832 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-09-21 13:02:00,876 1832 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-09-21 13:02:00,876 1832 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-09-21 13:02:00,876 1832 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-09-21 13:02:00,891 1832 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-09-21 13:02:00,891 1832 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-09-21 13:02:00,906 1832 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-09-21 13:02:00,906 1832 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-09-21 13:02:00,922 1832 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-09-21 13:02:00,922 1832 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-09-21 13:02:00,937 1832 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-09-21 13:02:00,937 1832 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-09-21 13:02:00,954 1832 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-09-21 13:02:00,954 1832 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-09-21 13:02:00,969 1832 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-09-21 13:02:00,984 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:00,984 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-09-21 13:02:00,984 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-09-21 13:02:01,000 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-09-21 13:02:01,000 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-09-21 13:02:01,016 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-09-21 13:02:01,016 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-09-21 13:02:01,032 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-09-21 13:02:01,032 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-09-21 13:02:01,047 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-09-21 13:02:01,047 1832 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-09-21 13:02:01,062 1832 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-09-21 13:02:01,062 1832 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-09-21 13:02:01,062 1832 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-09-21 13:02:01,078 1832 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-09-21 13:02:01,078 1832 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-09-21 13:02:01,094 1832 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-09-21 13:02:01,094 1832 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-09-21 13:02:01,109 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-09-21 13:02:01,109 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-09-21 13:02:01,125 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-09-21 13:02:01,125 1832 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-09-21 13:02:01,141 1832 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-09-21 13:02:01,141 1832 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-09-21 13:02:01,156 1832 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-09-21 13:02:01,156 1832 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-09-21 13:02:01,172 1832 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-09-21 13:02:01,172 1832 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-09-21 13:02:01,188 1832 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-09-21 13:02:01,204 1832 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-09-21 13:02:01,204 1832 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-09-21 13:02:01,219 1832 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-09-21 13:02:01,219 1832 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-09-21 13:02:01,235 1832 [DEBUG] - ---------------------------Script Execution---------------------------
2023-09-21 13:02:01,235 1832 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.0 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-09-21 13:02:01,251 1832 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
2023-09-21 13:02:01,282 1832 [INFO ] - VERBOSE: Removing all version of 'dbatools' from 'C:\Program Files\WindowsPowerShell\Modules\dbatools'.
2023-09-21 13:02:01,360 1832 [DEBUG] - ----------------------------------------------------------------------
2023-09-21 13:02:01,360 1832 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & 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-09-21 13:02:01,391 1832 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
2023-09-21 13:02:01,391 1832 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-09-21 13:02:01,501 1832 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-09-21 13:02:01,532 1832 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
2023-09-21 13:02:01,564 1832 [DEBUG] - Ensuring removal of installation files.
2023-09-21 13:02:01,580 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
with checksum '6B1E7A030482FA7904BB31DC16A0DD85'
2023-09-21 13:02:01,580 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
2023-09-21 13:02:01,594 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
with checksum '0F99B673918B3C859C396E7F997B9A2A'
2023-09-21 13:02:01,594 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
2023-09-21 13:02:01,610 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
2023-09-21 13:02:01,610 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
2023-09-21 13:02:01,625 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
with checksum '845A9A5B423974237516935DB045AE53'
2023-09-21 13:02:01,625 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
2023-09-21 13:02:01,641 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
2023-09-21 13:02:01,641 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
2023-09-21 13:02:01,657 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
2023-09-21 13:02:01,657 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
2023-09-21 13:02:01,689 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
with checksum 'CCF6E4C93DF9F09DECCDDAEDB1B4B182'
2023-09-21 13:02:01,689 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
2023-09-21 13:02:01,689 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
2023-09-21 13:02:01,703 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
2023-09-21 13:02:01,703 1832 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
with checksum '4593AD9D86ADF37020118365A942F792'
2023-09-21 13:02:01,719 1832 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
2023-09-21 13:02:01,719 1832 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\dbatools".
2023-09-21 13:02:01,735 1832 [INFO ] - dbatools has been successfully uninstalled.
2023-09-21 13:02:01,735 1832 [DEBUG] - Removing nupkg if it still exists.
2023-09-21 13:02:01,750 1832 [DEBUG] - Ensuring removal of installation files.
2023-09-21 13:02:01,814 1832 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-09-21 13:02:01,814 1832 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-09-21 13:02:01,828 1832 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment