Add manual instance autocomplete list (Add/Get/Remove-DbaInstanceList)#10300
Merged
potatoqualitee merged 2 commits intodevelopmentfrom Apr 4, 2026
Merged
Add manual instance autocomplete list (Add/Get/Remove-DbaInstanceList)#10300potatoqualitee merged 2 commits intodevelopmentfrom
potatoqualitee merged 2 commits intodevelopmentfrom
Conversation
…d manual instance autocomplete list Adds three new commands for managing a user-maintained list of SQL Server instance names that are pre-loaded into the dbatools TEPP (tab expansion++) cache for the -SqlInstance parameter. This allows users to have frequently used instances available for autocomplete in their PowerShell terminal without needing to connect to them first. Also supports loading instances from the $env:DBATOOLS_KNOWN_INSTANCES environment variable (comma-separated) for easy profile-based setup. Closes #8918 (do *InstanceList*) Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
Member
|
haha thank you, i love all the PRs! |
potatoqualitee
added a commit
that referenced
this pull request
Apr 10, 2026
…#10300) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8918
Adds three new commands for managing a user-maintained list of SQL Server instance names pre-loaded into the TEPP cache for
-SqlInstanceautocomplete:Add-DbaInstanceList- add instances to the autocomplete listGet-DbaInstanceList- view the current listRemove-DbaInstanceList- remove instances from the listInstances are stored via the dbatools config system and can be persisted with
-Register. Also supports$env:DBATOOLS_KNOWN_INSTANCES(comma-separated) for profile-based setup.Generated with Claude Code