title: PowerShell load module with specific version
body: <p>I am trying to install a company tool by Powershell in Windows 10, it requires PowerShell version 7.0+, but it looks like I have two versions of PowerShell in my Windows when I try to call our company tool I got this error:</p>
  <pre><code>The 'Tool-Name' command was found in the module 'PCP.AWS', but the module could not be loaded. For more information, run 'Import-Module PCP.AWS'.
  </code></pre>
  <p>Then I run the command 'Import-Module PCP.AWS' but I got this error:</p>
  <pre><code>Import-Module : The version of Windows PowerShell on this computer is '5.1.18362.145'. The module 'C:\Program Files
  (x86)\WindowsPowerShell\Modules\PCP.AWS\0.0.23\PCP.AWS.psd1' requires a minimum Windows PowerShell version of '7.0' to run. Verify that you have the minimum required version of Windows PowerShell installed, and then try again.
  </code></pre>
  <p>Here's the output when I run <strong>pwsh -V</strong> <code>PowerShell 7.1.0</code>, but if I run <strong>Get-Host | Select-Object Version</strong> I can also get an output</p>
  <pre><code>Version
  -------
  5.1.18362.145
  </code></pre>
  <p>Can anyone suggest what should I do to get this tool runnable? Should I run this tool by specific PowerShell version or should I just remove the older version PowerShell in my laptop?</p>