external help file | Module Name | online version | schema |
---|---|---|---|
ComputerManagement-help.xml |
ComputerManagement |
2.0.0 |
A tail cmdlet for Eventlogs
Get-WinEventTail [[-LogName] <String>] [[-ShowExisting] <Int32>] [<CommonParameters>]
This function will allow you to tail Windows Event Logs. You specify a Logname for either the original logs, Application, System and Security or the new format for the newer logs Microsoft-Windows-PowerShell/Operational
Get-WinEventTail -LogName Application
ProviderName: ESENT
TimeCreated Id LevelDisplayName Message
----------- -- ---------------- -------
10/9/2014 11:55:51 AM 102 Information svchost (7528) Instance: ...
10/9/2014 11:55:51 AM 105 Information svchost (7528) Instance: ...
10/9/2014 11:55:51 AM 326 Information svchost (7528) Instance: ...
10/9/2014 12:05:49 PM 327 Information svchost (7528) Instance: ...
10/9/2014 12:05:49 PM 103 Information svchost (7528) Instance: ...
Specify a valid Windows Eventlog name
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: System
Accept pipeline input: False
Accept wildcard characters: False
An integer to show the number of events to start with, the default is 10
Type: System.Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 10
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.
FunctionName : Get-WinEventTail Created by : jspatton Date Coded : 10/09/2014 13:20:22