Skip to content

kieranwalsh/InstallModuleFromGitHub

 
 

Repository files navigation

Install a PowerShell Module from GitHub

Not all PowerShell Modules are published to the PowerShellGallery but are hosted on GitHub.

Read the blog post

Changes

1.5.0

Thank you to Max Renner for the pull request.

  • Use [System.Environment]::OSVersion.Platform -eq "Unix" as a catch all for non-windows systems
  • Replaced the hard coded Module paths assigned to $dest with environment variables instead.
  • Added if logic for Windows vs Non-Windows machines in assigning $psd1 and in the final Copy-Item statement.

1.4.0

v 0.5.0

In Action

image

About

Install PowerShell Modules from GitHub

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%