Get-ComputeProcess
Gets a list of running compute systems from the Hyper-V Host Compute Service.
Syntax
Filters (Default)
Get-ComputeProcess
[[-Name] <String[]>]
[-Owner <String[]>]
[-Type <ComputeProcessType[]>]
[<CommonParameters>]
Id
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.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Id
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of the compute system that this cmdlet gets.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Filters
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Owner
Specifies the management client that owns the compute systems that this cmdlet gets.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Filters
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Type
Specifies the type of compute systems that this cmdlet gets. The acceptable values for this parameter are: VirtualMachine and Container.
Parameter properties
Type: | ComputeProcessType[] |
Default value: | None |
Accepted values: | Container, VirtualMachine |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Filters
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.