Showing archive results for 2006

Sep 13, 2006
Post comments count0
Post likes count0

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

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
Post comments count0
Post likes count0

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

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
Post comments count0
Post likes count0

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

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
Sep 8, 2006
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Automate Microsoft Excel?

ScriptingGuy1

Hey, Scripting Guy! How can I use Windows PowerShell to automate Microsoft Excel?-- MW Hey, MW. Yes, it’s true: the week of November 6-10, 2006 will be Windows PowerShell Week on TechNet, with the Scripting Guys presenting a series of webcasts (one each day, Monday through Friday) designed to introduce you to Windows PowerShell. Those are all th...

Scripting Guy!Windows PowerShellOffice
Sep 7, 2006
Post comments count0
Post likes count0

How Can I Get a Total Page Count for All the Word Documents in a Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I get a total page count for all the Word documents in a folder?-- RA Hey, RA. You’ll have to forgive the Scripting Guy who writes this column if he seems a little tired this morning. Yesterday was the first day of school in the Lake Washington School District and, as you might expect, the scene in the Scripting House...

Scripting Guy!VBScriptOffice