TcXaeMgmt Version 7.X | Get-TcEvent 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 TwinCAT.ISession OUTPUTS NOTES 6.36 Get-TcEvent | Get-TcEvent SYNOPSIS Gets TwinCAT events from event logs on local and remote computers. SYNTAX Get-TcEvent [-MaxEvents ] [-ComputerName ] [-Credential ] [- Level ] [-Source ] [-StartTime ] [-EndTime ] [-ID ] [-Timeout ] [ ] DESCRIPTION TwinCAT creates logging entries in the Windows Application log.
These entries for system diagnostics source from the TcSysUI Application and the TwinCAT System Service (TcSysSrv) collecting messages from the TwinCAT Drivers. The Get-TcEvent Cmdlet gets/shows these events from the local system and as well from other reachable systems within the corporate network. If you're not running PowerShell as an Administrator, you might see error messages that you cannot retrieve information about a log. The EventLog is only available under Microsoft Operating systems and therefore Get-TcEvent only supports these platforms. EXAMPLES Example 1 PS> get-tcevent -MaxEvents 30 ProviderName:
TcSysUi TimeCreated Id LevelDisplayName Message ----------- -- ---------------- ------- 17.08.2021 15:56:44 3 Information Process startup apps was already triggerd. 17.08.2021 15:56:44 1 Information Process startup apps after reaching RUN state. ProviderName: TcSysSrv TimeCreated Id LevelDisplayName Message ----------- -- ---------------- ------- 17.08.2021 15:56:44 66 Information Starting COM Server TcEventLogger ! 17.08.2021 15:56:44 20000 Information TwinCAT System Message: Source: License Server; Times tamp: 8/17/2021 3:56:44 PM 345 ms Message: license validation status is Valid(3) 17.08.2021 15:56:44 15 Information TcRTime Server started: TcRTime.
17.08.2021 15:56:44 15 Information TcRtsObjects Server started: TcRtsObjects. 17.08.2021 15:56:44 15 Information TcPlc30 Server started: TcPlc30. 17.08.2021 15:56:44 15 Information TcIo Server started: TcIo. 17.08.2021 15:56:44 69 Information Initializing COM Server TcEventLogger ! 17.08.2021 15:56:44 71 Information Loading configuration of COM server TcEventLogger ! ProviderName: TcSysUi TimeCreated Id LevelDisplayName Message TE1000 152 Version: 1.5.0