Showing tag results for Scripting Guy!

Apr 25, 2005
Post comments count0
Post likes count0

How Can I Configure a Computer to Use a Dynamically-assigned DNS Server?

ScriptingGuy1

Hey, Scripting Guy! How can I configure a computer to use a dynamically-assigned DNS Server?-- JB Hey, JB. Ah, this question brings back memories. A couple years ago the Scripting Guys were faced with this same problem, and discovered the answer entirely by accident; in fact, if Greg was able to type a line of code without making a mistake the t...

Scripting Guy!VBScriptnetworking
Apr 22, 2005
Post comments count0
Post likes count0

How Can I Add Two Blank Lines Between Each Line in a Text File?

ScriptingGuy1

Hey, Scripting Guy! Hey, Scripting Guy! How can I add two blank lines between each line in a text file?-- LW Hey, LW. You know, when we wrote the Microsoft Windows 2000 Scripting Guide we included 4 or 5 examples of how you might work with text files. And then we thought to ourselves, “Well, we’ve pretty much exhausted all the things you can do ...

Scripting Guy!scripting techniquesVBScript
Apr 21, 2005
Post comments count0
Post likes count0

Why Does My Performance Monitoring Script Keep Returning the Same Incorrect Values?

ScriptingGuy1

Hey, Scripting Guy! I’m using a script to monitor process performance, but every time I run the script the percent processor time for all the processes comes out as 0. What am I doing wrong?-- JL Hey, JL. We’ve simplified your script a bit to better illustrate the problem you’re running into. (And don’t feel bad: this is a very common problem pe...

Scripting Guy!scripting techniquesVBScript
Apr 20, 2005
Post comments count0
Post likes count0

How Can I Pass Command-Line Variables to an HTA When It Starts?

ScriptingGuy1

Hey, Scripting Guy! How can I pass command-line variables to an HTA when it starts?-- DM Hey, DM. Ok, we admit it: you almost had us on this one. (Not that being able to stump the Scripting Guys is particularly hard, mind you.) We had no idea whether you could pass command-line variables to an HTA, and even less idea how we could capture those c...

Scripting Guy!scripting techniquesVBScript
Apr 19, 2005
Post comments count0
Post likes count0

How Can I Tell Whether a Group Member is a User, a Computer, or Another Group?

ScriptingGuy1

Hey, Scripting Guy! How can I tell whether the member of a group is a user, a computer, or another group?-- ON Hey, ON. Interesting question and - to tell you the truth - one we’d never really thought about. It’s easy enough to list all the members of a group; for example, here’s a script that reports back all the members of the Finance Managers...

Scripting Guy!VBScriptActive Directory