Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Powershell


20 Sep 2013   #1

Windows 7
 
 
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.


My System SpecsSystem Spec
.

21 Sep 2013   #2

Windows 8.1 Pro (x64)
 
 

Change the path to "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
My System SpecsSystem Spec
21 Sep 2013   #3

Windows 7
 
 

Quote   Quote: Originally Posted by logicearth View Post
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 System SpecsSystem Spec
.


Reply

 Powershell




Thread Tools



Similar help and support threads for2: Powershell
Thread Forum
PowerShell 3.0 for Win 7 now available News
powershell General Discussion
Powershell get-acl help Software
Solved powershell 1 or 2? General Discussion
do you use powershell? General Discussion

Our Sites

Site Links

About Us

Find 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 07:30 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33