Scripting Blog

A place to learn about PowerShell and share stories of automation

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

Determining if SQL Is Installed; How to Read Paired Information into a Dictionary Object  Hey, Scripting Guy! Being an avid reader of your columns for the last several years has been a blast. I wrote you once before but with no success (in terms of a reply, which was expected, and in terms of not seeing an article related to my question, ...

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

How Can I Tell if I’m Running a Script on the 32-Bit or the 64-Bit Version of Windows Vista?   Hey, Scripting Guy! I need to be able to tell if the version of Windows Vista I am running a script on is 32 bit or 64 bit. I have tried looking at system variables, but it seems a bit complicated. I would rather just have something ...

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

How Do I Troubleshoot Some Scripts Not Executing on Certain Computers?   Hey, Scripting Guy! I have VBScripts executed using GPOs per organizational unit. For some reason, the scripts are not executed on certain computers. Sometimes, clicking Repair on Local Area Network connection and logging off does the trick. Any ideas why this is ...

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

How Can I Return File Names of Files Created in Less Than an Hour from the Current Time?   Hey, Scripting Guy! I am attempting to write a script that looks at the creation dates of all files in a certain directory. If the files were created less than an hour from the current time, the script will return those file names. The script will ...

Hey, Scripting Guy! How Can I Store Arrays Within Another Array?

Hey, Scripting Guy! I need to read in data from a text file and store each line as a separate item in an array. However, the data in each line must also be stored as an array; in other words, I need an array made up of other arrays. I tried creating a multidimensional array, but I can’t get it to work. Can you help?-- PA Hey, PA. As you ...

Feedback usabilla icon