Skip to content

Show if CDC is enabled in Get-DbaDatabase #9669

Open
@ReeceGoding

Description

@ReeceGoding

Summarize Functionality

I recently used Get-DbaDatabase | Select * and was surprised to see absolutely nothing about CDC. I could write the sys.databases query to find if CDC is enabled, but I was surprised to not see it in what I first tried. Dbatools seems to have no native way to check the status of CDC.

As discussed a while ago.

Is there a command that is similiar or close to what you are looking for?

Yes

Technical Details

Just add another field to Get-DbaDatabase, not necessarily in the default view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuretriage requiredNew issue that has not been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions