Solved

How To Restart VMWare ESXI WSMAN Service via CLI

Posted on 2013-05-23
5
2,241 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
[X]
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
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 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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 120
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

726 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