.PARAMETER EnableException
By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.
This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting.
Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch.

Exports all SSRS jobs from SQL instance sqlserver2014a to a file.
#>[CmdletBinding()]param([parameter(Position=0,Mandatory,ValueFromPipeline)][Alias("ServerInstance","SqlServer")][DbaInstanceParameter[]]$SqlInstance,[PSCredential]$SqlCredential,[string[]]$Job,[string[]]$ExcludeJob,[string[]]$Database,[string[]]$Category,[switch]$ExcludeDisabledJobs,[switch]$EnableException)

Select-DefaultView-InputObject$agentJob-PropertyComputerName,InstanceName,SqlInstance,Name,Category,OwnerLoginName,CurrentRunStatus,CurrentRunRetryAttempt,'IsEnabled as Enabled',LastRunDate,LastRunOutcome,HasSchedule,OperatorToEmail,'DateCreated as CreateDate'}}}}