informatica:windows:msdos
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:windows:msdos [2015/04/13 20:19] – external edit 127.0.0.1 | informatica:windows:msdos [2019/05/08 11:12] (current) – [Listar procesos y usuarios que lo ejecutaron (ps aux | grep PATTERN)] javi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== BATCH ====== | + | ===== FOR loop ===== |
| - | ===== FOR ===== | + | |
| El clásico for de 1 a 4 de 2 en 2 | El clásico for de 1 a 4 de 2 en 2 | ||
| Line 21: | Line 21: | ||
| echo LEIDO [%%a] | echo LEIDO [%%a] | ||
| ) | ) | ||
| + | |||
| + | ===== Listar procesos y usuarios que lo ejecutaron (ps aux | grep PATTERN) ===== | ||
| + | |||
| + | Comando: | ||
| + | |||
| + | wmic service where started=true get name, startname | findstr SQL | ||
| + | | ||
| + | Salida: | ||
| + | |||
| + | < | ||
| + | MSSQLFDLauncher | ||
| + | MSSQLSERVER | ||
| + | SQLBrowser | ||
| + | SQLSERVERAGENT | ||
| + | SQLTELEMETRY | ||
| + | SQLWriter | ||
| + | </ | ||
| + | |||
| + | Listado completo de propiedades para filtrar: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== (Powershell) telnet ===== | ||
| + | |||
| + | |||
| + | New-Object System.Net.Sockets.TcpClient(" | ||
| + | |||
| + | ===== Uptime ===== | ||
| + | |||
| + | net statistics server | findstr desde | ||
| + | |||
| + | ===== (Powershell) Obtener la hora de sistema ===== | ||
| + | |||
| + | Get-Date -Format g | ||
| + | |||
informatica/windows/msdos.1428956385.txt.gz · Last modified: by 127.0.0.1
