Skip to content

Clear NugetCache

apobekiaris edited this page Sep 4, 2020 · 9 revisions

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

Clear-NugetCache

SYNOPSIS

Clears all local nuget caches.

SYNTAX

Clear-NugetCache [[-Filter] <String[]>] [-SkipVersionConverter] [-Recurse] [<CommonParameters>]

DESCRIPTION

Clears all local nuget caches. The nuget.exe will be downloaded if not exists in order to run this. function

EXAMPLES

Example 1

PS C:\>  Clear-NugetCache

Clear all the packages of the main Nuget repository.

PARAMETERS

-Filter

{{ Fill Filter Description }}

Type: String[]
Parameter Sets: (All)
Aliases:
Accepted values: XpandPackages, DevExpress

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

-Recurse

{{ Fill Recurse Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-SkipVersionConverter

{{ Fill SkipVersionConverter Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
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