Get-ChocolateyPath

Get-ChocolateyPath

Get-ChocolateyPath

Retrieve the paths available to be used by maintainers of packages.

Syntax

Get-ChocolateyPath `
  -PathType <String> [<CommonParameters>]

Description

This function will attempt to retrieve the path according to the specified Path Type to a valid location that can be used by maintainers in certain scenarios.

Notes

Available in 1.2.0+.

Aliases

None

Examples

EXAMPLE 1


$path = Get-ChocolateyPath -PathType 'PackagePath'

Inputs

None

Outputs

None

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters http://go.microsoft.com/fwlink/p/?LinkID=113216 .

Function Reference

:choco-info: NOTE

This documentation has been automatically generated from Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Get-ChocolateyPath -Full.

View the source for Get-ChocolateyPath