1 2 3 4 5 6 7 8 |
#Getting process list foreach($proces in get-process) { #Process information $proceso=$proces.Name+".exe" $url="https://elarchivo.es/proceso/"+$proceso+".html" ((Invoke-WebRequest $url).AllElements | Where Class -eq "legend" | Select -ExpandProperty innerText)[1] } |