Solved

How To Restart VMWare ESXI WSMAN Service via CLI

Posted on 2013-05-23
5
2,109 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 167 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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 167 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 166 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 118
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now