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.Navigate2("www.google.com")
#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
Post a Comment