Skip to content

Commit

Permalink
Update New-DbaAgentJobCategory.ps1 (#5042)
Browse files Browse the repository at this point in the history
changed $instance to $server to fix authentication issue
  • Loading branch information
tkwj authored and potatoqualitee committed Feb 4, 2019
1 parent db40de1 commit 3667bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/New-DbaAgentJobCategory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function New-DbaAgentJobCategory {
} # end else category exists

# Return the job category
Get-DbaAgentJobCategory -SqlInstance $instance -Category $cat
Get-DbaAgentJobCategory -SqlInstance $server -Category $cat

} # for each category

Expand Down

0 comments on commit 3667bf3

Please sign in to comment.