I tried using
invoke-webrequest , invoke-restmethod and i passed Uri and the credential object, but i get 401 unauthorized. but when i try to access in browser i'm able to download the code.
any help is much appreciated.
Thanks
chandramouli
Hi @chandra mouli
Welcome to the Community!!
There is no API to download the Repo
You need git tool to clone the repo
Here's the Script to download the all repo in a project
https://gist.github.com/eeichinger/babbdf99d8fe21fef8634d56f29defba
Thanks,Pramodh
It looks like you're new here. Sign in or register to get started.