18 lines
555 B
Markdown
18 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}}`
|