[Export-DbaDbRole] Check for existence of roles #7269
Unanswered
seanwhitepc
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if "ideas" is not the right category for this.
Currently,
Export-DbaDbRoledoes not check for the existence of a role before creating it (IF NOT EXISTS...). Similar commands, likeExport-DbaUserandExport-DbaLogin, do check for existence ahead of time. It would be nice to haveExport-DbaDbRolehave consistency with the other commands.If I find some time, I can work on that, but I'm positive other members of the community can do it faster and more cleanly than I can.
Beta Was this translation helpful? Give feedback.
All reactions