Logo
  • Home
  • Projects
  • Recent Blog Posts
  • About
  • Guests
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • Active-Directory
  • API
  • Aria
  • Aria Ops
  • Auto-Deploy
  • Azure
  • Certificates
  • Certification
  • Credentials
  • Dashboards
  • DevOps
  • ESXCLI
  • Fusion
  • Homelab
  • KMS
  • NSX
  • Packer
  • PowerCLI
  • PowerShell
  • SMTP
  • SRM
  • Templates
  • Terraform
  • VCF
  • VCF Ops
  • VMTools
  • VMUG
  • VMware
  • VMworld
  • VRealize
  • VRLI
  • VROps
  • VSAN
  • VSphere
Hero Image
Administering ESXi Hosts With ESXCLI using PowerCLI

There are times as a vSphere admin, you are going to want to run ESXCLI commands against multiple ESXi Hosts from a central location. This could be for configuration / administration, reporting, patching or a number of other things. Recently I have been testing different values in the /DataMover/MaxHWTransferSize advanced setting. To make life easier, I wanted a way to change multiple hosts quickly and easily. To do this, I customised a script that Luc Dekens posted as a solution to a problem someone was having that can be used to send ESXCLI commands to multiple hosts using PowerCLI and plink.exe. This slightly modified version uses a CSV file as a source containing my hosts FQDN and the username and password I will be connecting with.

  • ESXCLI
  • PowerCLI
  • vSphere
Wednesday, February 10, 2021 | 3 minutes Read

Liability Notice: All content provided on this blog is for informational purposes only. I make no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. I will not be liable for any errors or omissions in this information nor for the availability of this information. I will not be liable for any losses, injuries, or damages from the display or use of this information. The opinions expressed here are my personal opinions. Content published here is not read or approved in advance by any company mentioned and does not necessarily reflect the views and opinions of those companies nor does it constitute any official communication therein. Always check official documentation hosted by either company for support or verified technical information.


© 2026 Copyright.
Powered by Hugo Logo