#eventlog

C# 如何调用EventLog

工作原理:    在写eventlog的时候,首先去找source,如果找到的话,就往这个source所在的log里面写日志。EventLogeventLog=newEventLog();eventLog.Source=$@"LisaEventLog2018-04-1718:37...
代码星球 ·2021-02-08

通过powershell操作eventlog

~Desktop>(Get-CommandWrite-EventLog).ParametersKeyValue--------WarningActionSystem.Management.Automation.ParameterMetadataRawDataSystem.Management.Automation...