Submitted By: Adam Carnahan

Provides the ability to only type in the host name and the rest of the URL will automagically be filled in.

Visual Basic
' Filename    : insight.vbs
' Description : Asks for hostname of a server running HP Insight Manager software.
'               Once the hostname is entered, the remaining portions of the URL for the specified server will
'               be included into the complete URL and Internet Explorer will open that complete URL.
' Syntax Used : Double Click
' Author Name : Adam Carnahan (
' Created On  : 06 / 03 / 2005

Option Explicit
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
Dim Message, result
Dim Title, Text1, Text2

Message = "Please type the server number you wish to connect to.   ex/ svr0195"
Title = "Insight Loader - URL Creator"

result = InputBox(Message,Title,"svr", 100, 100)
 WshShell.Run "IEXPLORE.exe https://" + result + ":2381/WEBAGENT/INDEX.TPL"