Get-WmsApp 
	Gets a collection of currently running applications in a session.
Syntax
Default (Default)
Get-WmsApp
    [-SessionId] <UInt32>
    [-Server <String>]
    [<CommonParameters>]
Description
The Get-WmsApp cmdlet gets a collection of the currently running applications in a specified session. It also gets the process ID, window ID, and process creation time of the applications.
Examples
Example 1: Get running applications
PS C:\> Get-WmsApp -SessionId 3
Name                                                               ProcessId                                WindowId                           CreateTime
----                                                               ------                                   ----                               ----------
Calculator                                                         4228                                     197108                             129937600254314944
This command gets the applications that are running in session 3.
Parameters
-Server
Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.
Parameter properties
| Type: | String | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
| Aliases: | ComputerName | 
Parameter sets
(All)
| Position: | Named | 
| Mandatory: | False | 
| Value from pipeline: | False | 
| Value from pipeline by property name: | True | 
| Value from remaining arguments: | False | 
-SessionId 
		Specifies the ID of a Remote Desktop Session (RDS).
Parameter properties
| Type: | UInt32 | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
Parameter sets
(All)
| Position: | 0 | 
| Mandatory: | True | 
| 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.