Showing archive results for May 2007

May 16, 2007
Post comments count0
Post likes count0

How Can I Force All the Users in an OU to Change Their Password the Next Time They Log On?

ScriptingGuy1

Hey, Scripting Guy! How can I write a script that will force all the users in an OU to change their password the next time they log on?-- TH Hey, TH. You know, you picked a bad day to ask a question; the Scripting Guy who writes this column is in an even worse mood than usual (difficult as that might be to believe). A few weeks ago the Scripting...

Scripting Guy!VBScriptActive Directory
May 15, 2007
Post comments count0
Post likes count0

How Can I Copy the Same File to a Number of Different Computers?

ScriptingGuy1

Hey, Scripting Guy! I regularly update a file that needs to be copied to all of my servers. How can I write a script that will copy the same file (to the same folder) on multiple computers?-- JU Hey, JU. It’s Monday, May 14th as we write this column, which mean that Mother’s Day in the US is over. And that’s good. Not that the Scripting Guys hav...

Scripting Guy!VBScriptstorage
May 14, 2007
Post comments count0
Post likes count0

How Can I Dynamically Hide and Show a Control in an HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I dynamically hide and show a control in an HTA?-- R L-K Hey, R L-K. To tell you the truth, we’re a little distracted today. Admittedly, we’re a little distracted pretty much every day. However, today is different: today the Scripting Guy who writes this column in sitting on a powder keg that threatens to destroy the ...

Scripting Guy!scripting techniquesVBScript
May 11, 2007
Post comments count0
Post likes count0

How Can I Highlight a Keyword in an HTA?

ScriptingGuy1

Hey, Scripting Guy! I’d like to create an HTA that, upon loading, can open a text file and then display the contents. However, I’d like a particular keyword in those contents to be highlighted. How can I do that?-- GD Hey, GD. You know, a lot of people at Microsoft pooh-pooh the work that the Scripting Guys do. “Take that Hey, Scripting Guy! col...

Scripting Guy!scripting techniquesVBScript
May 10, 2007
Post comments count0
Post likes count0

How Can I Determine the Topmost OU For an Active Directory Object?

ScriptingGuy1

Hey, Scripting Guy! Given a distinguished name, how can I determine the “topmost” OU?-- HF Hey, HF. You know, as he was driving in to work this morning, the Scripting Guy who writes this column heard an advertisement for a series of adult education courses being offered by a local community college. As you might expect, this commercial pointed o...

Scripting Guy!VBScriptActive Directory