Quantcast
Channel: VMware Communities : Unanswered Discussions - ESXi
Viewing all articles
Browse latest Browse all 4823

run shell script in ESXi

$
0
0

Hi. I have lots of esxcli commands that we are using to move hosts to new arrays. So unmounting datastores, detaching the scsi naa, removing the dead path, etc.

 

Can I just add these to a shell script ie, #!\bin\bash and just dump all these esxcli commands in there? And where would I save it? The scratch partition? I cant do all the esxcli commands we have wiht powercli. So I rather than shove them in shell script and copy it to all our hosts. Thanks,,,


Viewing all articles
Browse latest Browse all 4823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>