-
-
Notifications
You must be signed in to change notification settings - Fork 848
Open
Description
When you run the command (Get-DbaDbOrphanUser) on an SQL instance with multiple contained databases, you get the result that the users are orphaned, but these are contained databases. Can you exclude this database by containedtype?
Example: $ncondb = Get-DbaDatabase -SqlInstance XXXXXXXX | Where-Object {$_.Containmenttype -eq 'partial'} |SELECT Name
Get-DbaDbOrphanUser -SqlInstance XXXXXXXX -ExcludeDatabase $ncondb
Metadata
Metadata
Assignees
Labels
No labels