1 2 3 4 5 6 7 |
foreach($servicio in Get-WmiObject Win32_Service | where state -eq Running) { Write-Host "-------------------" -ForegroundColor red $servicio.Name (Get-Process -id $servicio.ProcessId).Name } |
1 2 3 4 5 6 7 |
foreach($servicio in Get-WmiObject Win32_Service | where state -eq Running) { Write-Host "-------------------" -ForegroundColor red $servicio.Name (Get-Process -id $servicio.ProcessId).Name } |