I'm trying to use the dbatools functions New-DbaDbUser
and Add-DbaDbRoleMember
to avoid creating my own version, but struggle to get the confirmation pop up window skipped/suppressed.
I have tried several combinations of -Force
and -Confirm
and so on, but nothing seems to be working!