How to enter spaces into a Smarts dmctl command.
search cancel

How to enter spaces into a Smarts dmctl command.

book

Article ID: 303833

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

Executing a dmctl command which contains spaces.



On Windows:

Add single quotes around the text containing spaces.  For example, from BASEDIR\smarts\bin run the following:
     dmctl -s <server name> get ICF_Configuration::'CFG-Polling Groups/Hubs and Bridges'

On UNIX:

Place quotes around the text containing spaces.  Escape the " (quotations) with backslashes so they get passed to the dmctl command and do not get interpreted by the shell.  For example, run the following from BASEDIR/smarts/bin:
     ./dmctl Test-Server  get Configuration::\"CFG-System Resource Groups/Switches\"