Get-Cluster nameofcluster | Get-VMHost | Foreach { Start-VMHostService -HostService ($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”} ) }
Get-Cluster nameofcluster | Get-VMHost | Foreach {
Stop-VMHostService -HostService ($_ | Get-VMHostService | Where {
$_.Key -eq “TSM-SSH”} ) }
No comments:
Post a Comment