Get-​Alert​History

{{Fill in the Synopsis}}

Syntax

Get-AlertHistory
   [-Caller <String>]
   [-DetailedOutput]
   [-EndTime <DateTime>]
   [-ResourceId <String>]
   [-StartTime <DateTime>]
   [-Status <String>]
   [<CommonParameters>]

Description

{{Fill in the Description}}

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Optional Parameters

-Caller

The caller of the records to fetch

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DetailedOutput

Return object with all the details of the records (the default is to return only some attributes, i.e. no detail)

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-EndTime

The endTime of the query

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceId

ResourceId

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StartTime

The startTime of the query

Type:DateTime
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Status

The status of the records to fetch

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Management.Automation.SwitchParameter

Outputs

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.Insights.OutputClasses.IPSEventData, Microsoft.Azure.Commands.Insights, Version=1.0.4.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]