title: Profile delete folder if a subfolder exists and contains files older than a certain date
body: <p>I've dug around but have yet to come across something that is nudging me in the right direction regarding a script that will do the following:</p>
  
  <pre><code>   -enumerate over a folder of profiles
     -check a one level down to see if a certain subfolder exists    
     -if it exist
            -check last modified date 
                -if older than jan 1, 2015, delete files AND the folder 
                    -write the user's profile name and files deleted to a log file
                -if not older than jan 1, 2015, do not delete
                    -write the user's profile name to a log file
  </code></pre>
  
  <p>File structure looks like this</p>
  
  <pre><code>-profiles
      -name1
          -folder1
               -folder2
                   fileOlderThanXDate.old
      -name2
          -folder1
              -folder2
                  fileNewerthanXdate.new
      -name3
          -folder1
  </code></pre>
  
  <p>So, within profiles, search down into name 1, then into folder 1 [which everyone will have], if there is a folder2, check lastModifiedDate of the files within, if old, delete the file, AND folder2, then write name1 and those files to a log. 
  Continue to name2, seems folder2 in folder1, but the file is newer, then just write name2 to a different log.
  Continue to name2, no folder 2 in folder 1, continue</p>
  
  <p>Im finding all hints and pieces to folder a folder and delete, to find a file if older than x days, delete, but nothing that i can put the pieces of the puzzle together.  This is a bear of a question, but appreciate any push in any direction...otherwise, it will be LOTS of clicking and deleting for me.</p>