Error while executing 'mongo' cmd in Power shell

Girijesh Gupta 1 Reputation point
2022-10-13T20:39:38.423+00:00

250198-powersheel-issue.png

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 45,906 Reputation points
    2022-10-13T21:00:37.72+00:00

    In what directory is "mongo" to be found? Try using the full pat name in front of it: c:\blah\mongo.exe

    If it's the C:\Users\Girijesh directory, try .\mongo.exe

    0 comments No comments