Download files and folders from Azure DevOps

PR Code - Christopher Pateman
8 min readNov 15, 2023

If you have a large repository it can be a long wait on the pipeline to get it checked out, only to use a few files. In this post, I will guide you through using PowerShell to download only the files you need with either the Azure DevOps REST API or CLI.

API Service

In both instances we will be using the REST API endpoint Get Items

--

--

PR Code - Christopher Pateman

I’m a Azure DevOps Engineer with a wide knowledge of the digital landscape. I enjoy sharing hard to find fixes and solutions for the wider community to use.