By David Wiseman (Administrator)Created 08 Feb 2008
My Rating:
Vote
Rating:
Not Rated
Views:4205
Downloads:51

List Event Log Properties

Language:  VBScript

Compatibility

Windows XP Yes Windows 2003 Yes
Windows 2000 Yes Windows NT Yes
Vista Unknown Windows 2008 Unknown
Description

Retrieves a list of properties for all the event logs on a computer, except the Security event log.

Code

Line Numbers: On  Off      Plain Text
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set objInstalledLogFiles = objWMIService.ExecQuery _
    ("Select * from Win32_NTEventLogFile")

For each objLogfile in objInstalledLogFiles
    Wscript.Echo "Name: " &  objLogfile.LogFileName 
    Wscript.Echo "Maximum Size: " &  objLogfile.MaxFileSize 
    If objLogfile.OverWriteOutdated > 365 Then
        Wscript.Echo "Overwrite Outdated Records: Never." 
    ElseIf objLogfile.OverWriteOutdated = 0 Then
        Wscript.Echo "Overwrite Outdated Records: As needed." 
    Else
        Wscript.Echo "Overwrite Outdated Records After: " &  _
            objLogfile.OverWriteOutdated & " days" & 
    End If
Next

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      

Posted On: 12/7/2017 11:50:50 PM

adidas yeezy lacoste polo led shoes for kids adidas superstar shoes kate spade outlet online longchamp bags retro jordans dior sunglasses nike air zoom cheap mlb jerseys yeezy boost 350 v2 basketball shoes adidas nmd vans outlet air max 90 links of london sale yeezy boost 350 prada glasses nike air huarache golden goose balenciaga sneakers 100% real jordans for cheap jordan 11 moncler jackets jordan 11 retro true religion jeans kobe basketball shoes kyrie 4 yeezys cheap jordans kobe shoes michael kors outlet online van cleef arpels yeezy boost 350 golden goose nike huarache michael kors handbags adidas tubular kate spade handbags air jordan adidas superstar shoes patriots jersey nike dunks air jordan shoes kyrie shoes harden shoes michael kors outlet nike huarache hermes birkin longchamp adidas tubular adidas tubular shadow kyrie 3 shoes lacoste online shop true religion nike zoom air force 1 jordan retro lebron shoes tom ford eyewear golden goose sneakers yeezy christian louboutin shoes prada sunglasses adidas stan smith shoes longchamp sale air max 90 air max 2018 Kanye West shoes birkin bag michael kors uk nmd nike huarache adidas outlet online nike air max 90 retro jordans michael kors air yeezy adidas nmd lebron james shoes kobe basketball shoes led shoes michael jordan shoes hogan outlet dior glasses yeezy shoes kobe sneakers adidas eqt air jordan shoes led shoes asics shoes yeezy boost 350 v2 michael kors outlet store hermes belt adidas neo michael kors outlet nike foamposite nike air max 90 hogan outlet online supreme hoodie hermes handbags reebok shoes nmd michael kors handbags adidas ultra nike football boots fitflops sale clearance adidas online shop adidas tubular shadow longchamp handbags goyard bags jordan shoes http://www.kobeshoes.uk nike huarache longchamp longchamps curry shoes asics running shoes jordan shoes nike roshe run adidas ultra boost pandora jewelry pandora jewelry michael jordan shoes longchamp handbags nike air max 2018 jordan shoes air max 2016 curry 3 converse outlet cheap jordans longchamp handbags jordan 6 curry 4 adidas yeezy supreme clothing kobe 9 lebron 15 michael kors outlet adidas nmd roshe shoes james harden shoes cheap jordans jordan retro 6 af1 kd shoes adidas outlet new england patriots jersey light up shoes nmd yeezy boost ferragamo belt kobe 11 adidas outlet jordan retro 12 hermes belt adidas superstar yeezy boost 350 v2 louboutin shoes tory burch shoes yeezy boost nike air force 1 kevin durant shoes jordan 4 air jordans golden goose air max tory burch shoes cheap basketball shoes ultra boost adidas yeezy boost tory burch outlet nike air force 1 adidas tubular adidas shoes nike free cheap nfl jerseys yeezy shoes kobe 9 nike basketball shoes cartier bracelet adidas ultra boost uncaged kobe shoes van cleef true religion outlet authentic jordans golden goose outlet mlb jerseys birkin bag nike air zoom basketball shoes longchamp outlet nike air huarache air max 2017 calvin klein outlet yeezy boost hermes belts for men kyrie irving shoes vans shoes pandora bracelet yeezy shoes timberland outlet gucci belt longchamp bags goyard handbags yeezy boost 350 cheap jordans air jordan goyard bags adidas ultra boost golden goose sneakers ysl bags kobe 11 yeezy boost 350 nike roshe run michael kors outlet lebron 15 adidas outlet lacoste outlet yeezy boost 350 nike roshe one louboutin shoes uk adidas tubular 100% real jordans for cheap jordan shoes kyrie 3 cheap jordans adidas nmd r1 longchamp lebron 13 nike zoom running shoe nike polo shirts jordan 13 adidas online shop chrome hearts fitflops roshe run adidas nmd runner ferragamo belts nike free run michael kors outlet online curry 3 shoes michael kors outlet online adidas store nike air force longchamp bags balenciaga shoes real jordans for sale cheap yeezy boost gucci belts jordan shoes michael kors handbags nike mercurial bape hoodie hermes belts adidas ultra boost adidas stan smith sneakers moncler outlet pandora charms nike dunk shoes kyrie 4 nike air huarache goyard handbags chrome hearts online longchamp bags reebok outlet air jordan 13 yeezy boost 350 adidas nmd true religion retro jordans falcons jersey nike air max 2017 yeezy boost 350 v2 stephen curry shoes lacoste outlet lebron 13 shoes nike roshe uk balenciaga shoes converse shoes adidas stan smith adidas stan smith christian louboutin nike air max ysl handbags converse outlet store yeezy shoes brady jersey yeezy boost 350 birkin bag lebron 14 vibram five fingers hermes belt longchamps bape hoodie vibram fivefingers kobe shoes kate spade outlet yeezy boost adidas gazelle adidas nmd adidas superstar timberland boots fitflops chrome hearts online air force 1 pandora charms links of london jordan 12 http://www.kobebasketballshoes.us.com michael kors handbags longchamp outlet chrome hearts kobe byrant shoes curry 4 chrome hearts nike air force nhl jerseys balenciaga sneakers tom ford sunglasses yeezy shoes yeezys vans shoes links of london outlet store atlanta falcons jersey cheap jordans nike zoom yeezy boost 350 v2 yeezy links of london michael kors outlet nfl jerseys adidas outlet online calvin klein outlet online converse outlet michael kors factory outlet lebron 14 shoes nike air max yeezy shoes yeezy boost 350 nike polo


Posted On: 1/24/2018 5:57:55 PM

insanity swarovski adidas zx mac makeup canada goose burberry outlet jordans ugg boots moncler jackets adidas outlet pandora charms flops true religion outlet converse shoes true religion outlet jordan juicy couture swarovski basketball shoes air max 2017 cartier love bracelet michael kors wedding dresses prada parajumpers cheap nfl jerseys air max ralph lauren moncler ray ban outlet rolex watches nike roshe run michael kors outlet uggs outlet michael kors oakley vault ugg boots salomon shoes mizuno wave air max flip flops michael kors hogan chi flat iron montre pas cher herve leger nike air huarache ray ban ray ban nike air longchamp north face reebok bcbg max tommy hilfiger prada outlet michael kors outlet online store cheap ugg boots the north face canada goose replica watches pandora montre canada goose oakley vault reebok pandora oakley sunglasses vanessa bruno cheap eyeglasses nike air max puma shoes oakley new balance shoes sac burberry nike store cheap nfl jerseys vans shoes nike store nike store guess ed hardy new balance wedding dresses michael kors oakley sunglasses ugg nike shoes dolce and gabbana air jordan nike trainers polo ralph lauren sac longchamp nike free run oakley sunglasses cheap tommy hilfiger adidas trainers north face outlet oakley vault nike air celine air max hermes outlet links of london roshe run asics air max 95 oakley sunglasses nike free roshe run north face ugg boots longchamp michael kors borse kobe 9 nike air force ralph lauren outlet ralph lauren hollisterco cheap air jordan soccer shoes moncler wedding dresses ugg boots moncler ferragamo ray ban sunglasses timberland boots roty burch outlet converse free run hollister coach outlet online ray ban jimmy choo ray ban hollister canada goose jackets baseball bats ralph lauren uk mulberry coach outlet the north face michael kors outlet adidas superstar guess soccer jerseys beats headphones marc jacobs longchamp handbags tommy hilfiger nike free juicy couture rolex watches kobe 10 mac cosmetics ugg converse uggs outlet levi's jeans ugg boots ugg boots lebron james shoes kevin durant shoes juicy couture outlet ray ban sunglasses dansko shoes ugg australia michael kors outlet pandora jewelry louboutin longchamp bags ralph lauren valentino christian louboutin mizuno running shoes timberland shoes nike mercurial nike air max nike outlet uggs outlet michael kors outlet bottega oakley roty burch outlet online ralph lauren moncler outlet converse coach factory outlet bottes ugg new balance adidas uk adidas nike free michael kors moncler fendi hollister kate spade outlet michael kors outlet cheap uggs burberry outlet hollister new balance trainer nike ray ban ghd louboutin nike blazer pas cher red bottoms nike roshe run michael kors outlet burberry outlet store moncler jackets hermes swarovski true religion jeans coach purse karen millen uk longchamp air max hollister michael kors handbags ugg boots fivefingers nike mercurial jordan ray ban sunglasses birkin bag ray ban sunglasses mac makeup nike air max nike air max polo lacoste ray ban sunglasses sac michael kors rolex wedding dresses roshe run beats by dre timberland boots kate spade giuseppe zanotti ralph lauren outlet moncler louboutin ferragamo oakley nike roshe run pas cher pandora jewelry canada goose outlet jordan shoes vans marc jacobs converse ugg outlet true religion jeans huarache north face rolex stuart weitzman nike air force timberland oakley sunglasses burberry outlet online asics nike tn longchamp pandora thomas sabo ugg hogan outlet mont blanc jordan lebron 11 north face pas cher oakley sunglasses montblanc kate spade outlet asics polo ralph lauren timberland lebron shoes true religion louboutin nike air max flip flops ugg canada goose ferragamo jordan shoes ray ban sunglasses canada goose jackets adidas shoes ugg australia tods canada goose louboutin louboutin pas cher hollister sac guess beats by dre nike free montre homme new balance mac cosmetics polo ralph lauren uggs omega watches vans supra tory burch outlet coach outlet store online michael kors outlet christian louboutin vans shoes instyler ionic styler air max michael kors canada barbour mulberry outlet balenciaga nike blazer michael kors outlet jordan retro true religion jeans swarovski uk air jordans nike shoes 2018.1.25xukaimin