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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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