1.Windows日志严重程度分类
有5种类型:
(1)Error:错误
(2)Warning:警告
(3)Information:信息
(4)SuccessAudit:审核成功
(5)FailureAudit:审核失败
PS C:\WINDOWS\system32> [enum]::GetNames([System.Diagnostics.EventLogEntryType])
#获取系统日志分类
Error
Warning
Information
SuccessAudit
FailureAudit
PS C:\WINDOWS\system32>
2.Powershell 2.0关于日志操作的命令
(1)Get-EventL