We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ece3b commit 2028753Copy full SHA for 2028753
Get-SQLAgentJobOutPutFile.ps1
@@ -44,7 +44,7 @@ param
44
$AttributeCollection.Add($ParameterAttribute)
45
46
# Generate and set the ValidateSet
47
- $arrSet = (Get-SQLAgentJob -ServerInstance $Server).Name
+ $arrSet = (Get-SQLAgentJob -ServerInstance $Instance).Name
48
$ValidateSetAttribute = New-Object -TypeName System.Management.Automation.ValidateSetAttribute -ArgumentList ($arrSet)
49
50
# Add the ValidateSet to the attributes collection
0 commit comments