Use powershell rather than 'net start' to be consistent with other commands

Mike MacCana 2016-01-02 02:09:06 +00:00
parent 9f410db058
commit 5fdb9455aa

@ -14,13 +14,13 @@
* reboot * reboot
* Install and run daemon as NT Service running as Local System * Install and run daemon as NT Service running as Local System
* `.\sshd.exe install` * `.\sshd.exe install`
* `net start sshd` * `Start-Service sshd`
* Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic` * Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic`
## Uninstall Win32 OpenSSH ## Uninstall Win32 OpenSSH
* Start Powershell as Administrator * Start Powershell as Administrator
* Stop the service * Stop the service
* `net stop sshd` * `Stop-Service sshd`
* Uninstall * Uninstall
* `.\sshd.exe uninstall` * `.\sshd.exe uninstall`