This PowerShell module will be help you to easily instal PowerShell modules directly from Azure DevOps (aka VSTS) or GitHub. All you need to know is a URL of the git repository and the module will take care of everything else.
- ❗ git - Git must be installed and available on path. If you don't have it, you can get it for example from git-scm.com.
💨 (not yet available)
git clone https://github.com/iricigor/InstallGitModule Import-Module ./InstallGitModule/InstallGitModule.psd1 # and this is the last time you will be doing it like this # after you install this module you can do it like this Install-GitModule https://github.com/iricigor/InstallGitModule
# Check for module existence and its version C:> Get-GitModule 'https://github.com/iricigor/FIFA2018' -Verbose # Download and import module in one line C:> (Install-GitModule 'https://github.com/iricigor/psaptgetupdate').Name | Import-Module
Checks for module existence and returns its version. More info here.
Installs PowerShell module to user's default install folder. More info here.
😏 So far the module have very very basic testing, but it is doing that against two platforms - Linux and Windows. Tests results are available on Tests tab (example here).
Click on images to see details about latest build runs.