title: Is there any way to monitor the progress of a download using a WebClient object in powershell?
body: <p>I'm downloading a file using a simple line like this:</p>
  
  <pre><code>$webclient = New-Object -TypeName System.Net.WebClient
  $webclient.DownloadFile("https://www.example.com/file", "C:/Local/Path/file")
  </code></pre>
  
  <p>The problem is that I want to display a message to the user while this is downloading using a pop up window, or using a progress bar in the shell. Is it possible to make a pop up box that disappears when the download completes, or a progress bar that monitors the progress of the download?</p>