Submit tool to Chocolatey?
To increase discovery of this tool and improve management, this tool should be available via Chocolatey. While I am willing to do so on my own, I thought it would be best to have the package uploaded by the maintainer of the original package. One thing to note is that since this is a module, the chocolateyinstall.ps1 installer script should either install directly to the normal PSModulePath or add the installer path (typically C:\ProgramData\chocolatey\lib) to the PSModulePath registry key for auto-discovery.
Code to add to the path (has to be done as administrator):
$ChocoInstallPath = "C:\ProgramData\chocolatey\lib" $CurrentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) if($CurrentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)){ $CurrentModulePath = [Environment]::GetEnvironmentVariable("PSmodulePath","Machine") $if($CurrentPSModulePath -notlike "$($ChocoInstallPath)"){ [Environment]::SetEnvironmentVariable("PSModulePath",$CurrentPSModulePath+";"+$ChocoInstallPath,"Machine") } }