Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Can i do this in Powershell?

$
0
0

Hi

I do this…

$url = “http://homepage.com

$username=”user”

$password=”pass”

$ie = New-Object -com internetexplorer.application;

$ie.visible = $true;

$ie.navigate($url);

while ($ie.Busy -eq $true)

{

Start-Sleep -Milliseconds 1000; 

}

$ie.Document.getElementById(“ivTextnamn”).value = $username

$ie.Document.getElementByID(“ivTextpass”).value=$password

$ie.Document.getElementById(“ivBtnLogIn_center”).Click();

And its working now iam in. Then i want to click on a link and get raw html and grab a value and send it to console.

And i think its java link. This link….

http://sv.tinypic.com/view.php?pic=160cwwo&s=9#.WNbi_Ge1uUk

I want to go to highlighted link.

Grab the data from that link i think i can handle.

Please it must be easy but i cant… Thanks

submitted by /u/drullebulle
[link] [comments]

The post Can i do this in Powershell? appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles