Showing results for September 2006 - Page 3 of 4 - Scripting Blog [archived]

Sep 15, 2006
0
0

How Can I Tell if Any Internet Explorer Windows Are Open to a Particular Web Site?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine if I have any Internet Explorer windows open to a particular Web site?-- N Hey, N. Before we begin the Scripting Guys would like to state, for the record, that we have never tried to obtain each other’s phone records nor have we ever even considered listening in on each other’s phone conversations. This ha...

Scripting Guy!VBScriptdesktop management
Sep 14, 2006
0
0

How Can I Get a List of All the Databases on a SQL Server Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the databases on a SQL Server computer?-- ER Hey, ER. Before we answer your question, we’d like to take a moment to offer our opinions on all the major – and controversial – issues of the day. We can do that because the Scripting Editor is on vacation and, well, you know what they say: when the cat...

Scripting Guy!VBScriptdatabases
Sep 13, 2006
0
0

How Can I Delete All the Users in an Active Directory Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I delete all the users in an Active Directory group?-- AA Hey, AA. You know, that’s something we Scripting Guys never thought about: a script that could eliminate all the users in a particular group. The only problem we have with that is: where do we start? For example, maybe we start with the teenagers a few houses d...

Scripting Guy!VBScriptActive Directory
Sep 12, 2006
0
0

How Can I Identify the Last File in a Sequential List of Files?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a folder which contains thousands of files, all numbered sequentially. How can I tell which file is the last file in the list?-- AC Hey, AC. You know, one of the fun things about being a Scripting Guy is that we get to spend a lot of time shattering myths. For example, when we first started at Microsoft there was a myt...

Scripting Guy!VBScriptstorage
Sep 11, 2006
0
0

How Can I Delete Just the Last Line of a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I delete just the last line of a text file?-- AD Hey, AD. You know, it’s been a long, hard day here at Microsoft, one of those days when everyone and everything seems to be against you. Many people, when faced with a day like today, turn to the so-called comfort foods: meatloaf, beef stew, mashed potatoes and gravy, a...

Scripting Guy!scripting techniquesVBScript