Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_NTEventlogFile QueryContent of WMI Win32_NTEventlogFile Query.vbsMD5 Hash: B94CA6B9AA2C5409C772226FB2603C2C |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_NTEventlogFile",,48) For Each objItem in colItems Wscript.Echo "AccessMask: " & objItem.AccessMask Wscript.Echo "Archive: " & objItem.Archive Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Compressed: " & objItem.Compressed Wscript.Echo "CompressionMethod: " & objItem.CompressionMethod Wscript.Echo "CreationClassName: " & objItem.CreationClassName Wscript.Echo "CreationDate: " & objItem.CreationDate Wscript.Echo "CSCreationClassName: " & objItem.CSCreationClassName Wscript.Echo "CSName: " & objItem.CSName Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Drive: " & objItem.Drive Wscript.Echo "EightDotThreeFileName: " & objItem.EightDotThreeFileName Wscript.Echo "Encrypted: " & objItem.Encrypted Wscript.Echo "EncryptionMethod: " & objItem.EncryptionMethod Wscript.Echo "Extension: " & objItem.Extension Wscript.Echo "FileName: " & objItem.FileName Wscript.Echo "FileSize: " & objItem.FileSize Wscript.Echo "FileType: " & objItem.FileType Wscript.Echo "FSCreationClassName: " & objItem.FSCreationClassName Wscript.Echo "FSName: " & objItem.FSName Wscript.Echo "Hidden: " & objItem.Hidden Wscript.Echo "InstallDate: " & objItem.InstallDate Wscript.Echo "InUseCount: " & objItem.InUseCount Wscript.Echo "LastAccessed: " & objItem.LastAccessed Wscript.Echo "LastModified: " & objItem.LastModified Wscript.Echo "LogfileName: " & objItem.LogfileName Wscript.Echo "Manufacturer: " & objItem.Manufacturer Wscript.Echo "MaxFileSize: " & objItem.MaxFileSize Wscript.Echo "Name: " & objItem.Name Wscript.Echo "NumberOfRecords: " & objItem.NumberOfRecords Wscript.Echo "OverwriteOutDated: " & objItem.OverwriteOutDated Wscript.Echo "OverWritePolicy: " & objItem.OverWritePolicy Wscript.Echo "Path: " & objItem.Path Wscript.Echo "Readable: " & objItem.Readable Wscript.Echo "Sources: " & objItem.Sources Wscript.Echo "Status: " & objItem.Status Wscript.Echo "System: " & objItem.System Wscript.Echo "Version: " & objItem.Version Wscript.Echo "Writeable: " & objItem.Writeable Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |