• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2581
  • Last Modified:

How To Restart VMWare ESXI WSMAN Service via CLI

Hello,

   I am trying to find-out if there is a way to check the status/restart the WSMAN service on a ESXi 5 host using the Command Line Interface on my computer (same domain)? I am trying to determine if this service is running on a few hosts in my enviroment.
0
afro4cboss
Asked:
afro4cboss
3 Solutions
 
BigPapaGottiCommented:
Check this out. Is this what you are looking for?

http://communities.vmware.com/thread/405963?start=0&tstart=0
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the majority of services in ESXi are controlled by the services.sh "script"

/sbin/services.sh restart
0
 
Mahoney-84Commented:
download Putty>

SSH into your ESX host>

Login using root>

run the following >

/etc/init.d/wsman restart
0
 
afro4cbossAuthor Commented:
I knew I could count on you!
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you can use plink, to script this from command line.....

./wsman restart

http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now