Skip to content

Commit

Permalink
Merge pull request #101 from ctrlbold/bug-syncloginsoutput
Browse files Browse the repository at this point in the history
Server role not displaying in sync output
  • Loading branch information
dansqldba committed Aug 8, 2016
2 parents fe42d06 + e1403ac commit c5e92a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/Sync-SqlLoginPermissions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ https://dbatools.io/Sync-SqlLoginPermissions
try
{
$destrole.DropMember($username)
Write-Output "Removed $username from $destrolename server role on $($destserver.name)."
Write-Output "Removed $username from $rolename server role on $($destserver.name)."
}
catch
{
Write-Warning "Failed to remove $username from $destrolename server role on $($destserver.name)."
Write-Warning "Failed to remove $username from $rolename server role on $($destserver.name)."
Write-Exception $_
}
}
Expand Down

0 comments on commit c5e92a3

Please sign in to comment.