Skip to content

Commit 8abb18d

Browse files
authored
Set-DbaLogin, report correct name for -WhatIf (#9582)
1 parent a99229c commit 8abb18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/Set-DbaLogin.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function Set-DbaLogin {
251251

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

257257
# Create the notes

0 commit comments

Comments
 (0)