#start vmhost services Get-VMHost ` | ForEach {start -VMHostService -HostService ($_ | Get-VMHostService | Where {$_.Key -eq “TSM-SSH”})}
#stop vmhost services Get-VMHost ` | ForEach {Stop-VMHostService -HostService ($_ | Get-VMHostService | Where {$_.Key -eq “TSM-SSH”}) -Confirm:$FALSE}
#get vmhost services status Get-VMHost | get-vmhostservice
本文出自 “汜水流年_” 博客,请务必保留此出处http://timefiles.blog.51cto.com/8475652/1956855
原文地址:http://timefiles.blog.51cto.com/8475652/1956855