File audit software.

Discussion in 'Software' started by motc7, Aug 31, 2011.

  1. motc7

    motc7 Vice Admiral (Starfleet)

    I am going to be doing an audit of some files soon. I was wondering if there is a freeware tool that will allow me to view files and see not only when they were last accessed, but by which username and or IP address.

    Know of anything?
     
  2. theefool

    theefool Geekified

    Not sure about the IP, but you could try:

    Code:
    Write-Host "FileName,Size,Modified,Last Access,Owner"
    foreach ($file in Get-ChildItem -rec) {
      $filesize=$file.Length
      if ($filesize -lt 0 ) {
        $filesize=""
        }
      $fileacl=get-acl $file.fullname
      Write-Host $file.FullName $filesize $file.LastWriteTime $file.LastAccessTime $fileacl.Owner 
    
    -Separator ","
      }
    
    This of course requires powershell, also you need to enable running of scripts within powershell

    Set-ExecutionPolicy unrestricted
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds