< Back

Get-SQLLogs

Sat Jan 18, 2020 4:50 pm

NAME Get-SQLLogs



SYNOPSIS

A simple cmdlet to retrieve SQL Agent Job logs





SYNTAX

Get-SQLLogs [-ServerInstance] <String> [[-DaysBack] <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



<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





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Optimize-SQLIndex; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Optimize-SQLIndex [-ServerInstance] <string> [-Database] <string> [<CommonParameters>]



ModuleName : MSSQLManagementPowerShell

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Optimize-SQLIndex

Category : Function

Component :

Role :

Functionality :