Invoking Context-Menu-Entries

Hint:  The architecture of the system allows the PowerShell Extensions to execute user defined tasks on the Business Logic Server only. Executing tasks that are usually run by the DSM Console is not covered in this section.



Context menu entries, i.e. user defined tasks, are invoked using the cmdlet Invoke-EmdbUITask.


Examples:


Hint: The execution of these examples requires a connected PowerShell drive.


First the user defined task is retrieved:


$MyUITask = Get-EmdbUITask "Custom_Ping..."


Now the user defined task can be executed:


Invoke-EmdbUITask -UITask $MyUITask


Note that the task is executed on the Business Logic Server, the cmdlet parameter ExecutionTarget is set to the default value 'BLS' and can not be changed.