Ejercicios de PowerShell: buscar si hay algún paquete relacionado con cada proceso que se ejecuta
(Get-Process).Name | %{
$_
Get-Package | select * | Select-String $_ | Out-File -FilePath $_\$_
}
(Get-Process).Name | %{
$_
Get-Package | select * | Select-String $_ | Out-File -FilePath $_\$_
}