Maximized IE window?

Home Forums Scripting PowerShell Maximized IE window?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    dreivilo47
    Member
    #167461

    I use the following syntax to open 3 sites in Internet Explorer, each in another tab:

    $ie = New-Object -ComObject “InternetExplorer.Application”
    $ie.Navigate(“http://www.microsoft.com”)
    $ie.Navigate2(“http://www.google.com”, 2048 )
    $ie.Navigate2(“http://www.outlook.com”, 2048 )
    $ie.Visible = $true

    The IE window is not maximized. How can I do that?
    Sorry for the space after “2048”. When I don’t do that here, I get a smiley.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.