Skip to content

Commit

Permalink
Set-DbaLogin, report correct name for -WhatIf
Browse files Browse the repository at this point in the history
  • Loading branch information
niphlod committed Feb 10, 2025
1 parent 55f5166 commit 9f2d305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/Set-DbaLogin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function Set-DbaLogin {

# Loop through all the logins
foreach ($l in $InputObject) {
if ($Pscmdlet.ShouldProcess($l, "Setting Changes to Login on $($server.name)")) {
if ($Pscmdlet.ShouldProcess($l, "Setting Changes to Login on $($l.Parent.Name)")) {
$server = $l.Parent

# Create the notes
Expand Down

0 comments on commit 9f2d305

Please sign in to comment.