Automatically open any site on Internet explorer with PowerShell script.

#Name: Richa Sharma
#Automatically open google.com (Any site) on IE with PowerShell script.
#Action Required: Change www.google.com with any site of your requirement.
#just 3 line code




#ie is the variable which stores value of ComObject


$ie= New-Object -ComObject InternetExplorer.Application
$ie.Visible =$true
$ie.Navigate2("www.google.com")

Comments

Popular posts from this blog

Create a HTML file on Desktop with top 10 process running on your system, if that file already exists on Desktop it will give prompt to user to recreate that file.

Check test connectivity on remote servers with given IP range-Powershell Script