title: Powershell DSC: How to download and install MSI
body: <p>Using Powershell DSC how do I download and install msi. I the references I have seen so far this link <a href="https://blogs.msdn.microsoft.com/brian_farnhill/2015/03/15/using-dsc-to-download-from-azure-file-storage-to-an-azure-vm/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/brian_farnhill/2015/03/15/using-dsc-to-download-from-azure-file-storage-to-an-azure-vm/</a>. But I can only be used for shared folder no to http. </p>
  
  <pre><code>        File DownloadWebPi
          {
              DestinationPath = $PSScriptRoot
              Ensure ="Present"
              SourcePath = "http://go.microsoft.com/fwlink/?LinkId=287166"
              Type = "File"
          }
  </code></pre>