Hey, Scripting Guy!: TechNet Magazine Articles
TechNet Magazine: Hey, Scripting Guy! rss

All TechNet Magazine Columns
  • Hey, Scripting Guy!: Back Up Your Event Logs with a Windows PowerShell Script
    The Microsoft Scripting Guys - July 2009
    The Microsoft Scripting Guys create a Windows PowerShell script that provides an easy way to back up, archive, and clear your event log files.

  • Hey, Scripting Guy!: Creating A Self-Documenting Script
    The Microsoft Scripting Guys - June 2009
    In this article, the Microsoft Scripting Guys develop a script that will gather comments from other scripts (providing those comments follow a certain pattern) and then save the comments in a text file.

  • Hey, Scripting Guy!: Working with Access Databases in Windows PowerShell
    The Microsoft Scripting Guys - May 2009
    Automating data entry is more important than ever, and today’s automation language is Windows PowerShell. This article uses Windows PowerShell to collect some data about the local computer and write it to an Office Access database.

  • Hey, Scripting Guy!: Creating CAB Files with Windows PowerShell
    The Microsoft Scripting Guys - April 2009
    File compression is even more useful when you can automate the process via scripting. Here are some Windows PowerShell scripts you can use to create and expand cab files.

  • Hey, Scripting Guy!: Watch the Stopwatch
    The Microsoft Scripting Guys - March 2009
    The Scripting Guys demonstrate a script that times an activity and writes the results to the registry. After subsequent runs, the script retrieves the previous value from the registry and tells you both the current time and the previous time.

  • Hey, Scripting Guy!: Browsing Active Directory
    The Microsoft Scripting Guys - February 2009
    This installment clears up some confusion over Active Directory Browser, ADSI Scriptomatic, and browsing Active Directory. And in doing so, the Scripting Guy creates a Windows PowerShell script that will allow you to browse the Active Directory schema.

  • Hey, Scripting Guy!: Learning to Excel
    The Microsoft Scripting Guys - January 2009
    Discover how to use the Excel.Application automation model for a more powerful way to process data from your servers and take advantage of the analysis and charting tools built into Excel.

  • Hey, Scripting Guy!: Calculating Server Uptime
    The Microsoft Scripting Guys - December 2008
    You need to calculate server downtime in order to report on server uptime. The Scripting Guys have a Windows PowerShell script that can do this for you.

  • Hey, Scripting Guy!: Probing the Depths of WMI
    The Microsoft Scripting Guys - November 2008
    This month, The Scripting Guys take a close look at the WMI infrastructure. Along the way, they provide some helpful scripts that can serve as a starting point for learning more and accomplishing useful administrative tasks.

  • Hey, Scripting Guy!: Famous Last Words
    The Microsoft Scripting Guys - October 2008
    The Scripting Guys discuss Socrates and revisit the topic of querying an XML file . This time, however, the XML file is structured so that rather than using child nodes, additional property values are configured as attributes.

  • Hey, Scripting Guy!: Stay Connected with Your Toaster
    The Microsoft Scripting Guys - September 2008
    Discover how you can use disconnected recordsets—virtual database tables—to work around VBScript limitations relating to data-sorting and working with large data sets.

  • Hey, Scripting Guy!: Taking the Express Route
    The Microsoft Scripting Guys - August 2008
    With Windows Vista, the UserAccounts.CommonDialog ActiveX control for opening a file open dialog box no longer exists. Here's a look at how you can solve that problem using Visual Basic Express Edition.

  • Hey, Scripting Guy!: The Adrenaline Rush
    The Microsoft Scripting Guys - July 2008
    The Scripting Guys discuss adrenaline-filled scripting and show you how the new boot configuration data store in Windows Vista and Windows Server 2008 can be accessed using scripts.

  • Hey, Scripting Guy!: Not-So-Hard Work Has Its Rewards, Too
    The Microsoft Scripting Guys - June 2008
    The Scripting Guys ponder hard work, true happiness, and outputting data to the command window in a readable tabular format.

  • Hey, Scripting Guy!: Raising Eyebrows on Regular Expressions
    The Microsoft Scripting Guys - May 2008
    The scripting guys visit the Louvre, take up art criticism, and show you how to use regular expressions in a script to do a search and replace.

  • Hey, Scripting Guy!: The Return of the Database Script
    The Microsoft Scripting Guys - April 2008
    The AllSigned execution policy provides the most secure Windows PowerShell environment. So how do you sign your Windows PowerShell scripts? Don Jones shows you how.

  • Hey, Scripting Guy!: Our Favorite Shell Games
    The Microsoft Scripting Guys - March 2008
    The Scripting Guys demonstrate how you can change the last-modified date of a file with some script and the Shell object.

  • Hey, Scripting Guy!: The Games Are Afoot! Oh, and Some XML, Too
    The Microsoft Scripting Guys - February 2008
    The Microsoft Scripting Guys go on and on about the 2008 Scripting Games, and they also show you how to create, append, and modify XML documents. By the way, have you heard about the 2008 Scripting Games?

  • Hey, Scripting Guy!: There's No Mistaking Regular Expressions
    The Microsoft Scripting Guys - January 2008
    Looking for a way to avoid making mistakes? Validation is a good start. Learn how to perform character pattern matching in a script using regular expressions.

  • Hey, Scripting Guy!: The Return of WinRM
    The Microsoft Scripting Guys - December 2007
    Did the butler do it? Was it in the pantry with the candlestick? None of these questions are answered here. But after four long weeks, the Scripting Guys are back with Part 2 of their two-part series on WinRM.

  • Hey, Scripting Guy!: Desktop Management from beyond the Grave
    The Microsoft Scripting Guys - November 2007
    The Scripting Guys demonstrate how to use Windows Remote Management to retrieve the properties and instances of classes on a remote computer. Oh, and there's a cool puzzle too.

  • Hey, Scripting Guy!: Let There Be Silverlight
    The Microsoft Scripting Guys - October 2007
    Silverlight makes it easy to create cool user interfaces and multimedia presentations. And it seems to work well in HTML Applications, or HTAs. The Scripting Guys show you how to give Silverlight a try.

  • Hey, Scripting Guy!: Can This Relationship Be Saved?
    The Microsoft Scripting Guys - September 2007
    Relational databases are designed to handle one-to-many relationships. This can make writing scripts that query these databases a bit tricky. But don’t worry—the Scripting Guys are here to show you everything you need to know.

  • Hey, Scripting Guy!: Who Are You?
    The Microsoft Scripting Guys - August 2007
    With Active Directory, users can have a variety of identities, such as givenName, displayName, userPrincipalName, or distinguishedName. As a system administrator, how do you get all this information about a user? With a script, of course.

  • Hey, Scripting Guy!: In Scripts, as in Life, Looks Are Important
    The Microsoft Scripting Guys - July 2007
    For scripts that run in a graphical environment, looks are as important as function and performance. Explore techniques for using cascading style sheets to improve the look of your scripts.

  • Hey, Scripting Guy!: Scripting Around the Squiggly Red Line
    The Microsoft Scripting Guys - June 2007
    Looking for an easier way to add terms to the Microsoft Word dictionary without doing it by hand, one word at a time? Who isn't? This month, the Scripting Guys show you how to create custom dictionaries in Microsoft Word, and how to programmatically configure Word to use those dictionaries.

  • Hey, Scripting Guy!: Flowers Blooming. Dialogs Popping. Spring Is Here.
    The Microsoft Scripting Guys - May 2007
    Ever wonder how you could send values to and from a dialog box in an HTML Application (HTA)? Here’s an explanation of how to create a dialog box and then pass information back and forth between the dialog box and the main HTA.

  • Hey, Scripting Guy!: Naively Taking on Local Users and Groups
    The Microsoft Scripting Guys - April 2007
    It seems everybody has been asking about it. And now the Scripting Guys (finally) show you how to use scripts to manage local users and groups.

  • Hey, Scripting Guy!: Answering Your OU Questions…for Just 5 Cents
    The Microsoft Scripting Guys - March 2007
    Ever wish you could display a dialog box that lets select an OU from Active Directory and connect to it using a script? The Scripting Guys have just the script you're looking for.

  • Hey, Scripting Guy!: Chasing Cars… and XML
    The Microsoft Scripting Guys - February 2007


  • Hey, Scripting Guy!: Be Careful What You Say
    The Microsoft Scripting Guys - January 2007


  • Hey, Scripting Guy!: Where Are the Cup Holders?
    The Microsoft Scripting Guys - December 2006
    You've already got VBScript and Windows Script Host. Why should you bother with a new tool for scripting? We'll show you how Windows PowerShell is more powerful, allowing you to do things you haven’t been able to do in the past.

  • Hey, Scripting Guy!: Sure, We're Adaptable
    The Microsoft Scripting Guys - November 2006
    You can do a lot of networking through scripts. Two Windows Management Instrumentation classes, Win32_NetworkAdapter and Win32_NetworkAdapaterConfiguration, allow you to work with network adapters on your computers.

  • Hey, Scripting Guy!: Setting Up Outlook E-Mail Signatures
    The Microsoft Scripting Guys - October 2006


  • Hey, Scripting Guy!: Late-Night Scripting
    The Microsoft Scripting Guys - September 2006


  • Hey, Scripting Guy!: How Can I Delete a Key and its Subkeys from the Registry?
    The Microsoft Scripting Guys - August 2006


  • Hey, Scripting Guy!: It’s About Time (Oh, and About Dates, Too)
    The Microsoft Scripting Guys - July 2006
    You know, the Scripting Guys hardly ever wax philosophical. (We hardly ever wax our cars or our floors, either, but that’s a different story. ) When it comes to the nature of time, however, well, in that case we just can’t help ourselves.

  • Hey, Scripting Guy!: We All Scream for Security Descriptors
    The Microsoft Scripting Guys - May • June 2006
    Sometimes things are just more complicated than they should be. Take a simple little task like deciding which ice cream to order. Back when the Scripting Guys were growing up this was easy; for the most part, you had your choice between chocolate and vanilla.

  • Hey, Scripting Guy!: Determining a User’s Group Memberships
    The Microsoft Scripting Guys - March • April 2006
    Groucho Marx once said, "I don’t want to belong to any club that will accept me as a member." (The Scripting Guys hold a similar philosophy...or we would if we could ever find a group that would accept us as members.)

  • Hey, Scripting Guy!: Yes, Another One...
    The Microsoft Scripting Guys - January • February 2006
    Greetings, everyone. In one of their classic Halloween episodes, the Simpsons became rich and famous. Their faces were everywhere: on billboards, on T-shirts, you name it. Not too surprisingly the people of Springfield quickly tired of seeing the Simpsons everywhere they looked.

Page view tracker