Powershell


  1. Posts : 71
    Windows 7 Ultimate x64
       #1

    Powershell


    I was running a script on my 32bit OS that opened up IE and logged me onto my company's vpn.
    I am now using 64bit OS and My company's vpn does not like 64bit IE. (firefox and chrome are also iffy with our vpn, IE is the only 'official one they support'). When the script runs now on my 64bit os. IE64bit version always runs. I have been unable to find anyway to force it to open IE 32 bit version. DOes anyone know of a command I can add to the script to make it ope 32bit IE? I have tried forcing the script to run the 32bit powershell but that opens up 64bit IE.
    Last edited by JustWatching; 20 Sep 2013 at 23:54. Reason: Was trying to change the title.
      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    Change the path to "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
      My Computer


  3. Posts : 71
    Windows 7 Ultimate x64
    Thread Starter
       #3

    logicearth said:
    Change the path to "C:\Program Files (x86)\Internet Explorer\iexplore.exe"

    Ok, so I would have to add that path, where in this code?


    Code:
    # Create an ie com object
    $ie = New-Object -com internetexplorer.application;
    $ie.visible = $true;
    $ie.navigate($url);
    # Wait for the page to load
    while ($ie.Busy -eq $true)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:49.
Find Us