I'm looking to collect the ESXi host code dumps in centralized location. Any help will be much appreciated.
Are you talking about configuring Syslog on the hosts? If so you can follow the guide below:
Are you trying to retain post-PSOD reboot support dumps (vm-support)? If so, that's the persistent scratch location which I typically set to a shared Datastore. If that's what you mean, let me know and I can show you the script I use for that.