|
2023-10-04 13:01:46,062 1516 [DEBUG] - XmlConfiguration is now operational
|
|
2023-10-04 13:01:46,234 1516 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,250 1516 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,250 1516 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,250 1516 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,250 1516 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,266 1516 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,266 1516 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,281 1516 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,281 1516 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2023-10-04 13:01:46,281 1516 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-04 13:01:46,281 1516 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-10-04 13:01:47,173 1516 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,173 1516 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,173 1516 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,173 1516 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,187 1516 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,187 1516 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,187 1516 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,187 1516 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,204 1516 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,204 1516 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2023-10-04 13:01:47,235 1516 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2023-10-04 13:01:47,235 1516 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-10-04 13:01:47,250 1516 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2023-10-04 13:01:47,250 1516 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-10-04 13:01:47,250 1516 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-10-04 13:01:47,265 1516 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-10-04 13:01:47,265 1516 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-10-04 13:01:47,265 1516 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-10-04 13:01:47,265 1516 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-10-04 13:01:47,281 1516 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-10-04 13:01:47,281 1516 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-10-04 13:01:47,281 1516 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-10-04 13:01:47,281 1516 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-10-04 13:01:47,296 1516 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-10-04 13:01:47,296 1516 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2023-10-04 13:01:47,296 1516 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-10-04 13:01:47,312 1516 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-10-04 13:01:47,312 1516 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2023-10-04 13:01:47,312 1516 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-10-04 13:01:47,312 1516 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-10-04 13:01:47,610 1516 [INFO ] - ============================================================
|
|
2023-10-04 13:01:48,031 1516 [INFO ] - Chocolatey v2.2.2
|
|
2023-10-04 13:01:48,079 1516 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-10-04 13:01:48,079 1516 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-10-04 13:01:48,094 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-10-04 13:01:48,125 1516 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall dbatools --version 2.1.2 -dvy --execution-timeout=2700
|
|
2023-10-04 13:01:48,125 1516 [DEBUG] - Received arguments: uninstall dbatools --version 2.1.2 -dvy --execution-timeout=2700
|
|
2023-10-04 13:01:48,313 1516 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-10-04 13:01:48,344 1516 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-10-04 13:01:48,359 1516 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-10-04 13:01:48,594 1516 [DEBUG] - Performing validation checks.
|
|
2023-10-04 13:01:48,610 1516 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-10-04 13:01:48,610 1516 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-10-04 13:01:48,625 1516 [DEBUG] - System State Validation Checks:
|
|
2023-10-04 13:01:48,640 1516 [DEBUG] - Reboot Requirement Checks:
|
|
2023-10-04 13:01:48,656 1516 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-10-04 13:01:48,656 1516 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-10-04 13:01:48,672 1516 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-10-04 13:01:48,688 1516 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-10-04 13:01:48,688 1516 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-10-04 13:01:48,703 1516 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-10-04 13:01:48,719 1516 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2023-10-04 13:01:48,719 1516 [DEBUG] - - Elevated State = Checked
|
|
2023-10-04 13:01:48,734 1516 [DEBUG] - - Folder Exists = Checked
|
|
2023-10-04 13:01:48,734 1516 [DEBUG] - - Folder lockdown = Checked
|
|
2023-10-04 13:01:48,766 1516 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2023-10-04 13:01:48,813 1516 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-10-04 13:01:48,813 1516 [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-04 13:01:48,859 1516 [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.2'|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-N54E072I2BA'|
|
|
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-04 13:01:48,891 1516 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-10-04 13:01:48,907 1516 [INFO ] - Uninstalling the following packages:
|
|
2023-10-04 13:01:48,907 1516 [INFO ] - dbatools
|
|
2023-10-04 13:01:48,955 1516 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-10-04 13:01:48,955 1516 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-10-04 13:01:48,969 1516 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-04 13:01:48,969 1516 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-10-04 13:01:48,985 1516 [DEBUG] - * 'ChocolateyLastPathUpdate'='133408948891996618' ('User')
|
|
2023-10-04 13:01:48,985 1516 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-10-04 13:01:48,985 1516 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-10-04 13:01:49,000 1516 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-10-04 13:01:49,000 1516 [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-04 13:01:49,015 1516 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-10-04 13:01:49,015 1516 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-10-04 13:01:49,032 1516 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-10-04 13:01:49,032 1516 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-04 13:01:49,032 1516 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-10-04 13:01:49,047 1516 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-10-04 13:01:49,047 1516 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-10-04 13:01:49,062 1516 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-10-04 13:01:49,062 1516 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-10-04 13:01:49,062 1516 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-10-04 13:01:49,079 1516 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-10-04 13:01:49,079 1516 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-10-04 13:01:49,312 1516 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 13:01:49,328 1516 [DEBUG] - --- Start of List ---
|
|
2023-10-04 13:01:49,578 1516 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2023-10-04 13:01:50,126 1516 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 13:01:50,156 1516 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 13:01:50,219 1516 [DEBUG] - dbatools 2.1.2
|
|
2023-10-04 13:01:50,235 1516 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 13:01:50,249 1516 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 13:01:50,265 1516 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 13:01:50,281 1516 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 13:01:50,281 1516 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 13:01:50,297 1516 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 13:01:50,297 1516 [DEBUG] - --- End of List ---
|
|
2023-10-04 13:01:50,312 1516 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 13:01:50,328 1516 [DEBUG] - --- Start of List ---
|
|
2023-10-04 13:01:50,359 1516 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 13:01:50,375 1516 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 13:01:50,422 1516 [DEBUG] - dbatools 2.1.2
|
|
2023-10-04 13:01:50,422 1516 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 13:01:50,437 1516 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 13:01:50,453 1516 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 13:01:50,453 1516 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 13:01:50,468 1516 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 13:01:50,484 1516 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 13:01:50,484 1516 [DEBUG] - --- End of List ---
|
|
2023-10-04 13:01:50,562 1516 [DEBUG] - Running list with the following filter = ''
|
|
2023-10-04 13:01:50,578 1516 [DEBUG] - --- Start of List ---
|
|
2023-10-04 13:01:50,594 1516 [DEBUG] - chocolatey 2.2.2
|
|
2023-10-04 13:01:50,610 1516 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
|
|
2023-10-04 13:01:50,640 1516 [DEBUG] - dbatools 2.1.2
|
|
2023-10-04 13:01:50,656 1516 [DEBUG] - KB2919355 1.0.20160915
|
|
2023-10-04 13:01:50,672 1516 [DEBUG] - KB2919442 1.0.20160915
|
|
2023-10-04 13:01:50,688 1516 [DEBUG] - KB2999226 1.0.20181019
|
|
2023-10-04 13:01:50,688 1516 [DEBUG] - KB3035131 1.0.3
|
|
2023-10-04 13:01:50,703 1516 [DEBUG] - KB3118401 1.0.5
|
|
2023-10-04 13:01:50,735 1516 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
|
|
2023-10-04 13:01:50,735 1516 [DEBUG] - --- End of List ---
|
|
2023-10-04 13:01:50,797 1516 [INFO ] -
|
|
dbatools v2.1.2
|
|
2023-10-04 13:01:50,828 1516 [DEBUG] - Running beforeModify step for 'dbatools'
|
|
2023-10-04 13:01:50,875 1516 [DEBUG] - Setting installer args for dbatools
|
|
2023-10-04 13:01:50,891 1516 [DEBUG] - Setting package parameters for dbatools
|
|
2023-10-04 13:01:50,891 1516 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1':
|
|
2023-10-04 13:01:50,906 1516 [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-04 13:01:50,953 1516 [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-04 13:01:50,969 1516 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-04 13:01:51,687 1516 [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-04 13:01:52,157 1516 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 13:01:52,203 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:52,218 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:52,218 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:52,218 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:52,234 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:52,250 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:52,250 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:52,265 1516 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 13:01:52,265 1516 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:52,281 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:52,281 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:52,297 1516 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:52,297 1516 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:52,312 1516 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:52,312 1516 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:52,328 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 13:01:52,328 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 13:01:52,328 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:52,343 1516 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 13:01:52,343 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:52,359 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:52,375 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:52,375 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:52,391 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:52,391 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:52,406 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:52,406 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:52,422 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:52,422 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:52,437 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:52,437 1516 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 13:01:52,437 1516 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:52,453 1516 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:52,469 1516 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:52,469 1516 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:52,484 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:52,484 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:52,500 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:52,500 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:52,516 1516 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:52,516 1516 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:52,531 1516 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:52,531 1516 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:52,547 1516 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:52,547 1516 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:52,562 1516 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 13:01:52,562 1516 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:52,578 1516 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:52,578 1516 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:52,593 1516 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 13:01:52,626 1516 [DEBUG] - Loading community extensions
|
|
2023-10-04 13:01:52,672 1516 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-04 13:01:52,672 1516 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-04 13:01:52,783 1516 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:52,797 1516 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:52,812 1516 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:52,812 1516 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:52,828 1516 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 13:01:52,828 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:52,843 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:52,843 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:52,859 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:52,859 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:52,875 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:52,875 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:52,891 1516 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 13:01:52,907 1516 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:52,907 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:52,922 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:52,922 1516 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:52,937 1516 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:52,953 1516 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:52,953 1516 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:52,969 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 13:01:52,969 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 13:01:52,985 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:52,985 1516 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 13:01:53,000 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:53,000 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:53,015 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:53,015 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:53,032 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:53,032 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:53,047 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:53,047 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:53,062 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:53,062 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:53,078 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:53,093 1516 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 13:01:53,093 1516 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:53,109 1516 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:53,109 1516 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:53,125 1516 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:53,125 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:53,141 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:53,141 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:53,157 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:53,157 1516 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:53,172 1516 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:53,187 1516 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:53,187 1516 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:53,203 1516 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:53,203 1516 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:53,218 1516 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:53,218 1516 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:53,234 1516 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 13:01:53,234 1516 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:53,250 1516 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:53,250 1516 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:53,250 1516 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 13:01:53,265 1516 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-04 13:01:53,281 1516 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:53,281 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:53,281 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:53,297 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:53,312 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:53,312 1516 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:53,328 1516 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:53,328 1516 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-04 13:01:53,328 1516 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:53,343 1516 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:53,343 1516 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:53,359 1516 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:53,359 1516 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:53,375 1516 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:53,375 1516 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:53,390 1516 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-04 13:01:53,390 1516 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-04 13:01:53,406 1516 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:53,406 1516 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-04 13:01:53,423 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:53,423 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:53,438 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:53,438 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:53,453 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:53,468 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:53,468 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:53,468 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:53,484 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:53,484 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:53,500 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:53,515 1516 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-04 13:01:53,515 1516 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:53,515 1516 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:53,564 1516 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:53,564 1516 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:53,578 1516 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:53,578 1516 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:53,593 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:53,593 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:53,593 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:53,609 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:53,609 1516 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:53,625 1516 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:53,641 1516 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-04 13:01:53,641 1516 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:53,656 1516 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:53,656 1516 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:53,672 1516 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:53,672 1516 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:53,687 1516 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-04 13:01:53,687 1516 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:53,703 1516 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:53,797 1516 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-04 13:01:53,828 1516 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.2 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-04 13:01:53,875 1516 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
2023-10-04 13:01:53,937 1516 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-04 13:01:53,954 1516 [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-04 13:01:53,969 1516 [DEBUG] - Backing up package files for 'dbatools'
|
|
2023-10-04 13:01:54,142 1516 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
|
|
2023-10-04 13:01:54,142 1516 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\dbatools to C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2
|
|
2023-10-04 13:01:54,156 1516 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2'
|
|
2023-10-04 13:01:56,187 1516 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools".
|
|
2023-10-04 13:01:56,187 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\dbatools.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
|
|
2023-10-04 13:01:56,203 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\dbatools.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
|
|
2023-10-04 13:01:56,218 1516 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools\tools".
|
|
2023-10-04 13:01:56,218 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\.skipAutoUninstaller"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
|
|
2023-10-04 13:01:56,234 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\chocolateyBeforeModify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
|
|
2023-10-04 13:01:56,234 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\chocolateyInstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
|
|
2023-10-04 13:01:56,249 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\chocolateyUninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
|
|
2023-10-04 13:01:56,249 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\dbatools.zip"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
|
|
2023-10-04 13:01:56,265 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
|
|
2023-10-04 13:01:56,281 1516 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\2.1.2\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
|
|
2023-10-04 13:01:57,796 1516 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
2023-10-04 13:01:57,828 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
|
|
with checksum '1D69747A02C26DA55EDF55D4AC1D740A'
|
|
2023-10-04 13:01:57,828 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
|
|
with checksum '149C4B39C7440BAEDF71232416B237B6'
|
|
2023-10-04 13:01:57,844 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-10-04 13:01:57,844 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '845A9A5B423974237516935DB045AE53'
|
|
2023-10-04 13:01:57,860 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
|
|
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
|
|
2023-10-04 13:01:57,860 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
|
|
2023-10-04 13:01:57,874 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
|
|
with checksum '46D7D80AEF2C90924420BBAA7AB4FC92'
|
|
2023-10-04 13:01:57,891 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
|
|
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
|
|
2023-10-04 13:01:57,891 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
|
|
with checksum '4593AD9D86ADF37020118365A942F792'
|
|
2023-10-04 13:01:57,937 1516 [DEBUG] - Setting installer args for dbatools
|
|
2023-10-04 13:01:57,937 1516 [DEBUG] - Setting package parameters for dbatools
|
|
2023-10-04 13:01:57,937 1516 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1':
|
|
2023-10-04 13:01:57,953 1516 [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-04 13:01:57,953 1516 [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-04 13:01:58,016 1516 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-10-04 13:01:58,110 1516 [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-04 13:01:58,267 1516 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 13:01:58,283 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:58,283 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:58,297 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:58,313 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:58,313 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:58,313 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:58,328 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:58,343 1516 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 13:01:58,343 1516 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:58,359 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:58,359 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:58,375 1516 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:58,375 1516 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:58,390 1516 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:58,390 1516 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:58,406 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 13:01:58,406 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 13:01:58,421 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:58,421 1516 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 13:01:58,437 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:58,437 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:58,453 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:58,453 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:58,469 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:58,469 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:58,484 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:58,484 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:58,500 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:58,500 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:58,516 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:58,516 1516 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 13:01:58,531 1516 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:58,531 1516 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:58,547 1516 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:58,547 1516 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:58,562 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:58,562 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:58,578 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:58,578 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:58,594 1516 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:58,609 1516 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:58,609 1516 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:58,625 1516 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:58,625 1516 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:58,640 1516 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:58,640 1516 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 13:01:58,640 1516 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:58,656 1516 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:58,656 1516 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:58,671 1516 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 13:01:58,688 1516 [DEBUG] - Loading community extensions
|
|
2023-10-04 13:01:58,688 1516 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-10-04 13:01:58,703 1516 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-10-04 13:01:58,735 1516 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:58,735 1516 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:58,751 1516 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:58,765 1516 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:58,765 1516 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-10-04 13:01:58,781 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:58,781 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:58,797 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:58,812 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:58,812 1516 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:58,828 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:58,828 1516 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:58,844 1516 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-10-04 13:01:58,844 1516 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:58,860 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:58,876 1516 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:58,876 1516 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:58,890 1516 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:58,890 1516 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:58,906 1516 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:58,906 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-10-04 13:01:58,921 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-10-04 13:01:58,921 1516 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:58,937 1516 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-10-04 13:01:58,937 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:58,953 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:58,953 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:58,968 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:58,984 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:58,985 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:58,985 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:59,000 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:59,000 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:59,016 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:59,016 1516 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:59,031 1516 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-10-04 13:01:59,031 1516 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:59,046 1516 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:59,046 1516 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:59,062 1516 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:59,062 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:59,078 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:59,078 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:59,093 1516 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:59,093 1516 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:59,093 1516 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:59,109 1516 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:59,109 1516 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:59,125 1516 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:59,125 1516 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:59,140 1516 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:59,140 1516 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:59,140 1516 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-10-04 13:01:59,156 1516 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:59,171 1516 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:59,171 1516 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:59,187 1516 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-10-04 13:01:59,187 1516 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-10-04 13:01:59,204 1516 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-10-04 13:01:59,219 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2023-10-04 13:01:59,219 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-10-04 13:01:59,234 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-10-04 13:01:59,234 1516 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-10-04 13:01:59,250 1516 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-10-04 13:01:59,250 1516 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-10-04 13:01:59,266 1516 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-10-04 13:01:59,266 1516 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-10-04 13:01:59,281 1516 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-10-04 13:01:59,281 1516 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-10-04 13:01:59,297 1516 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-10-04 13:01:59,313 1516 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-10-04 13:01:59,313 1516 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-10-04 13:01:59,329 1516 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-10-04 13:01:59,329 1516 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-10-04 13:01:59,344 1516 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-10-04 13:01:59,344 1516 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-10-04 13:01:59,359 1516 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-10-04 13:01:59,359 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:59,375 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-10-04 13:01:59,375 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-10-04 13:01:59,390 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-10-04 13:01:59,390 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-10-04 13:01:59,406 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-10-04 13:01:59,406 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-10-04 13:01:59,406 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-10-04 13:01:59,422 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-10-04 13:01:59,422 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-10-04 13:01:59,438 1516 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:59,438 1516 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-10-04 13:01:59,453 1516 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-10-04 13:01:59,469 1516 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-10-04 13:01:59,469 1516 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-10-04 13:01:59,485 1516 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-10-04 13:01:59,485 1516 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-10-04 13:01:59,500 1516 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-10-04 13:01:59,500 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-10-04 13:01:59,516 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-10-04 13:01:59,516 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-10-04 13:01:59,531 1516 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-10-04 13:01:59,531 1516 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-10-04 13:01:59,531 1516 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-10-04 13:01:59,547 1516 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-10-04 13:01:59,547 1516 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-10-04 13:01:59,563 1516 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-10-04 13:01:59,563 1516 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-10-04 13:01:59,579 1516 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-10-04 13:01:59,579 1516 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-10-04 13:01:59,594 1516 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-10-04 13:01:59,594 1516 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-10-04 13:01:59,609 1516 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-10-04 13:01:59,625 1516 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-10-04 13:01:59,625 1516 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.1.2 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-10-04 13:01:59,656 1516 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
2023-10-04 13:01:59,672 1516 [INFO ] - VERBOSE: Removing all version of 'dbatools' from 'C:\Program Files\WindowsPowerShell\Modules\dbatools'.
|
|
2023-10-04 13:01:59,766 1516 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-10-04 13:01:59,766 1516 [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-04 13:01:59,797 1516 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
|
|
2023-10-04 13:01:59,813 1516 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-10-04 13:01:59,937 1516 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-10-04 13:01:59,953 1516 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
|
|
2023-10-04 13:01:59,985 1516 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-04 13:02:00,001 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
|
|
with checksum '1D69747A02C26DA55EDF55D4AC1D740A'
|
|
2023-10-04 13:02:00,015 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
|
|
2023-10-04 13:02:00,015 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
|
|
with checksum '149C4B39C7440BAEDF71232416B237B6'
|
|
2023-10-04 13:02:00,031 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
|
|
2023-10-04 13:02:00,031 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-10-04 13:02:00,047 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
|
|
2023-10-04 13:02:00,047 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '845A9A5B423974237516935DB045AE53'
|
|
2023-10-04 13:02:00,047 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
|
|
2023-10-04 13:02:00,062 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
|
|
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
|
|
2023-10-04 13:02:00,078 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
|
|
2023-10-04 13:02:00,078 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
|
|
2023-10-04 13:02:00,094 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
|
|
2023-10-04 13:02:00,110 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
|
|
with checksum '46D7D80AEF2C90924420BBAA7AB4FC92'
|
|
2023-10-04 13:02:00,110 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
|
|
2023-10-04 13:02:00,126 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
|
|
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
|
|
2023-10-04 13:02:00,126 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
|
|
2023-10-04 13:02:00,141 1516 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
|
|
with checksum '4593AD9D86ADF37020118365A942F792'
|
|
2023-10-04 13:02:00,141 1516 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
|
|
2023-10-04 13:02:00,156 1516 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\dbatools".
|
|
2023-10-04 13:02:00,156 1516 [INFO ] - dbatools has been successfully uninstalled.
|
|
2023-10-04 13:02:00,172 1516 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-10-04 13:02:00,188 1516 [DEBUG] - Ensuring removal of installation files.
|
|
2023-10-04 13:02:00,235 1516 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-10-04 13:02:00,250 1516 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-10-04 13:02:00,250 1516 [DEBUG] - Exiting with 0
|