# I am runing my collections on Postman and it works fine with a 200 status code, but running on CLI poweshell returns me a 401 and 404 status code

**URL:** <https://community.postman.com/t/i-am-runing-my-collections-on-postman-and-it-works-fine-with-a-200-status-code-but-running-on-cli-poweshell-returns-me-a-401-and-404-status-code/35222>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [May 11, 2022, 2:48pm UTC](https://community.postman.com/t/i-am-runing-my-collections-on-postman-and-it-works-fine-with-a-200-status-code-but-running-on-cli-poweshell-returns-me-a-401-and-404-status-code/35222 "2022-05-11T14:48:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flight-cosmonaut-833](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@flight-cosmonaut-833](https://community.postman.com/u/flight-cosmonaut-833)\
**Post date:** [May 11, 2022, 2:48pm UTC](https://community.postman.com/t/i-am-runing-my-collections-on-postman-and-it-works-fine-with-a-200-status-code-but-running-on-cli-poweshell-returns-me-a-401-and-404-status-code/35222/1 "2022-05-11T14:48:43Z")

</div>

**My postman collections runs fine locally on Postman, but when i run it on a CLI, it fails and returns me a 404 and 401 status code.**

\*When i run my collections on a Powershell CLI, it returns with a 404 and 401 status code. I have stated the run as follows:

newman run c:\usres\source\repos\collectionfile.json -e environmentalVariableFile.json -g globalEnvironmentalFile.json\*:

_How I found the problem_:

_I’ve already tried_:
