get-eventlog -list
这是什么意思?请提供更多上下文信息。
Max(K) Retain OverflowAction Entries Log
------ ------ -------------- ------- ---
20,480 0 OverwriteAsNeeded 14,418 Application
20,480 0 OverwriteAsNeeded 0 HardwareEvents
512 7 OverwriteOlder 0 Internet Explorer
20,480 0 OverwriteAsNeeded 8 Key Management Service
128 0 OverwriteAsNeeded 36 OAlerts
Security
20,480 0 OverwriteAsNeeded 8,771 System
512 7 OverwriteOlder 0 Windows Azure
15,360 0 OverwriteAsNeeded 53 Windows PowerShell
并且...
get-eventlog -list | get-member
在这个结果中(为了简洁而截断):
TypeName: System.Diagnostics.EventLog
Name MemberType Definition
---- ---------- ----------
Disposed Event System.EventHandler
Disposed(System.Object, System.EventArgs)
EntryWritten Event
System.Diagnostics.EntryWrittenEventHandler EntryWritten(System.Object, System....
BeginInit Method void BeginInit(), void
ISupportInitialize.BeginInit()
Clear Method void Clear()
Close Method void Close()
CreateObjRef Method System.Runtime.Remoting.ObjRef
CreateObjRef(type requestedType)
我的问题是:为什么get-eventlog -list会生成第一个结果集,但当将其传送到get-member时,却会产生第二个结果集?这两个结果似乎没有关联?还有...这些信息存储在哪里?我的意思是,我怎样才能自己找到答案呢?
谢谢。