Showing results for October 2005 - Page 3 of 5 - Scripting Blog [archived]

Oct 17, 2005
Post comments count0
Post likes count0

How Can I List All the Users in an NT 4.0 Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I list all the users in an NT 4.0 domain, along with their description and logon script path?-- HH Hey, HH. Ah, yes NT 4.0. Windows NT 4.0 reminds us of dandelions: it doesn’t matter whether you like dandelions or not, there’s simply no way to get rid of them. The same is true of NT 4.0. Regardless of what people thin...

Scripting Guy!VBScriptother Directory Services
Oct 14, 2005
Post comments count0
Post likes count0

How Can I Add a User to a Group if That User Belongs to Two Other Groups?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I check to see if a user is in both group A and group B and, if so, add that user to Group C?-- DH Hey, DH. Good heavens, how are we supposed to know that?!? Sheesh. Sorry; we just always wanted to say that. Now that we have that out of our system, here’s a sample script that checks to see if Ken Myer belongs to both ...

Scripting Guy!VBScriptActive Directory
Oct 13, 2005
Post comments count0
Post likes count0

How Can I Get a List of All the Users in an OU and Its Sub-OUs?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the users in an OU and its sub-OUs?-- MN Hey, MN. Thanks to either faulty wiring or a neighbor’s fireworks (the investigation was inconclusive), one of the Scripting Guys had the delightful experience of watching his garage burn down this summer. Because the Scripting Cars were never parked in the ...

Scripting Guy!VBScriptActive Directory
Oct 12, 2005
Post comments count0
Post likes count1

How Can I Build an Array from a Column of Data in Excel?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I build an array from a column of data in Excel?-- AH Hey, AH. Obviously none of the Scripting Guys has any need to go on a diet (perish the thought!), but we do know that one time-honored dieting strategy is the theory of tiny bites: instead of gulping down your food in a few huge swallows, you nibble at it with scor...

Scripting Guy!scripting techniquesVBScript
Oct 11, 2005
Post comments count0
Post likes count0

How Can I Determine Which Users are Using the Most Disk Space on a Drive?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine which users are using the most disk space on a drive?-- PW Hey, PW. Interesting question. In theory, you could probably do this by retrieving a collection of all the files on a drive, checking the owner, determining the file size, and then keeping a running tally of the amount of disk space charged to each...

Scripting Guy!VBScriptstorage