Get-ComputeProcess

Gets a list of running compute systems from the Hyper-V Host Compute Service.

Syntax

Get-ComputeProcess
   [[-Name] <String[]>]
   [-Owner <String[]>]
   [-Type <ComputeProcessType[]>]
   [<CommonParameters>]
Get-ComputeProcess
   [-Id] <String[]>
   [<CommonParameters>]

Description

The Get-ComputeProcess cmdlet gets a list of running compute systems from the Hyper-V Host Compute Service, including virtual machines and containers.

You must run this cmdlet from an elevated PowerShell session.

Parameters

-Id

Specifies an array of IDs of compute systems that this cmdlet gets.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the compute system that this cmdlet gets.

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

-Owner

Specifies the management client that owns the compute systems that this cmdlet gets.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Type

Specifies the type of compute systems that this cmdlet gets. The acceptable values for this parameter are: VirtualMachine and Container.

Type:ComputeProcessType[]
Accepted values:Container, VirtualMachine
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False