Skip to content

Commit cd68f2a

Browse files
authored
Set-DbaAgentJobOutputFile: also report the current output file name
Closes dataplat#9645
1 parent 0ffddd2 commit cd68f2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

public/Set-DbaAgentJobOutputFile.ps1

+3-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ function Set-DbaAgentJobOutputFile {
139139
SqlInstance = $server.DomainInstanceName
140140
Job = $currentJob.Name
141141
JobStep = $jobStep.Name
142-
OutputFileName = $currentOutputFile
142+
OldOutputFileName = $currentOutputFile
143+
NewOutputFileName = $OutputFile
143144
}
144145
}
145146
} catch {
@@ -148,4 +149,4 @@ function Set-DbaAgentJobOutputFile {
148149
}
149150
}
150151
}
151-
}
152+
}

0 commit comments

Comments
 (0)