< Back

Show-TickleEvent

Sat Jan 18, 2020 4:57 pm

NAME Show-TickleEvent



SYNOPSIS

Display a colorized list of upcoming events.





SYNTAX

Show-TickleEvent [-Credential <PSCredential>] [-Days <Int32>] [-ServerInstance <String>] [<CommonParameters>]



Show-TickleEvent [-Days <Int32>] [-Offline <String>] [<CommonParameters>]





DESCRIPTION

This is a specialized version of Get-TickleEvent that uses Write-Host to display a formatted and colorized display

of upcoming events. Events due in 24 hours or less will be displayed in red. Events due in 48 hours or less will

be displayed in yellow. Otherwise the event is displayed in green. It is not possible to modify these colors at

this time. The default behavior is to show events due in the next number of days as specified by

$TickleDefaultDays.





PARAMETERS

-Credential <PSCredential>

Specify a credential to authenticate to the SQL Server instance. This should normally not be required.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Days <Int32>

Specify the next number of days to display.



Required? false

Position? named

Default value $TickleDefaultDays

Accept pipeline input? False

Accept wildcard characters? false



-Offline <String>

Use an offline version of the tickle event database. Specify the path to the CSV file.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ServerInstance <String>

The name of your SQL Server instance. The parameter will default to the module variable.



Required? false

Position? named

Default value $TickleServerInstance

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

None







OUTPUTS

None. This command writes to the PowerShell host.







NOTES





Learn more about PowerShell: http://jdhitsolutions.com/blog/essentia ... resources/



-------------------------- Example 1 --------------------------



PS C:\\> Show-TickleEvent



* Reminders 9/23/2018 *********************************

* *

* Project Review 09/25/2018 00:00:00 [1.02:25:46] *

* *

* Haircut 09/27/2018 16:00:00 [3.18:29:02] *

* *

*******************************************************



The actual console output will be colorized.



RELATED LINKS

Get-TickleEvent