MIniconda Upgrade

Hello,
I am new to Miniconda, I have been tasked to re-install / upgrade Miniconda on 20 servers. I would appreciate some assistance / guidance on the below challenges:

  1. How do I keep existing configurations the same post upgrade / reinstall.
  2. CLI command or switches to be supplied so that the installation is in a particular path /drive (D).
  3. Validate pre & post installation.