Powershell

JustWatching

New member
Member
Local time
9:29 PM
Messages
71
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:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-3350P Ivy Bridge Quad-Core 3.1GHzz
Motherboard
Asus P8H77-v
Memory
HyperX XMP 10th Anniversary Series 16GB
Graphics Card(s)
EVGA GeForce GTX 970 4GB
Sound Card
Onboard
Monitor(s) Displays
Acer S241HL 24", ASUS V238h 23"
Screen Resolution
1920x1080
Hard Drives
Kingston SSD 240GB
Samsung 2TB
PSU
XION AXP-700K14XE 700W ATX
Case
HEC 6C28BBX585 Black Steel ATX Mid Tower
Cooling
ZALMAN CNPS9500 AT 2 Ball CPU Cooling Fan/Heatsink
Keyboard
Logitech G710+
Mouse
Anker Wireless Vertical Mouse
Internet Speed
220/20
Antivirus
Webroot
Browser
Chrome
Change the path to "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-3350P Ivy Bridge Quad-Core 3.1GHzz
Motherboard
Asus P8H77-v
Memory
HyperX XMP 10th Anniversary Series 16GB
Graphics Card(s)
EVGA GeForce GTX 970 4GB
Sound Card
Onboard
Monitor(s) Displays
Acer S241HL 24", ASUS V238h 23"
Screen Resolution
1920x1080
Hard Drives
Kingston SSD 240GB
Samsung 2TB
PSU
XION AXP-700K14XE 700W ATX
Case
HEC 6C28BBX585 Black Steel ATX Mid Tower
Cooling
ZALMAN CNPS9500 AT 2 Ball CPU Cooling Fan/Heatsink
Keyboard
Logitech G710+
Mouse
Anker Wireless Vertical Mouse
Internet Speed
220/20
Antivirus
Webroot
Browser
Chrome
Back
Top