check mongodb is running or not in windwos code example Example: show mongodb version mongod --version