Get-AppvVirtualProcess
Get-AppvVirtualProcess is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Displays the virtual processes running on a computer.
Description
The Get-AppvVirtualProcess cmdlet displays each of the virtual processes that are running on a computer.
Parameters
-ComputerName
Specifies an array of computer names.
Type: | String[] |
Aliases: | Cn |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
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 |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Specifies the Virtual Process ID.
Type: | Int32[] |
Aliases: | PID |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
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 |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
-Module
Specifies a module.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
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 |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
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>]
——————-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 “AppVirtualProcess” -FileVersionInfo
This command displays file information for the process named AppVirtualProcess.
——————-Example 3——————-
Display file information for a virtual process by using the pipeline operator
PS C:\> Get-Process -Name “AppVirtualProcess” | Get-AppvVirtualProcess -FileVersionInfo
This command displays file information for the process named AppVirtualProcess.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-AppvVirtualProcess
You can also read about
- Start-AppvVirtualProcess