did you know you can open and actually browsing the Internet from the PS Command Line ?
why should we use it ? we can load new IE Pages and do things in background visible or invisible to the user.
Lets Start –
first we need to use ComObject so lets load it
1 |
$ie = New-Object -ComObject "InternetExplorer.Application" |
now the Object was loaded we can navigate with it –
1 |
$ie.Navigate("Http://Yahoo.com") |
now from here we can get ElementsByID ,get state and info..on the background ,check the properties with
1 |
$ie | GM |
Would you like to make the Browsing Visible ?No Problem just run –
1 |
$ie.Visible = $true |
(Visited 206 times, 1 visits today)