Stop-Compute Process

Stops a running compute system in the Hyper-V Host Compute Service.

Syntax

Stop-ComputeProcess
    [-Id] <String>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
Stop-ComputeProcess
    -ComputeProcess <ComputeProcess[]>
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Stop-ComputeProcess cmdlet stops a running compute system in the Hyper-V Host Compute Service.

Required Parameters

-ComputeProcess

Specifies an array of compute systems that this cmdlet stops. To obtain a ComputeProcess object, use the Get-ComputeProcess cmdlet.

Type: ComputeProcess[]
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Id

Specifies the ID of a compute system that this cmdlet stops.

Type: String
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False