title: Cannot import module in powershell - failed to load files
body: <p>I am trying to run a function in a specific module of powershell that I had installed on my computer. 
  Through the PowerShell window it works well but while using PowerGUI it fails.</p>
  
  <p>While trying to execute:</p>
  
  <pre><code>Import-Module modulename
  </code></pre>
  
  <p>I got the exception:
  There were errors in loading the format dtat file:
  Microsoft.PowerShell, the path of: modulename.format.pslxmml: File skipped because it was already present from "Microsoft.PowerShell". </p>