The purpose of this article is to share an example that I often use in my training deliveries of PowerShell.
The idea is to open the Internet Explorer, navigate to the bing page, enter a text and click in the search button.
The first step is to instantiate the COM object in Internet Explorer and store the instance of it in the variable $IE as:
$IE= new-object -ComObject "InternetExplorer.Application"
The next step is to run the Navigate2 method of $IE variable as:
...(read more)
↧