Edit

Share via


Get-AppvVirtualProcess

Displays the virtual processes running on a computer.

Syntax

Name (Default)

Get-AppvVirtualProcess
    [[-Name] <String[]>]
    [-ComputerName <String[]>]
    [-Module]
    [-FileVersionInfo]
    [<CommonParameters>]

Id

Get-AppvVirtualProcess
    -Id <Int32[]>
    [-ComputerName <String[]>]
    [-Module]
    [-FileVersionInfo]
    [<CommonParameters>]

InputObject

Get-AppvVirtualProcess
    -InputObject <Process[]>
    [-ComputerName <String[]>]
    [-Module]
    [-FileVersionInfo]
    [<CommonParameters>]

Description

The Get-AppvVirtualProcess cmdlet displays each of the virtual processes that are running on a computer.

Examples

Example 1: Display all active virtual processes

PS C:\> Get-AppvVirtualProcess

This command displays all active virtual processes.

Example 2: Display file information for a virtual process

PS C:\> Get-AppvVirtualProcess -Name "myVirtualProcess" -FileVersionInfo

This command displays file information for the process named myVirtualProcess.

Example 3: Display file information for a virtual process by using the pipeline operator

PS C:\> Get-Process -Name "myVirtualProcess" | Get-AppvVirtualProcess -FileVersionInfo

This command displays file information for the process named myVirtualProcess.

Parameters

-ComputerName

Specifies an array of computer names.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Cn

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-FileVersionInfo

Indicates that this cmdlet returns the ProductVersion, FileVersion and un-virtualized Filename for each ProcessName.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:FV, FVI

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Specifies the Virtual Process ID.

Parameter properties

Type:

Int32[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:PID

Parameter sets

Id
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Parameter properties

Type:

Process[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

InputObject
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Module

Specifies a module.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of a process, which is also known as ProcessName.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:ProcessName

Parameter sets

Name
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
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.

Inputs

System.Diagnosis.Process