Skip to content

Instantly share code, notes, and snippets.

@jeffgreenca
Created April 15, 2016 17:34
Show Gist options
  • Save jeffgreenca/ac6842672279f46fa287ee00c54b5335 to your computer and use it in GitHub Desktop.
Save jeffgreenca/ac6842672279f46fa287ee00c54b5335 to your computer and use it in GitHub Desktop.
Start SSH using PowerCLI
get-vmhost | % { start-vmhostservice -hostservice ($_ | Get-VMHostService | ? key -eq "TSM-SSH") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment