popup - PowerShell get running explorer process and their documents -


how can access document property of running explorer processes. using following line of code process.

$ie2 = get-process |where {$.mainwindowtitle -eq "windowtitletext"} | {$.id -ne $ieparentprocessnumber}

now want processing on processes $ie2.document etc.

it seems trying access document (i.e webpage's data) directly process. not possible using get-process.

you need create instance of ie com object example or use system.net.webclient if want read data web site. post more info trying , can possibly out better


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -