Using ESXCLI
OutputLast Updated December 16, 2024
Many ESXCLI commands generate output
you might want to use in your application. You can run
esxcli
with the
--formatter
dispatcher option and send the resulting output as input to
a parser. The
--formatter
option supports three
values - csv
, xml
, and keyvalue
and
is used before any namespace. The following example lists all
file system information in CSV format.
You can pipe the output to a
file.
You
should always use a formatter for consistent output.