title: Not able to execute the "Import-module"
body: <p>I get below error when i try to execute the command "Import-module script.ps1"</p>
  
  <p>any idea why is that shows up? what need to be done to resolve the issue ?</p>
  
  <pre><code>PS C:\File&gt; Import-module script.ps1
  Import-module : The specified module 'script.ps1' was not loaded because no valid module file was found in any module directory.
  At line:1 char:1
  + Import-module script.ps1
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ResourceUnavailable: (script.ps1:String) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
  </code></pre>