Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How To Restart VMWare ESXI WSMAN Service via CLI

Posted on 2013-05-23
5
Medium Priority
?
2,508 Views
Last Modified: 2013-05-23
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
Comment
Question by:afro4cboss
5 Comments
 
LVL 9

Assisted Solution

by:BigPapaGotti
BigPapaGotti earned 668 total points
ID: 39192052
Check this out. Is this what you are looking for?

http://communities.vmware.com/thread/405963?start=0&tstart=0
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 668 total points
ID: 39192122
the majority of services in ESXi are controlled by the services.sh "script"

/sbin/services.sh restart
0
 
LVL 3

Assisted Solution

by:Mahoney-84
Mahoney-84 earned 664 total points
ID: 39192123
download Putty>

SSH into your ESX host>

Login using root>

run the following >

/etc/init.d/wsman restart
0
 

Author Closing Comment

by:afro4cboss
ID: 39192160
I knew I could count on you!
0
 
LVL 124
ID: 39192166
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question