Skip to content

Copy-DbaCredential wildcards with parameters #10044

@jessejrh

Description

@jessejrh

When attempting to use Copy-DbaCredential with the Identity or Name parameters, no matching credentials are found when using wildcards. According to https://dbatools.io/Copy-DbaCredential/, wildcard pattern matches are supported for these parameters. No errors are returned but no matching credentials are found.

Examples:
Copy-DbaCredential -Source sql2016 -Destination sql2022 -Identity "Domain\svc*"
Copy-DbaCredential -Source sql2016 -Destination sql2022 -Identity "Domain\svc"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions