mirror of https://github.com/CrimsonTome/tldr.git
choice, net, sc, w32tm: remove locale from link; sc: update page, add alias pages (#11238)
* choice, net, sc, w32tm: remove locale from link * sc: update command syntax Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * sc-*: add alias pages Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>pull/23/head
parent
b3dbabb054
commit
905f5f4da0
|
@ -1,7 +1,7 @@
|
||||||
# choice
|
# choice
|
||||||
|
|
||||||
> Prompt user to select a choice and return the selected choice index.
|
> Prompt user to select a choice and return the selected choice index.
|
||||||
> More information: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/choice>.
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/choice>.
|
||||||
|
|
||||||
- Prompt the current user to select a `Y` or `N` choice:
|
- Prompt the current user to select a `Y` or `N` choice:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# net
|
# net
|
||||||
|
|
||||||
> System utility to view and modify network-related settings.
|
> System utility to view and modify network-related settings.
|
||||||
> More information: <https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11)>.
|
> More information: <https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11)>.
|
||||||
|
|
||||||
- Start or stop a Windows service synchronously:
|
- Start or stop a Windows service synchronously:
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# sc config
|
||||||
|
|
||||||
|
> This command is an alias of `sc.exe config`.
|
||||||
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sc-config>.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr sc`
|
|
@ -0,0 +1,8 @@
|
||||||
|
# sc create
|
||||||
|
|
||||||
|
> This command is an alias of `sc.exe create`.
|
||||||
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sc-create>.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr sc`
|
|
@ -0,0 +1,8 @@
|
||||||
|
# sc delete
|
||||||
|
|
||||||
|
> This command is an alias of `sc.exe delete`.
|
||||||
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sc-delete>.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr sc`
|
|
@ -0,0 +1,8 @@
|
||||||
|
# sc query
|
||||||
|
|
||||||
|
> This command is an alias of `sc.exe query`.
|
||||||
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sc-query>.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr sc`
|
|
@ -1,20 +1,20 @@
|
||||||
# sc
|
# sc
|
||||||
|
|
||||||
> Communicate with the Service Control Manager and services.
|
> Communicate with the Service Control Manager and services.
|
||||||
> More information: <https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sc-query>.
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/sc-query>.
|
||||||
|
|
||||||
- Show the status of a service (no service name will list all services):
|
- Show the status of a service (no service name will list all services):
|
||||||
|
|
||||||
`sc queryex {{service_name}}`
|
`sc.exe query {{service_name}}`
|
||||||
|
|
||||||
- Start a service asynchronously:
|
- Start a service asynchronously:
|
||||||
|
|
||||||
`sc start {{service_name}}`
|
`sc.exe create {{service_name}} binpath= {{path\to\service_binary_file}}`
|
||||||
|
|
||||||
- Stop a service asynchronously:
|
- Stop a service asynchronously:
|
||||||
|
|
||||||
`sc stop {{service_name}}`
|
`sc.exe delete {{service_name}}`
|
||||||
|
|
||||||
- Set the type of a service:
|
- Set the type of a service:
|
||||||
|
|
||||||
`sc config {{service_name}} type= {{service_type}}`
|
`sc.exe config {{service_name}} type= {{service_type}}`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# w32tm
|
# w32tm
|
||||||
|
|
||||||
> Query and control the w32time time synchronization service.
|
> Query and control the w32time time synchronization service.
|
||||||
> More information: <https://learn.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings>.
|
> More information: <https://learn.microsoft.com/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings>.
|
||||||
|
|
||||||
- Show the current status of time synchronization:
|
- Show the current status of time synchronization:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue