Solved

How To Restart VMWare ESXI WSMAN Service via CLI

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

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 119
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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 install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

810 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