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

Re: PowerCLI command to restart management agents on an ESXi 5.1 host

$
0
0

OK great - thanks.  It seems to restart the agents, but it generates this error:

 

Restart-VMHostService :     Restart-VMHostService        An error occurred while communicating with
the remote host.
At line:1 char:106
+ get-vmhostservice -vmhost esx12.internal.com | where {$_.Key -eq "vpxa"} | Restart-VMHostService <<<<  -conf
irm:$false
    + CategoryInfo          : NotSpecified: (:) [Restart-VMHostService], HostCommunication
    + FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_SetVMHostService_ViError,VMware.VimAutomation.ViCor
   e.Cmdlets.Commands.RestartVMHostService

 

Can this error be avoided?


Viewing all articles
Browse latest Browse all 228631

Trending Articles



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