VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot

Script to restart WSman service

HI All,

Is there a script which can restart WSman service from the list of hosts in text file.

One more information, I have by default ssh service in disabled start. So looking for script which should first start ssh service then, WSman service and then stop ssh service out in csv.

Regards

Raju Gunnal

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
1 Reply
LucD
Leadership
Leadership

You will need to enable SSH to the ESXi node, and then use plink.exe (from the PuTTY Suite) to do that.

See also  1.  Re: ESXi5.1 stops sync with the Dell Open manage essential...looking for script to restart WSMAN ser...


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos