Forum Discussion
Karen Bruster
Sep 02, 2021Copper Contributor
Automating Daily Task
Hello, I am new to PowerShell and want to try using it to semi-automate a repetitive task. Any help would be greatly appreciated. I need to open multiple websites (10+) in IE (not updated yet), the...
psophos
Sep 20, 2021Brass Contributor
Karen BrusterDoes it have to be IE?
It's old and really not supported any more.
If you could use Firefox, Chrome or Edge you could use Selenium with Powershell to do some test automation. Selenium can be scripted to drive an installed browser to interact with web sites.
Another possible option might be to use Invoke-WebRequest to interact with the site directly fro Powershell. Visit the site, click the button and get a response.
If it worked you could fully automate the process and just generate daily success reports and/or failure messages.
But perhaps a tool like prtg may be a better option for monitoring (not sure if the http module can interact with sites, not used it to that degree).
Karen Bruster
Sep 28, 2021Copper Contributor
Hello
As of right now IE is the only browser it works with, i am hoping they change this soon.
I will give Invoke-WebRequest a try and see what happens.
What tool is prtg?
As of right now IE is the only browser it works with, i am hoping they change this soon.
I will give Invoke-WebRequest a try and see what happens.
What tool is prtg?
- psophosOct 03, 2021Brass Contributorhttps://www.paessler.com/manuals/prtg/http_sensor