Skip to content

Instantly share code, notes, and snippets.

@prasannadeshpande
prasannadeshpande / DownloadFilesFromRepo.ps1
Created June 18, 2020 15:54 — forked from zerotag/DownloadFilesFromRepo.ps1
PowerShell function to download files from a GitHub repository
function DownloadFilesFromRepo {
<#
.SYNOPSIS
This function retrieves the specified repository on GitHub to a local directory with authentication.
.DESCRIPTION
This function retrieves the specified repository on GitHub to a local directory with authentication, being a single file, a complete folder, or the entire repository.
.PARAMETER User