Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

IT漫步

技术生活札记©Yaohui

  • 首页
  • 关于
  • 联系

Event-Log

Export Windows Event log by Powershell

2021年9月28日 by ylhyh
Get-EventLog -LogName System -Source Microsoft-Windows-Hyper-V-VmSwitch -After '2021-09-22 23:07:00' | Select-Object -Property  Index,EntryType,EventID,TimeGenerated,Source,Message | Export-CSV -Path c:\q1autoops\temp\Hyper-v.csv -NoClobber

Posted in: Categories Powershell Tagged: Tags Event-Log, Powershell, windowsLeave a comment

Built with TotalPress – Powered by WordPress