Creating Context-Menu-Groups

New userdefined Context-Menu-Groups are created through using the New-EmdbUITaskGroup cmdlet.


Examples:


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


The following example creates an new userdefined Context-Menu-Group named "Computermanagement":


New-EmdbUITaskGroup "Computermanagement"


Note: According to the creation of Context-Menu-Groups in the DSMC, the prefix "Custom_" is automatically added to the name. This can be circumvented through using the -NoCustomPrefix switch. However, it is strongly recommended to not using this switch and stick to the standard behaviour. 


You can additionally specify an alternative display name of a Context-Menu-Group through using the switch -DisplayName. The following example creates a new Context-Menu-Group named "Computermanagement" and sets its display name to "Manage...":


New-EmdbUITaskGroup "Computermanagement" -DisplayName "Manage..."


If you are working in an international environment, the display names for the different languages supported by DSM 2014.1 can be specified. To achieve this, you supply a hash-table as the value of the DisplayName-switch, where each element consists of the combination <culturecode>=<displayname> and the elements are separated by semicolons.


New-EmdbUITaskGroup "Computermanagement" -DisplayName @{de="Computerverwaltung";en="Computermanagement"}


Note: Note that Context-Menu-Group objects are not part of the context rootDSE and therefore they can be referenced without a full qualified path resp. an absolute path.