bnu
bnu

Reputation: 269

browse website with powershell without using internet explorer

Is there any possibility to load,navigate and interact with a website in Powershell? I readed about New-WebServiceProxy and Http-Request. But they both seem to only be able to download some content and can't interact with the website.

I know that i could use Internet Explorer in Powershell but in my Environment this is not possible. For this reason I am searching for another solution.

Upvotes: 1

Views: 8275

Answers (1)

Shane Callanan
Shane Callanan

Reputation: 2305

There is no way of 'browsing' websites through Powershell, not in the traditional sense of the word anyway.

However, you can download and upload content, create web service requests, login to websites, etc. through the web-client class and invoke-webrequest cmdlet.

Again, not in anyway like a graphical browser, but very useful for repetitive tasks that do not require much human intervention

Upvotes: 3

Related Questions