I am working for a company which uses a browser based VPN. Unfortunately running in a web site seems to pin some of the components to memory and re-login or login with port related activities seems to confuse the script based software. I created this PowerShell script to kill specific processes, if running, and launch IE to my companies’ web page.

Get-Process | where {      
                     -or $_.Name -like "Juniper*"-or $_.Name -like "dsHostChecker*"
					 -or $_.Name -like "iisexpress"-or $_.Name -like "Network*"
					 -or $_.Name -like "dsNcService*"}
            | Stop-Process -Verbose -Force


$ie = New-Object -com internetexplorer.application; 
$ie.visible = $true; 
$ie.navigate("Https://secure.MyCompany.com");

If you have any failures try running this script with admin privileges on the box.

Share