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
Post a Comment