Skip to content

Get NugetInstallationFolder

apobekiaris edited this page Sep 4, 2020 · 5 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Get-NugetInstallationFolder

SYNOPSIS

Retrieves the Nuget packages installation folders

SYNTAX

Get-NugetInstallationFolder [[-Locations] <String[]>] [<CommonParameters>]

DESCRIPTION

Retrieves the Nuget packages installation folders

EXAMPLES

Example 1

PS C:\> Get-NugetInstallationFolder
C:\Program Files (x86)\dotnet\sdk\NuGetFallbackFolder
C:\Users\Tolis\.nuget\packages
C:\Users\Tolis\AppData\Local\Nuget\v3-cache
C:\Users\Tolis\AppData\Local\Temp\NugetScratch
C:\Users\Tolis\AppData\Local\Nuget\plugins-cache

List all nuget installation folders on the machine.

PARAMETERS

-Locations

{{ Fill Locations Description }}

Type: String[]
Parameter Sets: (All)
Aliases:
Accepted values: NuGetFallbackFolder, GlobalPackagesFolder, HttpCache, TempCache, PluginCache

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally