Powershell command to backup Mongodb dump

How do you connect to mongodb using power shell command/variables?
May be your user id not setup properly or you may not be authenticating against the correct db
Check this link.May help