Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » Scripting Guy!   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/10/09)

Troubleshooting a Windows Powershell Script Hey Scripting Guy! I tried to use the script from the May 2009 TechNet Magazine article, Hey, Scripting Guy! Working with Access Databases in Windows PowerShell . But when I run it I get an error. This happens

Hey, Scripting Guy! How Do I Create a CSV File from Within Windows PowerShell?

Hey Scripting Guy! I am having a problem trying to create a CSV file from within Windows PowerShell. I thought at first I could use the Write-Host cmdlet to do this. I came up with this command: Write-Host "col1,col2,col3" >> "C:\fso\test.csv" But

Hey, Scripting Guy! How Do I Get Data Out of a Function?

Hey, Scripting Guy! I have been having problems with trying to understand functions in Windows PowerShell. I get that you use the Function keyword to create the function, but I do not know how to get information from the function back to the script. I

Hey, Scripting Guy! How Can I Both Save Information in a File and Display It on the Screen?

Hey, Scripting Guy! You know the old commercial that goes, "Sometimes you feel like a nut, sometimes you don't"? Well, sometimes I want to save information from a script to a file, and sometimes I want to see it displayed to the screen. And at other times,

Hey, Scripting Guy! How Can I Simply Have Windows PowerShell Display Information on the Screen?

Hey, Scripting Guy! I am not into all those fancy scripts you seem to write. I am just a basic, everyday network administrator, and I simply need to use scripts to make my job easier. Because of this, I am not interested in displaying progress bars, writing

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/3/09)

How Can I List Files and Folders with Special Characters in Their Names? Hey, Scripting Guy! First I would like to thank you for all the good humour you present me every time I need you. I’m trying to use one of your scripts to list the files and folders

Hey, Scripting Guy! How Can I Prompt Users for Information When a Script Is Run?

Hey, Scripting Guy! I would like to have my script prompt the user for information when it is run. But I would like the person running the script to be able to supply more than one piece of information when the script is run. For example, I would like

Hey, Scripting Guy! How Can I Use a Named Parameter When Running Scripts?

Hey, Scripting Guy! I would like to be able to use a named parameter when running my scripts. There are a couple of reasons for this. The first is that I think that it looks cool to use a named parameter. The second reason is probably just as important

Hey, Scripting Guy! How Can I Supply More Than One Value from the Command Line?

Hey, Scripting Guy! I do not think I write very complicated scripts, but quite often I find that it would be nice to be able to supply more than one value from the command line. It seems that everything I see written for Windows PowerShell uses the $args

Hey, Scripting Guy! How Can I Run a Script Without Involving Notepad?

Hey, Scripting Guy! I love looking at the scripts on the Script Center. I think it is amazing when a person writes you an e-mail stating they have this problem that will take like a zillion years to do manually, and you whip up a script that they can

Hey, Scripting Guy! 2009 Scripting Games Event 10 Details (Beginner and Advanced; 1,500-meter race)

Beginner Event 10: The 1,500-meter race In the 1,500-meter race, you will go for the gold by writing a script that counts down from three minutes. Event Scenario In a classic Rolling Stones song, the British band brags, "Time is on my side, yes it is."

Hey, Scripting Guy! 2009 Scripting Games Event 9 Details (Beginner and Advanced; the javelin throw)

Beginner Event 9: The javelin throw For the javelin throw event, you will soar as you write a time logger. Event Scenario (Imagine Billy Mays reading the next sentence.) Soar to new heights as you suddenly impress your boss, your colleagues, or your friends

Hey, Scripting Guy! 2009 Scripting Games Event 8 Details (Beginner and Advanced; pole vault)

Beginner Event 8: The pole vault In the pole vault event, you will raise the bar as you run down the folder that is consuming the most disk space on your computer. Event Scenario “Hey, Scripting Guy! How can I leap over buildings with a single bound?”

Hey, Scripting Guy! 2009 Scripting Games Event 7 Details (Beginner and Advanced; discus throw)

Beginner Event 7: The discus throw In the discus throw event, you will be asked to go farther than you have ever gone before. To meet this challenge, you will need to track your progress by writing information to a log file. You will also be required

Hey, Scripting Guy! Opening Ceremonies and 2009 Scripting Games Event 6 Details (Beginner and Advanced; 110-meter hurdles)

Hey Scripting Guy! When do the 2009 Summer Scripting Games begin? --CL Hello CL, The 2009 Summer Scripting Games actually begin…well, let's see…yes, they actually begin today! For the last week, we have been revealing the events one day at a time. You
More Posts Next page »
 
Page view tracker