external help file: containers-toolkit-help.xml Module Name: containers-toolkit online version: schema: 2.0.0
Uninstalls Containerd.
Uninstall-Containerd [[-Path] <String>] [-Purge] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
To uninstall Containerd, this function first stops Containerd service and unregisters Containerd service. The Containerd directory is then deleted and Containerd is removed from the environment path.
Uninstall Containerd from the default path.
PS C:\> Uninstall-ContainerdBypass confirmation to uninstall Containerd
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseContainerd path
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: $Env:ProgramFiles\Containerd
Accept pipeline input: False
Accept wildcard characters: FalseDelete all Containerd 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.