Emnico in Swindon and its partners
in the UK and Europe provide:

» IT Support Services and Products
» Bespoke Software Development


Contact our Swindon office on:
+44 (0)1793 614 700
to discuss your IT needs.


CLOSE IT
Emnico Logo
Your Virtual Technology Team
Delivering Peak Performance
Category: Type: Order:
Search For:  
Home > Library > Find All Event Logs

Find All Event Logs

This script will return the locations of all event logs on a computer.
Added 276 days ago by Emnico
Download
Review
Back
38Views
This script has been successfully tested by Emnico and is verified to be working.

Source code

$computer = "LocalHost"

$namespace = "root\CIMV2"

Get-WmiObject -class Win32_NTEventlogFile -computername $computer -namespace $namespace


| Privacy policy | Environmental policy | Site map |