mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 14:15:51 +02:00

Co-authored-by: Darío Hereñú <magallania@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
17 lines
555 B
Markdown
17 lines
555 B
Markdown
# Start-Service
|
|
|
|
> Inicia servicios detenidos.
|
|
> Nota: Este comando solo puede usarse a través de PowerShell.
|
|
> Más información: <https://learn.microsoft.com/powershell/module/microsoft.powershell.management/start-service>.
|
|
|
|
- Iniciar un servicio usando su nombre:
|
|
|
|
`Start-Service -Name {{nombre_del_servicio}}`
|
|
|
|
- Mostrar información sin iniciar un servicio:
|
|
|
|
`Start-Service -DisplayName *{{nombre}}* -WhatIf`
|
|
|
|
- Iniciar un servicio deshabilitado:
|
|
|
|
`Set-Service {{nombre_del_servicio}} -StartupType {{manual}}; Start-Service {{nombre_del_servicio}}`
|