mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-28 08:24:27 +02:00
Use powershell rather than 'net start' to be consistent with other commands
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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user