title: The Get-VM is not recognized as a command after taking a session
body: <blockquote>
    <p>The term 'Get-VM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<br>
        + CategoryInfo          : ObjectNotFound: (Get-VM:String) [], CommandNotFoundException<br>
        + FullyQualifiedErrorId : CommandNotFoundException</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/0x28Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0x28Z.png" alt="enter image description here"></a></p>
  
  <p>The PowerShell does not take the command Get-VM after taking session of VM.</p>