Skip to content

Remove-DbaDatabaseSafely and Remove-DbaDatabase: added "Name" as an alias for "Database" #9698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

ReeceGoding
Copy link
Contributor

@ReeceGoding ReeceGoding commented Jul 5, 2025

Type of Change

  • Bug fix (non-breaking change, fixes # )
  • New feature (non-breaking change, adds functionality, fixes Remove-DbaDatabase and New-DbaDatabase should have consistent parameter names #9697 )
  • Breaking change (affects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (Invoke-ManualPester)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
  • Unit test is included
  • Documentation
  • Build system

Purpose

Closes #9697. I'm unsure if I should add tests for this. I don't get the impression that we usually test aliases.

Approach

Two lines of code in the GitHub GUI.

Commands to test

Remove-DbaDatabaseSafely and Remove-DbaDatabase.

I couldn't actually test Remove-DbaDatabaseSafely. It can't seem to find SQL Agent on my Docker container, even though I'm sure that other commands could.

Screenshots

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove-DbaDatabase and New-DbaDatabase should have consistent parameter names
1 participant