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

Assisted Solution

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

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 119
ID: 39192166
you can use plink, to script this from command line.....

./wsman restart

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

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…
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 …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

808 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