From 5fdb9455aabdf9fb3aeab8f1aaa04d2fd0f3970a Mon Sep 17 00:00:00 2001 From: Mike MacCana Date: Sat, 2 Jan 2016 02:09:06 +0000 Subject: [PATCH] Use powershell rather than 'net start' to be consistent with other commands --- Install-Win32-OpenSSH.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index 69dab73..a136fca 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -14,13 +14,13 @@ * reboot * Install and run daemon as NT Service running as Local System * `.\sshd.exe install` - * `net start sshd` + * `Start-Service sshd` * Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic` ## Uninstall Win32 OpenSSH * Start Powershell as Administrator * Stop the service - * `net stop sshd` + * `Stop-Service sshd` * Uninstall * `.\sshd.exe uninstall`