title: Powershell DSC Hangs
body: <p>So here's my issue, I am trying to use PS Dsc to install some basic packages, but whenever I try and run my script it looks like it starts but never finishes. I try to pass the <code>-Force</code> parameter as recommended but it seems like it's just stacking operations and these processes just keep getting stuck. </p>
  
  <p>Here is my script </p>
  
  <pre><code>Configuration WebServer {
  
  # Import the module that contains the resources we're using.
   Import-DscResource -ModuleName PsDesiredStateConfiguration
  
   Node "localhost" {
  
      Package InstallAspNetWebPages2
      {
          Ensure = "Present"
          Path = 
  "C:\Users\jryter\Documents\WebServerInstalls\AspNetWebPages2Setup.exe"
          Name = "Microsoft ASP.NET Web Pages 2 Runtime"
          ProductID = "EA63C5C1-EBBC-477C-9CC7-41454DDFAFF2"
      }
  
   }
  
  }
  
  
  WebServer -OutputPath "C:\DscConfiguration"
  
  Start-DscConfiguration -Wait -Force -verbose -Path "C:\DscConfiguration"
  </code></pre>
  
  <p>the current LCM state is it's performing a consistency check. 
  I tried following this link --> 
  <a href="https://powershell.org/forums/topic/stop-dsc-configuration-which-is-runningstuck/" rel="nofollow noreferrer">https://powershell.org/forums/topic/stop-dsc-configuration-which-is-runningstuck/</a></p>
  
  <p>but to no avail....</p>
  
  <p>is there some base configuration that I missed to run this stuff properly? Has anyone had this issue? </p>
  
  <p><a href="https://i.stack.imgur.com/ZcRGH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZcRGH.png" alt="enter image description here"></a></p>