Thor Logo dbatools

Module

Measure-DbatoolsImport

Chrissy LeMaire (@cl), netnerds.net

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.

Read more

New-DbatoolsSupportPackage

Friedrich Weinmann (@FredWeinmann)

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.

Read more

Register-DbatoolsConfig

Chrissy LeMaire (@cl), netnerds.net

Register-DbatoolsConfig View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS Synopsis Registers an existing configuration object in registry. Description Registers an existing configuration object in registry. This allows simple persisting of settings across powershell consoles. It also can be used to generate a registry template, which can then be used to create policies. Syntax Register-DbatoolsConfig [-Config <Config[]>] [-FullName <String[]>] [-Scope {UserDefault | UserMandatory | SystemDefault | SystemMandatory | FileUserLocal | FileUserShared | FileSystem}] [-EnableException] [<CommonParameters>] Register-DbatoolsConfig [-Module] <String> [[-Name] <String>] [-Scope {UserDefault | UserMandatory | SystemDefault | SystemMandatory | FileUserLocal | FileUserShared | FileSystem}] [-EnableException] [<CommonParameters>] Examples Example: 1 PS C:\> Get-DbatoolsConfig message.

Read more

Reset-DbatoolsConfig

Friedrich Weinmann (@FredWeinmann)

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.

Read more

Unregister-DbatoolsConfig

Friedrich Weinmann (@FredWeinmann)

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.

Read more

Update-Dbatools

Shawn Melton (@wsmelton), wsmelton.github.io

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.

Read more
← Previous
1 2
Next →
Page 2 of 2