当我尝试在 powershell V2.0 中的 win2003 std 上运行 cmd get-eventlog -list 时。它给了我以下输出
Max(K) Retain OverflowAction Entries Log
------ ------ -------------- ------- ---
16,384 0 OverwriteAsNeeded 117 Application
512 7 OverwriteOlder 0 Internet Explorer
20,480 0 OverwriteAsNeeded 0 Microsoft-Windows-Forwarding/Operational
16,384 0 OverwriteAsNeeded 136 Security
16,384 0 OverwriteAsNeeded 173 System
15,360 0 OverwriteAsNeeded 83 Windows PowerShell
当尝试运行 get-eventlog "Internet Explorer" 时,它给了我错误
Get-EventLog : No matches found
At line:1 char:13
+ get-eventlog <<<< $event
+ CategoryInfo : ObjectNotFound: (:) [Get-EventLog], ArgumentException
+ FullyQualifiedErrorId : GetEventLogNoEntriesFound,Microsoft.PowerShell.Commands.GetEventLogCommand
有人可以帮我解决这个问题吗?