DCLI History File
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.
Specify the maximum number of commands to be stored with the DCLI_HISTSIZE variable. Default is 500 commands.
You can find the file at the following location:
Windows: C:\Users\<username>\AppData\VMware\vapi\dcli.log
vCenter Server Appliance: /var/log/vmware/vapi/dcli.log