Controle los servicios de Windows (IIS, OpenSSH, actualizaciones) en su VPS Windows.
📋 Requisitos previos
- Sesión RDP o PowerShell de administrador
- Nombre del servicio (p. ej.
W3SVC,sshd)
Listar servicios
PowerShellGet-Service | Sort-Object Status, Name | Format-Table -AutoSize
Controlar un servicio
PowerShellStop-Service -Name W3SVC -Force Start-Service -Name W3SVC Restart-Service -Name W3SVC
Configurar inicio automático
PowerShellSet-Service -Name sshd -StartupType Automatic Get-Service sshd
Comprobar errores recientes del sistema
PowerShellGet-EventLog -LogName System -Newest 20 | Where-Object { $_.EntryType -eq 'Error' }
¡Administración sólida! 🚀