[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-DbaDbRole
does not check for the existence of a role before creating it (IF NOT EXISTS...
). Similar commands, likeExport-DbaUser
andExport-DbaLogin
, do check for existence ahead of time. It would be nice to haveExport-DbaDbRole
have 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