Skip to content

Latest commit

 

History

History
129 lines (92 loc) · 2.47 KB

File metadata and controls

129 lines (92 loc) · 2.47 KB

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

Uninstall-Containerd

SYNOPSIS

Uninstalls Containerd.

SYNTAX

Uninstall-Containerd [[-Path] <String>] [-Purge] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

Example 1

Uninstall Containerd from the default path.

PS C:\> Uninstall-Containerd

PARAMETERS

-Force

Bypass confirmation to uninstall Containerd

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Path

Containerd path

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: $Env:ProgramFiles\Containerd
Accept pipeline input: False
Accept wildcard characters: False

-Purge

Delete 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: False

-Confirm

Prompts 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: False

-WhatIf

Shows 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: 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.

RELATED LINKS