Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Create internet explorer object from process ID

$
0
0

Hi,

I want to create a object for open instance of internet explorer and pass username and password to it.

 

By using the below command I am getting the process object but how can we create internet explorer object from it so that I can access document elements.

 

gps | ? {$_.mainwindowtitle -match 'Service'} | select name, mainwindowtitle


Viewing all articles
Browse latest Browse all 6937

Trending Articles