Tag: 2010 Scripting Games

It seems like only yesterday that we were meeting Glenn Sizemore and Boe Prox at Tech·Ed 2010 North America in New Orleans. What? It was more than six weeks ago? Oh, right. Moving on… We asked Glenn and Boe if they would write brief trip reports about their Tech·Ed experiences. Enjoy! Glenn Sizemore (First…

Hey, Scripting Guy! How about a brief recap from one of the judges of the 2010 Scripting Games? — SW Hello SW, Microsoft Scripting Guy Ed Wilson here. I am glad you asked. We have just such a recap from Don Jones, expert commentator and judge for the 2010 Scripting Games. Don,…

Hey, Scripting Guy! What type of errors and mistakes did you notice in the entries for the 2010 Scripting Games? — BA Hello BA, Microsoft Scripting Guy Ed Wilson here. I am a really laid back sort of guy, and I do not like the words “errors” and “mistakes.” I prefer to think…

Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to log a user out of their desktop machine if they launch a particular application. This is not for security reasons or to keep people from playing games. This is because we have a really dumb application that requires a…

Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to create a text file that is a specific size. I know that I can create a text file by using FSUTIL, but when I open the file, it is empty. Therefore, I would like a text file that contains…

Hey, Scripting Guy! I need to query for the contents of a special folder on my Windows 7 computer. I would like to use Windows PowerShell to do this. I know I can use the Get-ChildItem cmdlet to return the contents of a folder, but I am not sure how to do this…

Hey, Scripting Guy! I would like to be able to use Windows PowerShell 2.0 to monitor for the insertion of a portable USB drive into a computer. When the drive is detected as having been added to the computer, I would like to have the script copy files to the USB drive. Is this possible?…

Hey, Scripting Guy! I need to use Windows PowerShell to retrieve information about my computer hardware. Specifically I am interested in the make, the model, and the speed of my CPU by using a script. Can this be done? — DH Hello DH, Microsoft Scripting Guy Ed Wilson here. The 2010 Scripting…

Hey, Scripting Guy! I need to be able to read a text file, and connect to a number of different remote machines to update an environment variable. Is this something that can be done using Windows PowerShell? — ES Hello ES, Microsoft Scripting Guy Ed Wilson here. We looked at that specific…

Hey, Scripting Guy! I need to know how to use Windows PowerShell 2.0 to create a series of text files on my Windows 7 computer. Here is the deal: I would like to create a large number of text files that contain basic information and would be used for record keeping. Is this…