< Back
Get-SQLAgentJobLogs
Post
NAME Get-SQLAgentJobLogs
SYNOPSIS
A simple cmdlet to retrieve SQL Agent Job logs
SYNTAX
Get-SQLAgentJobLogs [-ServerInstance] <String> [[-DaysBack] <Int32>] [[-ErrorLevel] <Int32>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ServerInstance <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DaysBack <Int32>
Required? false
Position? 2
Default value 1
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ErrorLevel <Int32>
Required? false
Position? 2
Default value 3
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
A simple cmdlet to retrieve SQL Agent Job logs
SYNTAX
Get-SQLAgentJobLogs [-ServerInstance] <String> [[-DaysBack] <Int32>] [[-ErrorLevel] <Int32>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ServerInstance <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-DaysBack <Int32>
Required? false
Position? 2
Default value 1
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ErrorLevel <Int32>
Required? false
Position? 2
Default value 3
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS