Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230656

Restart wsman service via PowerCLI?

$
0
0

We use Dell OpenManage to monitor our host CIM data. There is currently a known issue which requires the wsman service to be restarted:  http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2043464

 

I was hoping to accomplish this via the PowerCLI. Here is the command I attempted to use:

 

Get-Cluster -Name "ClusterName" | get-vmhost | Get-VMHostService | ? {($_.Key -eq "wsman") -and ($_.Running -eq $True)} | Restart-VMHostService

 

wsman is not listed in the result set. Is there any way for me to control this service via the PowerCLI?


Viewing all articles
Browse latest Browse all 230656


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>