Citrix Virtual Apps and Desktops SDK

Get-BrokerMachineStartMenuShortcuts

Retrieves the Start Menu Shortcuts from the specified machine.

Syntax

Get-BrokerMachineStartMenuShortcuts
   [-MachineName] <String>
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

Retrieves the shortcuts defined for all the start menu items on a particular machine. The shortcuts obtained are from the ‘All users’ start menu; user-specific shortcuts are not found.

Examples

EXAMPLE 1

This example retrieves all Start Menu Shortcuts from ‘MyDomain\MyMachine’.

$shortcuts = Get-BrokerMachineStartMenuShortcuts -MachineName 'MyDomain\MyMachine'
<!--NeedCopy-->

Parameters

-MachineName

Specify the name of the machine to use for shortcut retrieval. The machine can be identified by DNS name, short name, SID, or name of the form domain\machine.

Type: String
Position: 2
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: True

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You cannot pipe input into this cmdlet.

Outputs

None or Citrix.Broker.Admin.SDK.StartMenuShorcut

Get-BrokerMachineStartMenuShortcuts generates an array of Citrix.Broker.Admin.SDK.StartMenuShortcut objects.

Get-BrokerMachineStartMenuShortcuts