Measure-DbatoolsImport View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS Synopsis Measures and displays detailed timing metrics for dbatools module import operations
Description Returns performance data collected during the dbatools module import process, showing the duration of each import step. This function helps troubleshoot slow module loading times by identifying which components take the longest to initialize. The timing data includes loading the dbatools library, type aliases, internal commands, external commands, and other initialization steps.
New-DbatoolsSupportPackage View Source Friedrich Weinmann (@FredWeinmann) Windows, Linux, macOS Synopsis Creates a comprehensive diagnostic package for troubleshooting dbatools module issues and bugs.
Description This function creates an extensive diagnostic package specifically designed to help the dbatools team troubleshoot module-related issues, bugs, or unexpected behavior. When you encounter problems with dbatools commands or need to submit a bug report, this package provides all the environmental and runtime information needed for effective debugging.
Reset-DbatoolsConfig View Source Friedrich Weinmann (@FredWeinmann) Windows, Linux, macOS Synopsis Resets dbatools module configuration settings back to their default values.
Description Restores dbatools configuration settings to their original default values, useful when troubleshooting connectivity issues, fixing misconfigured connection strings, or starting fresh after environment changes. This is particularly helpful when dbatools settings have been customized for specific environments and you need to restore the baseline behavior.
The function can reset individual configuration items, all settings within a specific module, or all dbatools configuration settings at once.
Unregister-DbatoolsConfig View Source Friedrich Weinmann (@FredWeinmann) Windows, Linux, macOS Synopsis Removes persisted dbatools configuration settings from registry and configuration files.
Description Removes dbatools configuration settings that have been persisted to Windows registry or JSON configuration files. This lets you clean up module settings that were previously saved using Register-DbatoolsConfig, removing them from user profiles or system-wide storage locations.
The function handles settings stored in multiple persistence scopes including user-specific registry entries, computer-wide registry settings, and JSON configuration files in various user and system directories.
Update-Dbatools View Source Shawn Melton (@wsmelton), wsmelton.github.io Windows, Linux, macOS Synopsis Updates the dbatools PowerShell module to the latest version
Description Updates the dbatools module by removing the current installation and replacing it with the latest version from PowerShell Gallery or GitHub. This function has been deprecated in favor of PowerShell’s native Install-Module and Update-Module commands which provide better dependency management and version control.
Syntax Update-Dbatools [-Development] [-Cleanup] [-EnableException] [-WhatIf] [-Confirm] [<CommonParameters>] Examples Example: 1 PS C:\> Update-Dbatools Updates dbatools.