HelpersInstallChocolateyPath - Nilzor/chocolatey GitHub Wiki
#Install-ChocolateyPath ###NOTE: This command will assert UAC/Admin privileges on the machine if $pathType == 'Machine'.
Install-ChocolateyPath $pathToInstall $pathType
##Description This puts a directory on the PATH environment variable. This is used when the application/tool is not being linked by chocolatey (not in the lib folder).
##Parameters
###$pathToInstall (important)
This is a directory that you want to add to the PATH environment variable.
Example: "$env:SystemDrive\tools\gittfs"
###$pathType (optional)
Pick only one : 'User' or 'Machine'
Example: 'User'
or 'Machine'
Defaults to 'User'
##Examples
Install-ChocolateyPath "$env:SystemDrive\tools\gittfs"
Install-ChocolateyPath "$env:SystemDrive\Program Files\MySQL\MySQL Server 5.5\bin" 'Machine'