mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
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>
This commit is contained in:
parent
b3dbabb054
commit
905f5f4da0
8 changed files with 40 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# choice
|
||||
|
||||
> 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:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# net
|
||||
|
||||
> 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:
|
||||
|
||||
|
|
8
pages/windows/sc-config.md
Normal file
8
pages/windows/sc-config.md
Normal file
|
@ -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`
|
8
pages/windows/sc-create.md
Normal file
8
pages/windows/sc-create.md
Normal file
|
@ -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`
|
8
pages/windows/sc-delete.md
Normal file
8
pages/windows/sc-delete.md
Normal file
|
@ -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`
|
8
pages/windows/sc-query.md
Normal file
8
pages/windows/sc-query.md
Normal file
|
@ -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
|
||||
|
||||
> 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):
|
||||
|
||||
`sc queryex {{service_name}}`
|
||||
`sc.exe query {{service_name}}`
|
||||
|
||||
- Start a service asynchronously:
|
||||
|
||||
`sc start {{service_name}}`
|
||||
`sc.exe create {{service_name}} binpath= {{path\to\service_binary_file}}`
|
||||
|
||||
- Stop a service asynchronously:
|
||||
|
||||
`sc stop {{service_name}}`
|
||||
`sc.exe delete {{service_name}}`
|
||||
|
||||
- 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
|
||||
|
||||
> 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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue