Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 849 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 849 Bytes

PowerShell PackageManagement GitHub Provider

GitHub-as-a-package

This PowerShell module implements the PackageManagement PowerShell provider SDK

NOTE

  • Works only on .NET 4.5 for now. It uses [System.IO.Compression.ZipFile]::ExtractToDirectory working on resolving why Expand-Zip and New-Object -COM Shell.Application fail (Need to find a general way to handle unzipping for v5 and previous releases)

see http://www.powershellmagazine.com/2015/01/14/powershell-oneget-gist-as-a-package/

How to install - PS:

Install-Module -Name GitHubProvider

or, alternate:

Install-PackageProvider GitHubProvider
Import-PackageProvider GitHub

How to use:

# show repos
Find-Package -ProviderName GitHub -source USERNAME REPONAME

Install-Package -ProviderName GitHub -source USERNAME REPONAME