Set host group – Dell PowerVault MD3000 User Manual

Page 178

Advertising
background image

178

Script Commands

NOTE:

When you use this command, you can specify one or more of the optional

parameters. You do not, however, need to use all of the parameters.

NOTE:

You can use any combination of alphanumeric characters, hyphens, and

underscores for the names. Command names can have a maximum of 30
characters. If you exceed the maximum character limit, replace square brackets
([ ]) with angle brackets (< >) to overcome this limitation.

Examples

-c "set host [job2900] hostGroup=none userLabel=

\"job2900\" hostType=0;"

-c "set host [\"pe2900\"] userLabel=\"pe2901\";"

Set Host Group

This command renames a host group.

Syntax

set hostGroup [

hostGroupName

] userLabel=

"

newHostGroupName

"

Parameters

NOTE:

You can use any combination of alphanumeric characters, hyphens, and

underscores for the names. Command names can have a maximum of 30
characters. If you exceed the maximum character limit, replace square brackets
([ ]) with angle brackets (< >) to overcome this limitation.

Parameter

Description

hostGroup

Name of the host group to rename. You must put
brackets ([ ]) around the host group name. If the
host group name has special characters, you must
also put quotation marks (" ") around the host
group name.

userLabel

New name for the host group. You must put
quotation marks (" ") around the host group
name.

Advertising