InstallModuleFromGitHub
InstallModuleFromGitHub copied to clipboard
Support for WindowsPowerShell
Sadly, I still find myself forced to use Windows PowerShell occasionally. Today it was because Office interop fails on PowerShell Core.
This logic can be tweaked to install modules into the WindowsPowerShell
directory instead of PowerShell
https://github.com/dfinke/InstallModuleFromGitHub/blob/8430eacfb15c84db34915a626d24884e7f187658/InstallModuleFromGitHub.psm1#L70-L77
As a workaround, I used -DestinationPath $HOME\Documents\WindowsPowerShell\Modules
Hopefully this helps anyone searching in the future.