Skip to content

Instantly share code, notes, and snippets.

View punitganshani's full-sized avatar

Puneet Ghanshani punitganshani

View GitHub Profile
@altrive
altrive / PSNuGet.ps1
Created January 24, 2014 14:29
Sample code to use NuGet as PowerShell package manager
$ErrorActionPreference = "Stop"
Set-StrictMode -Version Latest
$Script:PackageManager = $null
function Initialize-NuGetPackageManager
{
[CmdletBinding()]
param (
[hashtable] $Repositories = @{},