|
2023-10-11 02:52:43,900 3040 [DEBUG] - XmlConfiguration is now operational
|
|
2023-10-11 02:52:44,087 3040 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,087 3040 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,102 3040 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,102 3040 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,102 3040 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,102 3040 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,118 3040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,118 3040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,118 3040 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-11 02:52:44,118 3040 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-11 02:52:44,134 3040 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-11 02:52:45,070 3040 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,070 3040 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,085 3040 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,085 3040 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,085 3040 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,100 3040 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,100 3040 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,100 3040 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,116 3040 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,116 3040 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-11 02:52:45,163 3040 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-10-11 02:52:45,163 3040 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-10-11 02:52:45,163 3040 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-10-11 02:52:45,178 3040 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-10-11 02:52:45,178 3040 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-10-11 02:52:45,178 3040 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-10-11 02:52:45,195 3040 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-10-11 02:52:45,195 3040 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-10-11 02:52:45,209 3040 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-10-11 02:52:45,209 3040 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-10-11 02:52:45,209 3040 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-10-11 02:52:45,209 3040 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-10-11 02:52:45,225 3040 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-10-11 02:52:45,225 3040 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-10-11 02:52:45,225 3040 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-10-11 02:52:45,241 3040 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-10-11 02:52:45,241 3040 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-10-11 02:52:45,241 3040 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-10-11 02:52:45,241 3040 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-10-11 02:52:45,256 3040 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-10-11 02:52:45,553 3040 [INFO ] - ============================================================
|
|
2023-10-11 02:52:45,975 3040 [INFO ] - Chocolatey v2.2.2
|
|
2023-10-11 02:52:46,005 3040 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-10-11 02:52:46,020 3040 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-10-11 02:52:46,020 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-10-11 02:52:46,052 3040 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall dbatools --version 2.1.3 -dvy --execution-timeout=2700
|
|
2023-10-11 02:52:46,067 3040 [DEBUG] - Received arguments: uninstall dbatools --version 2.1.3 -dvy --execution-timeout=2700
|
|
2023-10-11 02:52:46,255 3040 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-10-11 02:52:46,286 3040 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-10-11 02:52:46,301 3040 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-10-11 02:52:46,536 3040 [DEBUG] - Performing validation checks.
|
|
2023-10-11 02:52:46,551 3040 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-10-11 02:52:46,551 3040 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-10-11 02:52:46,583 3040 [DEBUG] - System State Validation Checks:
|
|
2023-10-11 02:52:46,583 3040 [DEBUG] - Reboot Requirement Checks:
|
|
2023-10-11 02:52:46,598 3040 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-10-11 02:52:46,598 3040 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-10-11 02:52:46,614 3040 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-10-11 02:52:46,629 3040 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-10-11 02:52:46,629 3040 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-10-11 02:52:46,645 3040 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-10-11 02:52:46,660 3040 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-10-11 02:52:46,676 3040 [DEBUG] - - Elevated State = Checked
|
|
2023-10-11 02:52:46,676 3040 [DEBUG] - - Folder Exists = Checked
|
|
2023-10-11 02:52:46,692 3040 [DEBUG] - - Folder lockdown = Checked
|
|
2023-10-11 02:52:46,707 3040 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-10-11 02:52:46,754 3040 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-10-11 02:52:46,769 3040 [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-10-11 02:52:46,816 3040 [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.3'|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-SEC5TBS1N06'|
|
|
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-10-11 02:52:46,832 3040 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-10-11 02:52:46,863 3040 [INFO ] - Uninstalling the following packages:
|
|
2023-10-11 02:52:46,863 3040 [INFO ] - dbatools
|
|
2023-10-11 02:52:46,927 3040 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-10-11 02:52:46,941 3040 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-10-11 02:52:46,941 3040 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-11 02:52:46,941 3040 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-11 02:52:46,957 3040 [DEBUG] - * 'ChocolateyLastPathUpdate'='133414151086462288' ('User')
|
|
2023-10-11 02:52:46,972 3040 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-10-11 02:52:46,972 3040 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-10-11 02:52:46,988 3040 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-10-11 02:52:46,988 3040 [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-10-11 02:52:47,004 3040 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-10-11 02:52:47,004 3040 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-10-11 02:52:47,019 3040 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-10-11 02:52:47,019 3040 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-11 02:52:47,036 3040 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-11 02:52:47,036 3040 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-10-11 02:52:47,051 3040 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-10-11 02:52:47,051 3040 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-10-11 02:52:47,066 3040 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-10-11 02:52:47,066 3040 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-10-11 02:52:47,081 3040 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-10-11 02:52:47,097 3040 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-10-11 02:52:47,331 3040 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-11 02:52:47,331 3040 [DEBUG] - --- Start of List ---
|
|
2023-10-11 02:52:47,612 3040 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-10-11 02:52:48,158 3040 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-11 02:52:48,173 3040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-11 02:52:48,251 3040 [DEBUG] - dbatools 2.1.3
|
|
2023-10-11 02:52:48,267 3040 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-11 02:52:48,283 3040 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-11 02:52:48,298 3040 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-11 02:52:48,315 3040 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-11 02:52:48,329 3040 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-11 02:52:48,329 3040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-11 02:52:48,345 3040 [DEBUG] - --- End of List ---
|
|
2023-10-11 02:52:48,361 3040 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-11 02:52:48,361 3040 [DEBUG] - --- Start of List ---
|
|
2023-10-11 02:52:48,408 3040 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-11 02:52:48,408 3040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-11 02:52:48,454 3040 [DEBUG] - dbatools 2.1.3
|
|
2023-10-11 02:52:48,454 3040 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-11 02:52:48,470 3040 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-11 02:52:48,485 3040 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-11 02:52:48,485 3040 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-11 02:52:48,501 3040 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-11 02:52:48,517 3040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-11 02:52:48,517 3040 [DEBUG] - --- End of List ---
|
|
2023-10-11 02:52:48,595 3040 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-11 02:52:48,595 3040 [DEBUG] - --- Start of List ---
|
|
2023-10-11 02:52:48,626 3040 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-11 02:52:48,642 3040 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-11 02:52:48,672 3040 [DEBUG] - dbatools 2.1.3
|
|
2023-10-11 02:52:48,689 3040 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-11 02:52:48,704 3040 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-11 02:52:48,720 3040 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-11 02:52:48,720 3040 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-11 02:52:48,735 3040 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-11 02:52:48,767 3040 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-11 02:52:48,782 3040 [DEBUG] - --- End of List ---
|
|
2023-10-11 02:52:48,830 3040 [INFO ] -
|
|
dbatools v2.1.3
|
|
2023-10-11 02:52:48,860 3040 [DEBUG] - Running beforeModify step for 'dbatools'
|
|
2023-10-11 02:52:48,923 3040 [DEBUG] - Setting installer args for dbatools
|
|
2023-10-11 02:52:48,923 3040 [DEBUG] - Setting package parameters for dbatools
|
|
2023-10-11 02:52:48,938 3040 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1':
|
|
2023-10-11 02:52:48,954 3040 [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-10-11 02:52:49,000 3040 [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-10-11 02:52:49,016 3040 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-11 02:52:49,719 3040 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-10-11 02:52:50,218 3040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-11 02:52:50,249 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:50,264 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:50,264 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:50,280 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:50,280 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:50,295 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:50,295 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:50,311 3040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-11 02:52:50,326 3040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:50,326 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:50,342 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:50,342 3040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:50,358 3040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:50,358 3040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:50,373 3040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:50,373 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-11 02:52:50,389 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-11 02:52:50,404 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:50,404 3040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-11 02:52:50,420 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:50,420 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:50,436 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:50,436 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:50,452 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:50,452 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:50,467 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:50,467 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:50,482 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:50,482 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:50,499 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:50,499 3040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-11 02:52:50,514 3040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:50,529 3040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:50,529 3040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:50,545 3040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:50,545 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:50,561 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:50,561 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:50,576 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:50,576 3040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:50,592 3040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:50,608 3040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:50,608 3040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:50,624 3040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:50,639 3040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:50,639 3040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-11 02:52:50,654 3040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:50,670 3040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:50,670 3040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:50,686 3040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-11 02:52:50,718 3040 [DEBUG] - Loading community extensions
|
|
2023-10-11 02:52:50,764 3040 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-11 02:52:50,826 3040 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-11 02:52:50,951 3040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:50,951 3040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:50,967 3040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:50,982 3040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:50,998 3040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-11 02:52:50,998 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:51,013 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:51,029 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:51,029 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:51,045 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:51,060 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:51,060 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:51,075 3040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-11 02:52:51,091 3040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:51,091 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:51,106 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:51,106 3040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:51,122 3040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:51,122 3040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:51,138 3040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:51,153 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-11 02:52:51,153 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-11 02:52:51,170 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:51,170 3040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-11 02:52:51,185 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:51,200 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:51,200 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:51,216 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:51,216 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:51,231 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:51,231 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:51,247 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:51,263 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:51,263 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:51,263 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:51,278 3040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-11 02:52:51,294 3040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:51,294 3040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:51,310 3040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:51,310 3040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:51,325 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:51,341 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:51,357 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:51,357 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:51,372 3040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:51,372 3040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:51,388 3040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:51,403 3040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:51,403 3040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:51,419 3040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:51,435 3040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:51,435 3040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:51,450 3040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-11 02:52:51,450 3040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:51,466 3040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:51,482 3040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:51,482 3040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-11 02:52:51,497 3040 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-11 02:52:51,497 3040 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:51,512 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:51,528 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:51,528 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:51,544 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:51,559 3040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:51,559 3040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:51,575 3040 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-11 02:52:51,591 3040 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:51,606 3040 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:51,606 3040 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:51,621 3040 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:51,621 3040 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:51,638 3040 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:51,653 3040 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:51,653 3040 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-11 02:52:51,669 3040 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-11 02:52:51,669 3040 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:51,684 3040 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-11 02:52:51,700 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:51,700 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:51,716 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:51,716 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:51,732 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:51,746 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:51,746 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:51,762 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:51,762 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:51,778 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:51,778 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:51,810 3040 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-11 02:52:51,825 3040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:51,825 3040 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:51,840 3040 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:51,840 3040 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:51,855 3040 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:51,855 3040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:51,871 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:51,871 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:51,887 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:51,902 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:51,902 3040 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:51,918 3040 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:51,918 3040 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-11 02:52:51,950 3040 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:51,964 3040 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:51,964 3040 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:51,964 3040 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:51,981 3040 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:51,996 3040 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-11 02:52:51,996 3040 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:52,012 3040 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:52,122 3040 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-11 02:52:52,137 3040 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.3 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-11 02:52:52,199 3040 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
2023-10-11 02:52:52,278 3040 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-11 02:52:52,293 3040 [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-10-11 02:52:52,293 3040 [DEBUG] - Backing up package files for 'dbatools'
|
|
2023-10-11 02:52:52,480 3040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
|
|
2023-10-11 02:52:52,496 3040 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\dbatools to C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3
|
|
2023-10-11 02:52:52,512 3040 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3'
|
|
2023-10-11 02:52:54,524 3040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools".
|
|
2023-10-11 02:52:54,524 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\dbatools.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
|
|
2023-10-11 02:52:54,541 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\dbatools.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
|
|
2023-10-11 02:52:54,556 3040 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools\tools".
|
|
2023-10-11 02:52:54,556 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\.skipAutoUninstaller"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
|
|
2023-10-11 02:52:54,572 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\chocolateyBeforeModify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
|
|
2023-10-11 02:52:54,587 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\chocolateyInstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
|
|
2023-10-11 02:52:54,603 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\chocolateyUninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
|
|
2023-10-11 02:52:54,603 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\dbatools.zip"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
|
|
2023-10-11 02:52:54,640 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
|
|
2023-10-11 02:52:54,651 3040 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.3\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
|
|
2023-10-11 02:52:56,179 3040 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
2023-10-11 02:52:56,213 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
|
|
with checksum 'E1B167FBB7B7CDA5849CFDEC9B45BBBC'
|
|
2023-10-11 02:52:56,213 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
|
|
with checksum 'F5123403B34C2040925310BBCCC1C6B4'
|
|
2023-10-11 02:52:56,226 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-10-11 02:52:56,241 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '845A9A5B423974237516935DB045AE53'
|
|
2023-10-11 02:52:56,241 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
|
|
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
|
|
2023-10-11 02:52:56,257 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
|
|
2023-10-11 02:52:56,274 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
|
|
with checksum '76DA4F25E71A1F6A5B9A8613BCCED263'
|
|
2023-10-11 02:52:56,274 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
|
|
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
|
|
2023-10-11 02:52:56,288 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
|
|
with checksum '4593AD9D86ADF37020118365A942F792'
|
|
2023-10-11 02:52:56,321 3040 [DEBUG] - Setting installer args for dbatools
|
|
2023-10-11 02:52:56,321 3040 [DEBUG] - Setting package parameters for dbatools
|
|
2023-10-11 02:52:56,336 3040 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1':
|
|
2023-10-11 02:52:56,336 3040 [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-10-11 02:52:56,351 3040 [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-10-11 02:52:56,413 3040 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-11 02:52:56,507 3040 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-10-11 02:52:56,680 3040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-11 02:52:56,680 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:56,695 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:56,695 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:56,710 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:56,710 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:56,725 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:56,725 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:56,741 3040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-11 02:52:56,741 3040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:56,757 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:56,757 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:56,772 3040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:56,788 3040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:56,788 3040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:56,804 3040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:56,804 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-11 02:52:56,819 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-11 02:52:56,819 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:56,835 3040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-11 02:52:56,835 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:56,850 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:56,866 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:56,866 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:56,882 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:56,882 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:56,897 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:56,897 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:56,913 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:56,928 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:56,928 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:56,944 3040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-11 02:52:56,960 3040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:56,960 3040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:56,960 3040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:56,975 3040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:56,991 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:56,991 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:57,006 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:57,006 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:57,022 3040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:57,022 3040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:57,038 3040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:57,038 3040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:57,054 3040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:57,069 3040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:57,069 3040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-11 02:52:57,085 3040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:57,085 3040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:57,100 3040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:57,100 3040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-11 02:52:57,116 3040 [DEBUG] - Loading community extensions
|
|
2023-10-11 02:52:57,132 3040 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-11 02:52:57,132 3040 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-11 02:52:57,195 3040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:57,195 3040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:57,210 3040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:57,210 3040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:57,225 3040 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-11 02:52:57,241 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:57,241 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:57,256 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:57,256 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:57,272 3040 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:57,288 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:57,303 3040 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:57,303 3040 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-11 02:52:57,319 3040 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:57,319 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:57,337 3040 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:57,350 3040 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:57,350 3040 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:57,366 3040 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:57,366 3040 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:57,381 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-11 02:52:57,397 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-11 02:52:57,397 3040 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:57,397 3040 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-11 02:52:57,412 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:57,428 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:57,428 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:57,443 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:57,460 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:57,475 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:57,475 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:57,491 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:57,491 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:57,506 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:57,506 3040 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:57,522 3040 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-11 02:52:57,522 3040 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:57,538 3040 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:57,538 3040 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:57,553 3040 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:57,553 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:57,569 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:57,569 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:57,584 3040 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:57,584 3040 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:57,600 3040 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:57,600 3040 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:57,616 3040 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:57,616 3040 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:57,631 3040 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:57,646 3040 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:57,646 3040 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:57,662 3040 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-11 02:52:57,662 3040 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:57,678 3040 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:57,678 3040 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:57,694 3040 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-11 02:52:57,694 3040 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-11 02:52:57,709 3040 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-11 02:52:57,709 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-11 02:52:57,725 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-11 02:52:57,725 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-11 02:52:57,740 3040 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-11 02:52:57,756 3040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-11 02:52:57,756 3040 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-11 02:52:57,771 3040 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-11 02:52:57,771 3040 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-11 02:52:57,787 3040 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-11 02:52:57,803 3040 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-11 02:52:57,803 3040 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-11 02:52:57,819 3040 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-11 02:52:57,834 3040 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-11 02:52:57,834 3040 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-11 02:52:57,850 3040 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-11 02:52:57,865 3040 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-11 02:52:57,881 3040 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-11 02:52:57,881 3040 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-11 02:52:57,896 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:57,912 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-11 02:52:57,912 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-11 02:52:57,927 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-11 02:52:57,927 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-11 02:52:57,943 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-11 02:52:57,959 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-11 02:52:57,959 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-11 02:52:57,975 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-11 02:52:57,975 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-11 02:52:57,990 3040 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:57,990 3040 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-11 02:52:58,005 3040 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-11 02:52:58,021 3040 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-11 02:52:58,021 3040 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-11 02:52:58,021 3040 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-11 02:52:58,037 3040 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-11 02:52:58,052 3040 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-11 02:52:58,052 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-11 02:52:58,052 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-11 02:52:58,068 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-11 02:52:58,084 3040 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-11 02:52:58,084 3040 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-11 02:52:58,100 3040 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-11 02:52:58,100 3040 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-11 02:52:58,115 3040 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-11 02:52:58,115 3040 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-11 02:52:58,131 3040 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-11 02:52:58,131 3040 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-11 02:52:58,146 3040 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-11 02:52:58,146 3040 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-11 02:52:58,162 3040 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-11 02:52:58,162 3040 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-11 02:52:58,194 3040 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-11 02:52:58,194 3040 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.3 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-11 02:52:58,209 3040 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
2023-10-11 02:52:58,241 3040 [INFO ] - VERBOSE: Removing all version of 'dbatools' from 'C:\Program Files\WindowsPowerShell\Modules\dbatools'.
|
|
2023-10-11 02:52:58,318 3040 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-11 02:52:58,334 3040 [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-10-11 02:52:58,349 3040 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
|
|
2023-10-11 02:52:58,365 3040 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-10-11 02:52:58,505 3040 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-10-11 02:52:58,538 3040 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
|
|
2023-10-11 02:52:58,570 3040 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-11 02:52:58,584 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
|
|
with checksum 'E1B167FBB7B7CDA5849CFDEC9B45BBBC'
|
|
2023-10-11 02:52:58,614 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
|
|
2023-10-11 02:52:58,614 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
|
|
with checksum 'F5123403B34C2040925310BBCCC1C6B4'
|
|
2023-10-11 02:52:58,631 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
|
|
2023-10-11 02:52:58,646 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-10-11 02:52:58,646 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
|
|
2023-10-11 02:52:58,662 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '845A9A5B423974237516935DB045AE53'
|
|
2023-10-11 02:52:58,677 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
|
|
2023-10-11 02:52:58,677 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
|
|
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
|
|
2023-10-11 02:52:58,693 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
|
|
2023-10-11 02:52:58,693 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
|
|
2023-10-11 02:52:58,709 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
|
|
2023-10-11 02:52:58,724 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
|
|
with checksum '76DA4F25E71A1F6A5B9A8613BCCED263'
|
|
2023-10-11 02:52:58,740 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
|
|
2023-10-11 02:52:58,740 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
|
|
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
|
|
2023-10-11 02:52:58,755 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
|
|
2023-10-11 02:52:58,771 3040 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
|
|
with checksum '4593AD9D86ADF37020118365A942F792'
|
|
2023-10-11 02:52:58,771 3040 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
|
|
2023-10-11 02:52:58,771 3040 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\dbatools".
|
|
2023-10-11 02:52:58,786 3040 [INFO ] - dbatools has been successfully uninstalled.
|
|
2023-10-11 02:52:58,802 3040 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-10-11 02:52:58,802 3040 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-11 02:52:58,864 3040 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-10-11 02:52:58,864 3040 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-10-11 02:52:58,880 3040 [DEBUG] - Exiting with 0
|