Get Event Logs from Remote Computer

March 9, 2023

Hue Truong

Get Security Event Logs from Remote Computer

Get-EventLog -LogName Security -ComputerName -Newest 10 | Format-List

Get Security Event Logs from Remote Computer and Output to file

Get-EventLog -LogName Security -ComputerName -Newest 10 | Format-List | Out-File C:\security_log.txt
join the conversation

Leave the first comment

Avatar for Hue Truong

Hue Truong

IT Professional, Systems Engineer, and Cloud Administrator. Passionate about exploring the latest technologies and solving complex problems.

Related Posts

More articles like this