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
Robson Cruz 2023-10-25 13:56:53 -03:00 committed by GitHub
parent b3dbabb054
commit 905f5f4da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 8 deletions

View File

@ -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:

View File

@ -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:

View 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`

View 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`

View 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`

View 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`

View File

@ -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}}`

View File

@ -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: