How To Restart VMWare ESXI WSMAN Service via CLI

Posted on 2013-05-23
Last Modified: 2013-05-23

   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.
Question by:afro4cboss
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Assisted Solution

BigPapaGotti earned 167 total points
ID: 39192052
Check this out. Is this what you are looking for?
LVL 121

Accepted Solution

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

/sbin/ restart

Assisted Solution

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

SSH into your ESX host>

Login using root>

run the following >

/etc/init.d/wsman restart

Author Closing Comment

ID: 39192160
I knew I could count on you!
LVL 121
ID: 39192166
you can use plink, to script this from command line.....

./wsman restart

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

691 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