【发布时间】:2014-11-27 09:03:08
【问题描述】:
Server 2008 以后的集群日志存储在 3 个不同的 .etl 文件中,位于“%WinDir%\System32\winevt\logs\”
- Microsoft-Windows-FailoverClustering Diagnostic.etl.001
- Microsoft-Windows-FailoverClustering Diagnostic.etl.002
- Microsoft-Windows-FailoverClustering Diagnostic.etl.003
但是,我无法通过 Get-Winevent 查询这些文件
Get-WinEvent : The C:\Windows\System32\winevt\Logs\Microsoft-Windows-FailoverClustering%4Diagnostic.etl.001 file does not appear to be a valid log file. Specify only .evtx, .etl, or .evt files as values of the
Path parameter.
我错过了什么吗?还有其他方法可以通过 Powershell 查询这些 .etl 文件吗?
【问题讨论】:
标签: powershell-3.0 event-log windows-clustering