Scripting Central--"Mighty Mini" Contest--February 3, 2006

This Issue Sponsored By
This email newsletter comes to you free and is supported by the following advertisers, who offer products and services that might interest you. Please take a moment to visit these advertisers' Web sites and show your support for Scripting Central.

Scalable Software
http://www.windowsitpro.com/go/whitepapers/scalable/compliance?code=SCRTop0203

Thawte
http://www.windowsitpro.com/go/whitepapers/thawte/ssl?code=SCRMid0203


1. Perspectives

  • The Mighty Minis
  • 2. Scripter's Toolkit

  • Event ID and RFC Information Is Just a Click Away
  • 3. Scripting Scuttlebutt

  • Scuttle Rebuttal
  • 4. Script Watch

  • Short Scripts Pack a Powerful Punch
  • 5. Events and Resources

  • SQL Server 2005: Up & Running Roadshows Coming to Europe!
  • Leverage Your VoIP Network
  • The Role of Fax-Document Management in Enterprise Compliance Strategies
  • The Definitive Guide to Active Directory Disaster Recovery
  • 6. Featured White Paper

  • The Impact of Disk Defragmentation
  • 7. Announcements

  • VIP Subscribers Have It All!
  • Get Two Free Sample Issues of SQL Server Magazine

  • Sponsor: Scalable Software

    How much are you spending on IT compliance? Streamline and automate the compliance life cycle with this FREE white paper, and reduce your costs today!
    http://www.windowsitpro.com/go/whitepapers/scalable/compliance?code=SCRTop0203


    1. Perspectives
    by Karen Bemowski, [email protected]

    The Mighty Minis
    Ants, Secure Digital (SD) memory cards, and Mighty Mouse are examples. Okay, "JEOPARDY" fans, what's the question? If you said, "What's mini but mighty given its size?" you're right. Ants are proof that strength isn't dependent on size. An ant can easily carry several times its own weight. Like an ant's strength, an SD memory card's capability isn't dependent on size. Although SD memory cards are only the size of a postage stamp, they're pack rats in terms of storage capability. And speaking of rodents, even though Mighty Mouse (the super hero and not Apple's latest computer mouse) isn't real, he's symbolic of the fact that something small can save the day.

    Scripts don't have to be long to pack a powerful punch. Short scripts can save the day by providing the results you need. Dick Lewis brings this point home in his article "Small Scripts Pack Power" in the March issue of Windows Scripting Solutions. As described in the "Script Watch" section, Dick provides 11 scripts that are short but effective. The "Scripter's Toolkit" section also highlights some short but sweet scripts.

    Have you written any scripts that are short in length but long on results? Do you have a script that has saved you lots of time or perhaps saved the day when an emergency arose? If so, submit your short script to Scripting Central's "Mighty Mini" contest. The script can be written in any scripting language.

    Similar to the "My Favorite Function" contest held recently, three "Mighty Mini" contest winners will be chosen (one a month for three months). Each winner will receive $100 and get his or her script published in Scripting Central and in Windows Scripting Solutions. In addition, the three winners will be put into a drawing for another $100.

    To enter the "Mighty Mini" contest, send a description of what your script does and how to use it, including how readers can customize it for use in their environment. In addition, please include the script file. You can email your entry and script to [email protected] Please include your full name and telephone number. Look for the first month's winner in the March 3 edition of Scripting Central.


    Sponsor: Thawte

    Secure Your Online Data Transfer with SSL
    Increase your customers' confidence and your business by securely collecting sensitive information online. In this free white paper you'll learn about the various applications of SSL certificates and their appropriate deployment, along with details of how to test SSL on your web server.
    http://www.windowsitpro.com/go/whitepapers/thawte/ssl?code=SCRMid0203


    2. Scripter's Toolkit

    Event ID and RFC Information Is Just a Click Away
    Navigating reference sites to look for information about event IDs associated with errors can be time-consuming. To save time, you can use FetchEvent.vbs. This script opens an input box and lets you enter an event ID. After clicking OK, you immediately go to a description of that event on EventID.Net, without having to click through a series of URLs.

    Here's the code for FetchEvent.vbs:

       FetchEvent(trim(inputbox("enter event id #.")))
       Sub fetchevent(seventid)
          Set ie = CreateObject("InternetExplorer.Application")
          ie.Navigate "http://www.eventid.net/display.asp?eventid=" _
             & seventid & "&source"
          Do Until ie.readystate = 4:WScript.Sleep 20 : Loop
          ie.toolbar = false
          ie.statusbar = false
          ie.resizable = true
          ie.visible = true
       End Sub
    

    Similarly, navigating reference sites to look for information about Internet Engineering Task Force (IETF) Requests for Comments (RFC) can be time-consuming. To save time, you can use GetRfc.vbs. This script opens an input box and lets you enter an RFC number. After clicking OK, you immediately go to that RFC.

    Here's the code for GetRfc.vbs:

       GetRfc(Trim(InputBox("enter rfc #.")))
       Sub getrfc(rfcnumber)
          Set ie = CreateObject("InternetExplorer.Application")
          ie.Navigate "ftp://ftp.isi.edu/in-notes/rfc" & rfcnumber & ".txt"
          Do Until ie.readystate = 4:WScript.Sleep 20 : Loop
          ie.toolbar = false
          ie.statusbar = false
          ie.resizable = true
          ie.visible = true
       End Sub
    

    Thanks to Alex K. Angelopoulos for these time-saving tools.

    3. Scripting Scuttlebutt

    Scuttle Rebuttal
    In "A More Elegant Approach for Determining Leap Years" ( http://www.windowsitpro.com/Windows/Article/ArticleID/49046/49046.html ), Bo Eschricht didn't particularly like the approach the LeapYear function took to determine whether a particular year is a leap year. As we all know, there is usually more than one way to solve a problem. Perhaps Bo is unaware of the creative process and is instead trapped within the confines of very old world thinking.

    Scripting Central, Windows Scripting Solutions, and similar publications offer not only useful code but also creative ideas. The articles are often meant to go beyond just copying and pasting code. They're often meant to stir up creative thinking, which in turn, can bring about new ways of problem solving. Scripters need to be creative and open to other people's ideas..

    4. Script Watch

    Short Scripts Pack a Powerful Punch
    Real-world shell scripting expert Dick Lewis provides 11 mini scripts that you can download and use to perform a variety of focused tasks related to system security and stability. For example, you can use GetHostsFileSize.bat to obtain the size of HOSTS files throughout your network, which can help you quickly spot machines that might have unusual HOSTS file entries. You can use GetDatFileVer.bat to query the registry to obtain the names and dates of virus-definition files on specified machines. And you can use GetNumberOfBlueScreens.bat to determine the number of recent blue screens a machine has experienced. Learn more about the 11 scripts in the article "Small Scripts Pack Power" in the March issue of Windows Scripting Solutions.

    5. Events and Resources

    SQL Server 2005: Up & Running Roadshows Coming to Europe!
    SQL Server experts will present real-world information about administration, development, and business intelligence to help you put SQL Server 2005 into practice and learn how to use its new capabilities. Includes one-year PASS membership and subscription to SQL Server Magazine. Register now for London, UK, and Stockholm, Sweden.
    http://www.windowsitpro.com/roadshows/sqlservereurope/index.cfm?code=0201emailannc

    Leverage Your VoIP Network
    Leverage your current VoIP infrastructure to integrate boardless FoIP. Live Web Seminar Tuesday, February 21, 2006, at 12:00 P.M. EST.
    http://www.windowsitpro.com/go/seminars/faxback/foip/?partnerref=0201emailannc

    The Role of Fax-Document Management in Enterprise Compliance Strategies
    Align compliance with business efficiency and learn how fax-document management plays a role in your strategy.
    http://www.windowsitpro.com/go/whitepapers/esker/docmanagement?code=0201emailannc

    The Definitive Guide to Active Directory Disaster Recovery
    Recover and restore everything in your AD--from users and GPOs to domains and entire forests, including their predefined attributes.
    http://www.windowsitpro.com/go/whitepapers/netpro/addisaster?code=0201emailannc

    6. Featured White Paper

    The Impact of Disk Defragmentation
    Learn what impact fragmentation has on users and system activities and discover how quickly fragmentation accumulates as a result of these activities. Plus get the recommendations you need to manage the frequency of defragmentation across your infrastructure.
    http://www.windowsitpro.com/whitepapers/diskeeper/defragmentation/index.cfm?code=0201emailannc


    Hot Spot

    Can you afford to have anything less than 100% Uptime for your Mission Critical E-mail?
    E-mail has become mission critical to the functioning of business and every hour of downtime can cost thousands of dollars in lost productivity and revenue. In this free white paper, learn how to address challenges such as: making e-mail truly available 24x7x365, securing against viruses, comprehensively backing up e-mail data and more. Download your copy now!
    http://www.windowsitpro.com/go/whitepapers/123together/emailhighavailability?code=SCRHot0203


    7. Announcements

    VIP Subscribers Have It All!
    Become a VIP subscriber and get continuous, inside access to all the online resources published in Windows IT Pro magazine, SQL Server Magazine, and the Exchange and Outlook Administrator, Windows Scripting Solutions, and Windows IT Security newsletters--that's more than 26,000 articles at your fingertips. You'll also get a valuable one-year print subscription to Windows IT Pro and two VIP CD-ROMs that include the entire article database and that are delivered twice per year. Don't miss out--sign up now:
    https://store.pentontech.com/index.cfm?s=1&promocode=eu2762uv

    Get Two Free Sample Issues of SQL Server Magazine
    SQL Server Magazine is a must-have in 2006! Order your two free issues today and discover the #1 SQL Server resource for building world-class applications. Along with loads of how-to articles, time-saving advice, and expert tips and solutions, you'll get subscriber-only access to exclusive SQL Server content not available any place else. Order now:
    https://store.pentontech.com/index.cfm?s=1&cid=229

    Contact Us

  • About Scripting Central -- [email protected]
  • About product news -- [email protected]
  • About your subscription -- [email protected]
  • This email newsletter is brought to you by Windows IT Pro, the leading publication for IT professionals deploying Windows and related technologies. Subscribe today!
    https://store.pentontech.com/index.cfm?s=1&promocode=eu205xfb

    View the Windows IT Pro Privacy Policy.
    http://www.winnetmag.com/aboutus/index.cfm?action=privacy

    Windows IT Pro is a division of Penton Media, Inc. 221 East 29th Street, Loveland, CO 80538, Attention: Customer Service Department

    Copyright 2006, Penton Media, Inc. All Rights Reserved.

    Hide comments

    Comments

    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.
    Publish