Get-AppvVirtualProcess

Displays the virtual processes running on a computer.

Syntax

Get-AppvVirtualProcess
   [[-Name] <String[]>]
   [-ComputerName <String[]>]
   [-Module]
   [-FileVersionInfo]
   [<CommonParameters>]
Get-AppvVirtualProcess
   -Id <Int32[]>
   [-ComputerName <String[]>]
   [-Module]
   [-FileVersionInfo]
   [<CommonParameters>]
Get-AppvVirtualProcess
   [-ComputerName <String[]>]
   [-Module]
   [-FileVersionInfo]
   -InputObject <Process[]>
   [<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.

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

-FileVersionInfo

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

Type:SwitchParameter
Aliases:FV, FVI
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Specifies the Virtual Process ID.

Type:Int32[]
Aliases:PID
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-InputObject

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

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

-Module

Specifies a module.

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

-Name

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

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

Inputs

System.Diagnosis.Process