Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Script for ssh service start then followed by other commands

$
0
0

Hi All,

 

I was trying to merge esxi SSH service start then following by other command in same script but unable to merge the same. Can someone good at powercli help me in creating such script.

 

The following activities should be done in script.

 

-> Start SSH service for esxi host (Specific Cluster in vCenter)

Then

-> esxcli sched swap system set -l false

then

-> esxcli system corefump file remove -F

 

Then stop the SSH service

 

 

 

the above 4 steps should be included in one script.

 

Thanks in Advance.

 

 

 


Viewing all articles
Browse latest Browse all 8132

Trending Articles



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