|
2023-06-09 14:01:55,163 5836 [DEBUG] - XmlConfiguration is now operational
|
|
2023-06-09 14:01:55,305 5836 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-09 14:01:55,305 5836 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-09 14:01:55,320 5836 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-06-09 14:01:55,335 5836 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-06-09 14:01:55,586 5836 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-06-09 14:01:55,600 5836 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-06-09 14:01:55,616 5836 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-06-09 14:01:55,632 5836 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-06-09 14:01:55,647 5836 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-06-09 14:01:55,929 5836 [INFO ] - ============================================================
|
|
2023-06-09 14:01:56,273 5836 [INFO ] - Chocolatey v1.3.0
|
|
2023-06-09 14:01:56,288 5836 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-06-09 14:01:56,305 5836 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-06-09 14:01:56,305 5836 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-06-09 14:01:56,335 5836 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall dbatools --version 2.0.4 -dvy --execution-timeout=2700
|
|
2023-06-09 14:01:56,335 5836 [DEBUG] - Received arguments: uninstall dbatools --version 2.0.4 -dvy --execution-timeout=2700
|
|
2023-06-09 14:01:56,491 5836 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-06-09 14:01:56,524 5836 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-06-09 14:01:56,554 5836 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-06-09 14:01:56,711 5836 [DEBUG] - Performing validation checks.
|
|
2023-06-09 14:01:56,726 5836 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-06-09 14:01:56,726 5836 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-06-09 14:01:56,742 5836 [DEBUG] - System State Validation Checks:
|
|
2023-06-09 14:01:56,757 5836 [DEBUG] - Reboot Requirement Checks:
|
|
2023-06-09 14:01:56,773 5836 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-06-09 14:01:56,773 5836 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-06-09 14:01:56,789 5836 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-06-09 14:01:56,804 5836 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-06-09 14:01:56,820 5836 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-06-09 14:01:56,867 5836 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-06-09 14:01:56,882 5836 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2023-06-09 14:01:56,929 5836 [DEBUG] - Configuration: CommandName='uninstall'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='False'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='dbatools'|
|
|
Version='2.0.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
|
|
SkipHookScripts='False'|PackageNames='dbatools'|Prerelease='False'|
|
|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
AllowMultipleVersions='False'|AllowDowngrade='False'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='1.3.0.0'|
|
|
Information.ChocolateyProductVersion='1.3.0'|
|
|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-L1MEJU7G50M'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
|
|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
|
|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
|
|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
|
|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
|
|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-06-09 14:01:56,944 5836 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
|
|
2023-06-09 14:01:56,976 5836 [INFO ] - Uninstalling the following packages:
|
|
2023-06-09 14:01:56,976 5836 [INFO ] - dbatools
|
|
2023-06-09 14:01:56,992 5836 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-06-09 14:01:57,009 5836 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-06-09 14:01:57,009 5836 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'ChocolateyLastPathUpdate'='133307860840504879' ('User')
|
|
2023-06-09 14:01:57,023 5836 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-06-09 14:01:57,038 5836 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-06-09 14:01:57,038 5836 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-06-09 14:01:57,053 5836 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-09 14:01:57,069 5836 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-06-09 14:01:57,085 5836 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-06-09 14:01:57,085 5836 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-06-09 14:01:57,100 5836 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-06-09 14:01:57,116 5836 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-06-09 14:01:57,116 5836 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-06-09 14:01:57,257 5836 [DEBUG] - Running list with the following filter = ''
|
|
2023-06-09 14:01:57,257 5836 [DEBUG] - --- Start of List ---
|
|
2023-06-09 14:01:57,600 5836 [DEBUG] - dbatools 2.0.4
|
|
2023-06-09 14:01:57,600 5836 [DEBUG] - --- End of List ---
|
|
2023-06-09 14:01:57,743 5836 [DEBUG] - Setting installer args for dbatools
|
|
2023-06-09 14:01:57,757 5836 [DEBUG] - Setting package parameters for dbatools
|
|
2023-06-09 14:01:57,757 5836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1':
|
|
2023-06-09 14:01:57,773 5836 [DEBUG] - $ErrorActionPreference = 'Stop'
|
|
|
|
$moduleName = 'dbatools' # this could be different from package name
|
|
|
|
$module = Get-Module -Name $moduleName
|
|
if ($module) {
|
|
Write-Verbose "Module '$moduleName' is imported into the session. Removing it."
|
|
Remove-Module -Name $moduleName -Force -ErrorAction SilentlyContinue
|
|
|
|
if ($lib = [appdomain]::CurrentDomain.GetAssemblies() | Where-Object FullName -like "dbatools, *") {
|
|
Write-Verbose "Found locked DLL files for module '$moduleName'."
|
|
$moduleDir = Split-Path $module.Path -Parent
|
|
if ($lib.Location -like "$moduleDir\*") {
|
|
Write-Warning @"
|
|
We have detected dbatools to be already imported from '$moduleDir' and the dll files have been locked and cannot be updated.
|
|
Please close all consoles that have dbatools imported (Remove-Module dbatools is NOT enough).
|
|
"@
|
|
throw
|
|
}
|
|
}
|
|
}
|
|
2023-06-09 14:01:57,913 5836 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-06-09 14:01:57,929 5836 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-06-09 14:01:58,585 5836 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-06-09 14:01:59,039 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-09 14:01:59,054 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-09 14:01:59,054 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:01:59,069 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:01:59,085 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:01:59,085 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-09 14:01:59,101 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:01:59,101 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-09 14:01:59,116 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:01:59,116 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-09 14:01:59,132 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-09 14:01:59,147 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:01:59,147 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:01:59,163 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-09 14:01:59,163 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-09 14:01:59,179 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-09 14:01:59,179 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-09 14:01:59,195 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:01:59,195 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:01:59,211 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:01:59,225 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:01:59,225 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:01:59,241 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:01:59,241 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:01:59,257 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:01:59,257 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:01:59,272 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:01:59,288 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:01:59,320 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:01:59,335 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-09 14:01:59,335 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:01:59,351 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:01:59,367 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:01:59,367 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:01:59,382 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-09 14:01:59,398 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:01:59,398 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-09 14:01:59,414 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-09 14:01:59,414 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:01:59,429 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:01:59,429 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-09 14:01:59,444 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-09 14:01:59,492 5836 [DEBUG] - Loading community extensions
|
|
2023-06-09 14:01:59,524 5836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-06-09 14:01:59,524 5836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-06-09 14:01:59,649 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:01:59,649 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:01:59,664 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:01:59,664 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:01:59,679 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-09 14:01:59,679 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-09 14:01:59,695 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:01:59,695 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:01:59,710 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:01:59,710 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:01:59,725 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:01:59,742 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-09 14:01:59,742 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:01:59,758 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-09 14:01:59,758 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-09 14:01:59,773 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:01:59,788 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:01:59,788 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-09 14:01:59,804 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-09 14:01:59,819 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:01:59,835 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:01:59,835 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:01:59,851 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:01:59,851 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:01:59,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:01:59,882 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:01:59,882 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:01:59,898 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:01:59,898 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-09 14:01:59,913 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:01:59,913 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:01:59,929 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-09 14:01:59,945 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:01:59,960 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:01:59,960 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:01:59,976 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:01:59,976 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:01:59,992 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:01:59,992 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:00,007 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:02:00,007 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-09 14:02:00,023 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:02:00,023 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-09 14:02:00,038 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-09 14:02:00,038 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:02:00,054 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:02:00,054 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-09 14:02:00,069 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-09 14:02:00,069 5836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-06-09 14:02:00,085 5836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-06-09 14:02:00,085 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:02:00,100 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:02:00,100 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:02:00,116 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-06-09 14:02:00,132 5836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:02:00,148 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-06-09 14:02:00,148 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:02:00,163 5836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-06-09 14:02:00,163 5836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-06-09 14:02:00,195 5836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:02:00,210 5836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:02:00,210 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-06-09 14:02:00,226 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-06-09 14:02:00,226 5836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-06-09 14:02:00,241 5836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-06-09 14:02:00,241 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:02:00,257 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:02:00,273 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:02:00,273 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:02:00,288 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:02:00,304 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:02:00,304 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:00,321 5836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-06-09 14:02:00,321 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:02:00,335 5836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:02:00,352 5836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:02:00,367 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:00,367 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:02:00,382 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:00,398 5836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:02:00,398 5836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:02:00,414 5836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-06-09 14:02:00,414 5836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-06-09 14:02:00,429 5836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:02:00,429 5836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-06-09 14:02:00,444 5836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:02:00,444 5836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-06-09 14:02:00,460 5836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:02:00,571 5836 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-06-09 14:02:00,586 5836 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.0.4 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-06-09 14:02:00,648 5836 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
2023-06-09 14:02:00,742 5836 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-06-09 14:02:00,757 5836 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-06-09 14:02:00,913 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
|
|
2023-06-09 14:02:00,913 5836 [DEBUG] - Backing up existing dbatools prior to operation.
|
|
2023-06-09 14:02:00,929 5836 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
to 'C:\ProgramData\chocolatey\lib-bkp\dbatools'
|
|
2023-06-09 14:02:02,960 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools".
|
|
2023-06-09 14:02:02,960 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\dbatools.nupkg"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg".
|
|
2023-06-09 14:02:02,978 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\dbatools.nuspec"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec".
|
|
2023-06-09 14:02:02,978 5836 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\dbatools\tools".
|
|
2023-06-09 14:02:02,991 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\.skipAutoUninstaller"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller".
|
|
2023-06-09 14:02:02,991 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyBeforeModify.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1".
|
|
2023-06-09 14:02:03,007 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyInstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1".
|
|
2023-06-09 14:02:03,007 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\chocolateyUninstall.ps1"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1".
|
|
2023-06-09 14:02:03,023 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\dbatools.zip"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip".
|
|
2023-06-09 14:02:03,039 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\LICENSE.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt".
|
|
2023-06-09 14:02:03,039 5836 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\dbatools\tools\VERIFICATION.txt"
|
|
to "C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt".
|
|
2023-06-09 14:02:04,569 5836 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\dbatools'
|
|
2023-06-09 14:02:04,587 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nupkg'
|
|
with checksum '8BFEE919E33A98286EB64B1C7C516197'
|
|
2023-06-09 14:02:04,602 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\dbatools.nuspec'
|
|
with checksum 'B1A902AD6FA08E98F3A0B30FB4FE6FA1'
|
|
2023-06-09 14:02:04,602 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\.skipAutoUninstaller'
|
|
with checksum 'D41D8CD98F00B204E9800998ECF8427E'
|
|
2023-06-09 14:02:04,616 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '845A9A5B423974237516935DB045AE53'
|
|
2023-06-09 14:02:04,616 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyInstall.ps1'
|
|
with checksum 'F6C88873CDE865FD49D4C6BE5A055FBA'
|
|
2023-06-09 14:02:04,632 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
with checksum '9BCAC5D82FDF18708291BD3481146DB2'
|
|
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\dbatools.zip'
|
|
with checksum '7B36A90D2E2B9022F697A287530AE95B'
|
|
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\LICENSE.txt'
|
|
with checksum '89F8DA03163AFF4745114A0ED927B8B6'
|
|
2023-06-09 14:02:04,649 5836 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\dbatools\tools\VERIFICATION.txt'
|
|
with checksum '4593AD9D86ADF37020118365A942F792'
|
|
2023-06-09 14:02:05,039 5836 [INFO ] - [NuGet] Uninstalling 'dbatools 2.0.4'.
|
|
2023-06-09 14:02:05,054 5836 [INFO ] -
|
|
dbatools v2.0.4
|
|
2023-06-09 14:02:05,103 5836 [DEBUG] - Setting installer args for dbatools
|
|
2023-06-09 14:02:05,148 5836 [DEBUG] - Setting package parameters for dbatools
|
|
2023-06-09 14:02:05,148 5836 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1':
|
|
2023-06-09 14:02:05,148 5836 [DEBUG] - $ErrorActionPreference = 'Stop'
|
|
|
|
$moduleName = 'dbatools'
|
|
$sourcePath = Join-Path -Path $env:ProgramFiles -ChildPath "WindowsPowerShell\Modules\$moduleName"
|
|
|
|
Write-Verbose "Removing all version of '$moduleName' from '$sourcePath'."
|
|
Remove-Item -Path $sourcePath -Recurse -Force -ErrorAction SilentlyContinue
|
|
|
|
if ($PSVersionTable.PSVersion.Major -lt 4) {
|
|
$modulePaths = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine') -split ';'
|
|
|
|
Write-Verbose "Removing '$sourcePath' from PSModulePath."
|
|
$newModulePath = $modulePaths | Where-Object { $_ -ne $sourcePath }
|
|
|
|
[Environment]::SetEnvironmentVariable('PSModulePath', $newModulePath, 'Machine')
|
|
$env:PSModulePath = $newModulePath
|
|
}
|
|
2023-06-09 14:02:05,163 5836 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-06-09 14:02:05,258 5836 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-06-09 14:02:05,290 5836 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-06-09 14:02:05,461 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:02:05,476 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:02:05,492 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:02:05,492 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:02:05,508 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:02:05,508 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-09 14:02:05,523 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:02:05,538 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-09 14:02:05,538 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:02:05,554 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-09 14:02:05,570 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-09 14:02:05,570 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-09 14:02:05,586 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-09 14:02:05,586 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:05,601 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:02:05,616 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:02:05,632 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:02:05,632 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:02:05,648 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:02:05,648 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:05,663 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-09 14:02:05,679 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:02:05,679 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:02:05,694 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:02:05,694 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:05,710 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:02:05,726 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:02:05,742 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:02:05,757 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-09 14:02:05,757 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-09 14:02:05,773 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:02:05,788 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:02:05,788 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-09 14:02:05,804 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-09 14:02:05,804 5836 [DEBUG] - Loading community extensions
|
|
2023-06-09 14:02:05,820 5836 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-06-09 14:02:05,820 5836 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-06-09 14:02:05,867 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:02:05,882 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:05,882 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:02:05,898 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:05,898 5836 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-06-09 14:02:05,914 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-06-09 14:02:05,914 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:02:05,929 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:02:05,944 5836 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:02:05,944 5836 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-06-09 14:02:05,960 5836 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:02:05,960 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-06-09 14:02:05,976 5836 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:02:05,976 5836 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:02:05,991 5836 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:02:06,007 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-06-09 14:02:06,007 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-06-09 14:02:06,023 5836 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-06-09 14:02:06,023 5836 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:02:06,039 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:02:06,054 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:02:06,054 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:02:06,070 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:02:06,070 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:02:06,085 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:02:06,101 5836 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:06,101 5836 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:02:06,117 5836 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:02:06,132 5836 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:02:06,132 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-06-09 14:02:06,148 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:06,148 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:02:06,163 5836 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:02:06,179 5836 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:02:06,194 5836 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:06,194 5836 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:02:06,210 5836 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-06-09 14:02:06,210 5836 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-06-09 14:02:06,226 5836 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:02:06,242 5836 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:02:06,242 5836 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-06-09 14:02:06,257 5836 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-06-09 14:02:06,257 5836 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-06-09 14:02:06,273 5836 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-06-09 14:02:06,273 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-06-09 14:02:06,289 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-06-09 14:02:06,304 5836 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-06-09 14:02:06,320 5836 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-06-09 14:02:06,335 5836 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-06-09 14:02:06,351 5836 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-06-09 14:02:06,351 5836 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-06-09 14:02:06,366 5836 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-06-09 14:02:06,366 5836 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-06-09 14:02:06,382 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-06-09 14:02:06,382 5836 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-06-09 14:02:06,398 5836 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-06-09 14:02:06,398 5836 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-06-09 14:02:06,414 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:06,414 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-06-09 14:02:06,429 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-06-09 14:02:06,429 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-06-09 14:02:06,445 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-06-09 14:02:06,445 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-06-09 14:02:06,460 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-06-09 14:02:06,460 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-06-09 14:02:06,476 5836 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:06,492 5836 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-06-09 14:02:06,492 5836 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-06-09 14:02:06,508 5836 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-06-09 14:02:06,508 5836 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-06-09 14:02:06,523 5836 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-06-09 14:02:06,523 5836 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-06-09 14:02:06,538 5836 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-06-09 14:02:06,538 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-06-09 14:02:06,554 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-06-09 14:02:06,554 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-06-09 14:02:06,569 5836 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-06-09 14:02:06,569 5836 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-06-09 14:02:06,585 5836 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-06-09 14:02:06,585 5836 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-06-09 14:02:06,601 5836 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-06-09 14:02:06,601 5836 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-06-09 14:02:06,617 5836 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-06-09 14:02:06,617 5836 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-06-09 14:02:06,648 5836 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-06-09 14:02:06,648 5836 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-06-09 14:02:06,663 5836 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-06-09 14:02:06,663 5836 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-06-09 14:02:06,679 5836 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-06-09 14:02:06,679 5836 [DEBUG] - Running 'ChocolateyScriptRunner' for dbatools v2.0.4 with packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\dbatools', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-06-09 14:02:06,694 5836 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1'
|
|
2023-06-09 14:02:06,726 5836 [INFO ] - VERBOSE: Removing all version of 'dbatools' from 'C:\Program Files\WindowsPowerShell\Modules\dbatools'.
|
|
2023-06-09 14:02:06,789 5836 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-06-09 14:02:06,804 5836 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\dbatools\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-06-09 14:02:06,820 5836 [INFO ] - Skipping auto uninstaller - Package contains a skip file ('.skipAutoUninstall').
|
|
2023-06-09 14:02:06,835 5836 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-06-09 14:02:06,929 5836 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-06-09 14:02:06,946 5836 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\dbatools".
|
|
2023-06-09 14:02:07,007 5836 [DEBUG] - [NuGet] Removed file '.skipAutoUninstaller' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,007 5836 [DEBUG] - [NuGet] Removed file 'chocolateyBeforeModify.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,023 5836 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,023 5836 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,054 5836 [DEBUG] - [NuGet] Removed file 'dbatools.zip' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,054 5836 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,070 5836 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,070 5836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\dbatools\tools'.
|
|
2023-06-09 14:02:07,085 5836 [DEBUG] - [NuGet] Removed file 'dbatools.nuspec' to folder 'C:\ProgramData\chocolatey\lib\dbatools'.
|
|
2023-06-09 14:02:07,085 5836 [DEBUG] - [NuGet] Removed file 'dbatools.nupkg' to folder 'C:\ProgramData\chocolatey\lib\dbatools'.
|
|
2023-06-09 14:02:07,101 5836 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\dbatools'.
|
|
2023-06-09 14:02:07,101 5836 [INFO ] - [NuGet] Successfully uninstalled 'dbatools 2.0.4'.
|
|
2023-06-09 14:02:07,134 5836 [INFO ] - dbatools has been successfully uninstalled.
|
|
2023-06-09 14:02:07,134 5836 [DEBUG] - Removing nupkg if it still exists.
|
|
2023-06-09 14:02:07,148 5836 [DEBUG] - Ensuring removal of installation files.
|
|
2023-06-09 14:02:07,164 5836 [DEBUG] - Ensuring removal of package cache files.
|
|
2023-06-09 14:02:07,210 5836 [WARN ] -
|
|
Chocolatey uninstalled 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-06-09 14:02:07,210 5836 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-06-09 14:02:07,257 5836 [DEBUG] - Exiting with 0
|