Why can’t I start sshd using PowerShell?

Why do I get the following error upon running
Start-Service sshd? I have been able to start the service successfully before on this machine so I know that it’s installed.

Start-Service : Service ‘OpenSSH SSH Server (sshd)’ cannot be started due to
the following error: Cannot open sshd service on computer ‘.’.
At line:1 char:1

  • Start-Service sshd + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController)
    [Start-Service], ServiceCommandException
  • FullyQualifiedErrorId : CouldNotStartService,Microsoft.Power
    Shell.Commands.StartServiceCommand