Parses ASP.NET errors from the event log on the given server.
Get-AspNetEvents.ps1 [[-ComputerName] <String[]>] [[-After] <DateTime>] [[-Before] <DateTime>] [-AllProperties]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-AspNetEvents.ps1 WebServer
Returns any ASP.NET-related events from the WebServer Application event log that occurred today.
The name of the server on which the error occurred.
Type: String[]
Parameter Sets: (All)
Aliases: CN, Server
Required: False
Position: 1
Default value: $env:COMPUTERNAME
Accept pipeline input: False
Accept wildcard characters: False
Skip events older than this datetime. Defaults to 00:00 today.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: ([DateTime]::Today)
Accept pipeline input: False
Accept wildcard characters: False
Skip events newer than this datetime. Defaults to now.
Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: ([DateTime]::Now)
Accept pipeline input: False
Accept wildcard characters: False
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.