⚠️ Revise variables
<PLACEHOLDER>antes de ejecutar. Nada de credenciales en texto: use variables/secret manager.
1) Resumen del sistema
hostname; Get-ComputerInfo | Select CsName, WindowsProductName, WindowsVersion, OsBuildNumber; (Get-CimInstance win32_operatingsystem).LastBootUpTime
2) Espacio en disco (todas las unidades)
Get-PSDrive -PSProvider FileSystem | Select Name, @{n='GB_Free';e={[math]::Round($_.Free/1GB,1)}}, @{n='GB_Total';e={[math]::Round($_.Used/1GB + $_.Free/1GB,1)}}
3) Servicios no en Running
Get-Service | Where-Object {$_.Status -ne 'Running'} | Sort Status,Name | ft -AutoSize
4) Reiniciar servicio con reintentos
$svc="<SERVICE>"; 1..3 | % {Try{Restart-Service $svc -ErrorAction Stop; break}catch{Start-Sleep 5}}
5) Red rápida (DNS/puerto)
Test-NetConnection -ComputerName <DESTINO> -Port <PUERTO>; Resolve-DnsName <FQDN>
``**
**6) Eventos Error 24h (Application)**
```powershell
Get-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddDays(-1)} | Select TimeCreated, Id, ProviderName, Message -First 50
7) Programas instalados (lista)
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select DisplayName, DisplayVersion, Publisher | Sort DisplayName
8) Exportar info a ZIP
$target="C:\Temp\diag"; New-Item $target -ItemType Directory -Force | Out-Null; systeminfo > $target\systeminfo.txt; ipconfig /all > $target\network.txt; wevtutil epl Application $target\App.evtx; Compress-Archive $target "C:\Temp\diag.zip" -Force
9) Habilitar RDP + regla firewall
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0; Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
10) DNS en adaptador activo
$dns=@("1.1.1.1","8.8.8.8"); Get-NetAdapter | ? Status -eq Up | % {Set-DnsClientServerAddress -InterfaceAlias $_.Name -ServerAddresses $dns}
11) Shadow Copy: estado/crear punto
vssadmin list shadowstorage; Checkpoint-Computer -Description "ManualCheckpoint"
12) Usuarios locales en Administrators
Get-LocalGroupMember -Group Administrators | Select Name, ObjectClass
13) Tareas programadas (export)
Get-ScheduledTask | Select TaskName, State, LastRunTime, NextRunTime | Sort TaskName
14) Driver/firmware de NICs
Get-CimInstance Win32_PnPSignedDriver | ? {$_.DeviceClass -eq 'Net'} | Select DeviceName, DriverVersion, DriverDate
15) Validar NTP
w32tm /query /status; w32tm /query /configuration
1) Salud general
hostname; uptime; free -m; df -h; top -b -n1 | head -n 15
2) Red básica
ip a; ip r; ping -c 4 <DEST>; traceroute <DEST> || tracepath <DEST>; dig <FQDN> +short
3) Procesos top
ps aux --sort=-%mem | head -n 15; ps aux --sort=-%cpu | head -n 15
4) Logs 24h (errores)
journalctl -p err -S "24 hours ago" | tail -n 200
5) NTP
timedatectl; chronyc tracking 2>/dev/null || ntpq -p
6) Comprimir carpeta con fecha
tar -czf "/tmp/backup_$(date +%F).tar.gz" /ruta/a/carpeta
7) Rsync a destino
rsync -aHAX --delete --info=progress2 /origen/ user@host:/destino/
8) UFW / Firewall
sudo ufw status verbose; sudo iptables -L -n -v
9) Ver puertos abiertos
ss -tulpn | sort
1) Backup de configuración
# FortiGate CLI
execute backup config tftp <NOMBRE.conf> <IP_TFTP>
# o SCP (si permitido)
execute backup config scp <USER>@<HOST>:<RUTA>/<NOMBRE.conf> <PASSWORD_OPCIONAL>
2) Rutas y sesiones
get router info routing-table all
diagnose sys session list | grep <IP>
3) Sniffer IKE/puerto
diagnose sniffer packet any 'host <PEER_IP> and (udp port 500 or 4500)' 4 0 a
1) Proxmox – VMs
qm list; pvesh get /nodes/<NODE>/storage; zpool status 2>/dev/null || true
2) PBS – tareas recientes
proxmox-backup-manager task list --limit 20
3) Veeam (PowerShell) – jobs y estado
Add-PSSnapin VeeamPSSnapIn
Get-VBRJob | Select Name, JobType, @{n='Schedule';e={$_.ScheduleOptions.Description}}
Get-VBRBackupSession | Sort EndTime -Descending | Select -First 10 Name, Result, EndTime
Usa esto para tips cortos, comandos, hallazgos. Máx. 10 líneas por nota.
Pon el cursor y arrastra capturas o PDFs pequeños; el wiki (Wasabi S3) los sube y enlaza.
| Fecha | Autor | Tema | Nota / Enlace |
|---|---|---|---|
| 2025-09-13 | {{técnico}} | {{tema}} | Escribe aquí… PDF/imagen opcional |
| — | — | — | — |
Fecha: 2025-MM-DD
Autor: {{técnico}}
Tema: {{breve}}
Nota:
Para mini-procedimientos que aún no merecen su propia página. Si crece, migrarlo a una página dedicada.
Contexto: ¿cuándo usar?
Requisitos previos: …
Pasos: