Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 1.82 KB

File metadata and controls

80 lines (56 loc) · 1.82 KB

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

Stop-ContainerdService

SYNOPSIS

Stops Containerd service.

SYNTAX

Stop-ContainerdService [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Stops Containerd service and waits for 30 seconds for the service to stop. If the service does not stop within the this time, execution terminates with an error.

EXAMPLES

Example 1

Stop Containerd Service.

PS C:\> Stop-ContainerdService

PARAMETERS

-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