< Back

Get-ChocoInfo

Mon Jan 13, 2020 1:16 am

NAME Get-ChocoInfo



SYNOPSIS

Get-Choco queries the Chocolatey Package Repository for a given PackageName.





SYNTAX

Get-ChocoInfo [-PackageName] <String[]> [<CommonParameters>]



Get-ChocoInfo [-PackageName] <String[]> -OutputPath <String> [<CommonParameters>]





DESCRIPTION

Get-Choco queries the Chocolatey Package Repository for a given PackageName and returns a custom object containing

the name, the author and a path to a temporarily downloaded image.





PARAMETERS

-PackageName <String[]>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-OutputPath <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS>Get-ChocoInfo -PackageName GoogleChrome



Returns Package Data Object for GoogleChrome









-------------------------- EXAMPLE 2 --------------------------



PS>Get-ChocoInfo -PackageName GoogleChrome -OutputPath "$Env:temp\\ChocoApp"



Returns Package Data for Google Chrome as JSON File in $env:temp\\ChocoApp











RELATED LINKS