external help file: containers-toolkit-help.xml Module Name: containers-toolkit online version: schema: 2.0.0
Uninstalls nerdctl.
Uninstall-Nerdctl [[-Path] <String>] [-Purge] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
To uninstall nerdctl, the nerdctl directory is deleted and nerdctl is removed from the environment path.
Uninstall nerdctl from the default path.
PS C:\> Uninstall-NerdctlBypass confirmation to uninstall nerdctl
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: Falsenerdctl path
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: $Env:ProgramFiles\nerdctl
Accept pipeline input: False
Accept wildcard characters: FalseDelete all nerdctl program files and program data.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.