DCLI maintains a history file for each DCLI client that runs in interactive mode. The file stores information on a per-user basis and not on a per-client basis.

You can find the file at the following location.

Platform

Location

Windows

C:\Users\<username>\AppData\VMware\vapi\dcli.log

vCenter Server Appliance

/var/log/vmware/vapi/dcli.log