Reset-PSGallery
SYNOPSIS
Reset gallery to default settings
SYNTAX
Reset-PSGallery [[-Repository] <String>] [-Force] [<CommonParameters>]
DESCRIPTION
Reset gallery to default settings
EXAMPLES
EXAMPLE 1
Reset-PSGallery
PARAMETERS
-Repository
Will Install PowerShellGet from another repository.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: PSGallery
Accept pipeline input: False
Accept wildcard characters: False
-Force
Force the reinstall
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.