title: Download the latest file from URL
body: <p>Really having a tough time with this one.  We download a weekly file from a URL.  I need to only download the newest file each week.  I can't figure out how to grab the latest file.  The file will always be WAYYYYMMDD.zip</p>
  
  <pre><code>$Url = "http://files.test.com/zips/weekly/WAYYYYMMDD.zip"
  $Path = "C:\temp\WA2343.zip"
  $Username = "*******"
  $Password = "********"
  
  $WebClient = New-Object System.Net.WebClient
  $WebClient.Credentials = New-Object System.Net.Networkcredential($Username, $Password)
  $WebClient.DownloadFile( $url, $path )
  </code></pre>