The following procedure describes how to use the export all subcommand to save the current hardware configuration and status information of a server and its subsystems to a file.
# hwmgmtcli export all --filename filename.xml
where filename is the file to which you want to export the current system or subsystem information.
The current information is exported to the specified filename.xml file.