Get-RdsStartMenuApp
Lists start menu applications available for publishing to an app group.
Syntax
Default (Default)
Get-RdsStartMenuApp
[-TenantName] <String>
[-HostPoolName] <String>
[-AppGroupName] <String>
[<CommonParameters>]
Description
The Get-RdsStartMenuApp cmdlet lists start menu applications available for publishing to the specified app group. Applications listed when running this command can be published with the New-RdsRemoteApp cmdlet by providing the app alias.
Applications may not be listed when running this command if it is not installed on all session hosts in the host pool or if the application does not have a registered shortcut in the start menu.
Examples
Example 1: List all start menu applications available for publishing to an app group
PS C:\> Get-RdsStartMenuApp -TenantName "contoso" -HostPoolName "contosoHostPool" -AppGroupName "officeApps"
TenantGroupName : Default Tenant Group
TenantName : contoso
HostPoolName : contosoHostPool
AppGroupName : officeApps
AppAlias : excel
FriendlyName : Excel
FilePath : C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE
CommandLineArguments :
IconPath : C:\Program Files\Microsoft
Office\Root\VFS\Windows\Installer\{90160000-000F-0000-1000-0000000FF1CE}\xlicons.exe
IconIndex : 0
TenantGroupName : Default Tenant Group
TenantName : contoso
HostPoolName : contosoHostPool
AppGroupName : officeApps
AppAlias : powerpoint
FriendlyName : PowerPoint
FilePath : C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE
CommandLineArguments :
IconPath : C:\Program Files\Microsoft
Office\Root\VFS\Windows\Installer\{90160000-000F-0000-1000-0000000FF1CE}\pptico.exe
IconIndex : 0
This command list of start menu applications available for publishing to the specified app group.
Parameters
-AppGroupName
The name of the app group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 2 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-HostPoolName
The name of the host pool.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-TenantName
The name of the tenant.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| 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.