Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 1.29 KB

Get-LTProbeErrors.md

File metadata and controls

67 lines (38 loc) · 1.29 KB
schema
2.0.0

Get-LTProbeErrors

SYNOPSIS

This will pull the %ltsvcdir%\LTProbeErrors.txt file into an object.

SYNTAX

Get-LTProbeErrors [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

PS C:\>Get-LTProbeErrors | where {(Get-date $_.Time) -gt (get-date).AddHours(-24)}

Get a list of all errors in the last 24hr

EXAMPLE 2

PS C:\>Get-LTProbeErrors | Out-Gridview

Open the log file in a sortable searchable window.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Version: 1.1

Author: Chris Taylor

Website: labtechconsulting.com

Creation Date: 3/14/2016

Purpose/Change: Initial script development

Update Date: 6/1/2017

Purpose/Change: Updates for better overall compatibility, including better support for PowerShell V2

Update Date: 3/18/2018

Purpose/Change: Changed Erroraction from Stop to unspecified to allow caller to set the ErrorAction.

RELATED LINKS