From 7120cecc158813765ab3a089f9fd143a763f74df Mon Sep 17 00:00:00 2001 From: Manikyam Bavandla Date: Wed, 20 Jul 2016 18:35:52 -0700 Subject: [PATCH] Updating PowerShellGet demo --- demos/PowerShellGet.ps1 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/demos/PowerShellGet.ps1 b/demos/PowerShellGet.ps1 index 2dae82871..e2c15cc38 100644 --- a/demos/PowerShellGet.ps1 +++ b/demos/PowerShellGet.ps1 @@ -2,10 +2,6 @@ Get-PSRepository -Register-PSRepository -Name PSGalleryINT -SourceLocation https://dtlgalleryint.cloudapp.net -InstallationPolicy Trusted - -Get-PSRepository - Find-Module Find-Module ContosoServer @@ -15,7 +11,7 @@ Get-ChildItem -Path /tmp/ContosoServer -Recurse Install-Module -Name ContosoServer -RequiredVersion 1.5 -Scope CurrentUser Get-InstalledModule Get-Module -ListAvailable ContosoServer -Get-InstalledScript ContosoServer | Format-List * +Get-InstalledModule ContosoServer | Format-List * Install-Module -Name ContosoClient -RequiredVersion 1.0 -Scope CurrentUser Get-InstalledModule ContosoClient