From 03bee09f545256b61ad748a0e6f0f504aec16c93 Mon Sep 17 00:00:00 2001 From: "FOUNDATIONSOFT\\mpetrak" Date: Tue, 15 Jan 2019 16:58:04 -0500 Subject: [PATCH] Fixed "Succesful" typo --- functions/Set-DbaAgentJobOwner.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/Set-DbaAgentJobOwner.ps1 b/functions/Set-DbaAgentJobOwner.ps1 index 30df42dd5699..11a4b59db827 100644 --- a/functions/Set-DbaAgentJobOwner.ps1 +++ b/functions/Set-DbaAgentJobOwner.ps1 @@ -152,7 +152,7 @@ function Set-DbaAgentJobOwner { #Set job owner to $TargetLogin (default 'sa') $agentJob.OwnerLoginName = $newLogin $agentJob.Alter() - $status = 'Succesful' + $status = 'Successful' $notes = '' } catch { Stop-Function -Message "Issue setting job owner on $jobName." -Target $jobName -InnerErrorRecord $_ -Category InvalidOperation