Script to make Microsoft Knowledge Base searches easier

By Mitch Tulloch  Add a new comment

I use Google almost every day to search the Microsoft Knowledge Base (KB) for technical information as I usually find Google more helpful than TechNet's own search feature. But I get tired having to type "site:support.microsoft.com" into Google's search box every time I want to narrow down my search to support.microsoft.com.

So finally I decided to do something about it instead of complaining all the time. The result is this short script that I wrote that takes the keywords or phrase I type and creates a Google search URL that restricts the search to support.microsoft.com:

 

Dim strKeyword, objShell
Set objShell = CreateObject("WScript.Shell")
strKeyword = InputBox("Enter keyword:")
strKeyword = "http://www.google.com/search?hl=en&q=" & strKeyword & _
"+site%3Asupport.microsoft.com&meta="
If Len(strKeyword)>0 Then
objShell.Run """c:\Program Files\Internet Explorer\iexplore.exe"" " & StrKeyword
End if

 

Save this script as GoogleKB.vbs and keep it on your desktop. When you double-click on it, an input box opens and you can type one or more keywords or even a phrase in double quotes. Then press Enter and Internet Explorer will open and use Google to search the Knowledge Base for the words or phrase you specified.

Enjoy!

ITworld LIVE

WindowsWhite Papers & Webcasts

White Paper

Windows Server 2008 R2 Learning Guide

This expert e-guide uncovers the most common questions that have surfaced with Windows Server 2008 R2. Learn details about this Microsoft operating system and discover the direct cost saving benefits IT departments can experience when making the switch.

White Paper

Windows Server 2008 R2 Learning Guide

This expert e-guide uncovers the most common questions that have surfaced with Windows Server 2008 R2. Learn details about this Microsoft operating system and discover the direct cost saving benefits IT departments can experience when making the switch.

White Paper

Microsoft Volume Licensing Reference Guide

This guide provides an overview of the key features of Microsoft Volume Licensing programs. The information is presented by organizational type and size-two of the most important keys to determining your best Volume Licensing option.

White Paper

HP Software Licensing & Management Solutions for Microsoft

See how HP Software Licensing & Management Solutions (SLMS) can help you identify the best Microsoft licensing program for your needs, get the most from your licensing agreement, and maximize your Microsoft software investment.

White Paper

Microsoft Open Value Program Guide

In this overview, see how Microsoft Open Value provides a flexible, affordable way for small to midsize organizations (i.e. those with five or more desktop PCs) to use and manage all their Microsoft licensed products under a single agreement.

See more White Papers | Webcasts

Ask a question

Ask a Question