名前 Get-WinEvent 概要 Gets events from event logs and event tracing log files on local and remote computers. 構文 Get-WinEvent [[-LogName] ] [-ComputerName ] [-Credential ] [-FilterXPath ] [- Force] [-MaxEvents ] [-Oldest] [] Get-WinEvent [-ListProvider] [-ComputerName ] [-Credential ] [] Get-WinEvent [-ProviderName] [-ComputerName ] [-Credential ] [-FilterXPath ] [-Force] [-MaxEvents ] [-Oldest] [] Get-WinEvent [-ListLog] [-ComputerName ] [-Credential ] [-Force] [ ] Get-WinEvent [-FilterHashtable] [-ComputerName ] [-Credential ] [-Force] [-MaxEve nts ] [-Oldest] [] Get-WinEvent [-FilterXml] [-ComputerName ] [-Credential ] [-MaxEvents ] [- Oldest] [] Get-WinEvent [-Path] [-Credential ] [-FilterXPath ] [-MaxEvents ] [-Oldest] [ ] 説明 The Get-WinEvent cmdlet gets events from event logs, including classic logs, such as the System and Application logs, and the event logs that are generated by the Windows Event Log technology introduced in Windows Vista. It also gets events in log files generated by Event Tracing for Windows (ETW). Without parameters, a Get-WinEvent command gets all the events from all the event logs on the computer. To interrupt the command, press CTRL + C. Get-WinEvent also lists event logs and event log providers. You can get events from selected logs or from logs genera ted by selected event providers. And, you can combine events from multiple sources in a single command. Get-WinEvent allows you to filter events by using XPath queries, structured XML queries, and simplified hash-table queries. 関連するリンク Online Version: http://go.microsoft.com/fwlink/p/?linkid=289626 Get-Counter Get-EventLog about_EventLogs 注釈 例を参照するには、次のように入力してください: "get-help Get-WinEvent -examples". 詳細を参照するには、次のように入力してください: "get-help Get-WinEvent -detailed". 技術情報を参照するには、次のように入力してください: "get-help Get-WinEvent -full". オンライン ヘルプを参照するには、次のように入力してください: "get-help Get-WinEvent -online"