< Back

Get-SQLAgentJobStatus

Sat Jan 18, 2020 4:50 pm

NAME Get-SQLAgentJobStatus



SYNOPSIS

A simple cmdlet to retrieve SQL Agent Job logs





SYNTAX

Get-SQLAgentJobStatus [-ServerInstance] <String> [-ShowDisabledJobs] [-ShowOnlyFailed] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-ServerInstance <String>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ShowDisabledJobs [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ShowOnlyFailed [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

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