Search and install PowerShell modules easy.
While this tool streamlines installation of the modules, it should be installed.
In your PowerShell console execute:
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
You are done. This nice line of PowerShell script will download GetPsGet.ps1 and send it to Invoke-Expression to install PsGet Module.
Alternatively you can do installation manually
PsGet.psm1 from https://github.com/psget/psget/PsGet.psm1 to your modules folder (e.g. Modules\PsGet\ )Import-Module PsGet (or add this to your profile)To install something (in our case PsUrl) from central directory just type:
install-module PsUrl
Of course, you can browse/search modules directory:
Get-PsGetModuleInfo Posh*
Q: Error "File xxx cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details."
A: By default, PowerShell restricts execution of all scripts. This is all about security. To "fix" this run PowerShell as Administrator and call
Set-ExecutionPolicy RemoteSigned
For mode details run get-help about_signing or get-help about_Execution_Policies.
Q: How to add my module to the directory?
A: Review small instruction on PsGet Wiki - How to add your module to the directory