In this recipe, we will learn how to issue commands on the added target vCenter Servers or ESXi hosts.
The following procedures explain how to set a target server and issue direct commands to it. We will discuss all three methods.
vifptarget –s <servername>
vifptarget –s host001.vdescribed.lab vifptarget –s vcenterhost001.vdescribed.lab
esxcli system version get