winrs: run remote commands on Windows without remote desktop

Execute commands on remote machines with winrs (Windows Remote Shell) without needing RDP. Ideal for bulk server administration from Cerewro with AI interpretation of each result.

winrs: administración remota sin GUI

winrs (Windows Remote Shell) permite ejecutar comandos en equipos remotos usando el protocolo WinRM (Windows Remote Management). Es la alternativa ligera a RDP cuando solo necesitas ejecutar comandos, no ver el escritorio.

Ejecutar comando en equipo remoto
winrs -r:servidor01 ipconfig /all
Abrir shell interactiva remota
winrs -r:servidor01 cmd
Con credenciales explícitas
winrs -r:servidor01 -u:DOMINIO\admin -p:contraseña "systeminfo"

Configurar WinRM en el servidor destino

Habilitar WinRM (en el servidor remoto)
winrm quickconfig -q
PowerShell — Ejecutar script remoto
Invoke-Command -ComputerName servidor01 -ScriptBlock {
    Get-Process | Sort-Object CPU -Descending | Select-Object -First 10
}
Sesión persistente PowerShell remota
$sesion = New-PSSession -ComputerName servidor01
Enter-PSSession $sesion
# ... ejecutas comandos ...
Exit-PSSession
Remove-PSSession $sesion
Administración masiva: Pide a Cerewro "Reinicia el servicio IIS en todos los servidores web de producción". La IA genera el script con Invoke-Command para ejecutarlo en múltiples servidores en paralelo.