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

Aug 17, 2005
0
0

How Can I Enumerate All the Universal Groups in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I enumerate all the universal groups in Active Directory?-- MW Hey, MW. You know, we’re glad you asked this question. Any time people talk about Active Directory then tend to talk about groups as if Active Directory had only one type of group. It doesn’t. Instead, there are six types of Active Directory groups: global...

Scripting Guy!VBScriptActive Directory
Aug 16, 2005
0
0

How Can I Monitor the Event Logs for the Occurrence of a Specific Event?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I monitor the event logs for the occurrence of a specific event?-- JP Hey, JP. Why, you use an event log monitoring script, of course. (Yes, it’s hard to believe, but they really do pay us to come up with brilliant answers like that.) OK, maybe we should be a little more specific: you use an event log monitoring scrip...

Scripting Guy!scripting techniquesVBScript
Aug 15, 2005
0
0

How Can I Dynamically Populate a List Box in an HTA?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In my HTA, I would like to query a computer for a list of local user accounts, then dynamically create a list box containing those accounts. How can I do that?-- BN Hey, BN. You know, if you’d ever seen the Scripting Guys in … action … you’d think twice about asking us a question about doing things dynamically. But as long as...

Scripting Guy!scripting techniquesWeb pages and HTAs
Aug 12, 2005
0
0

How Can I Change the Icon for an Existing Shortcut?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the icon for an existing shortcut?-- DF Hey, DF. You know, the Scripting Guys (some of them, at least) are old enough to remember a time when you would never even think about changing an icon; after all, back in those days having any icon at all was considered cool. (And if you had flying toasters on top of t...

Scripting Guy!VBScriptdesktop management
Aug 11, 2005
0
0

How Can I Determine the Beginning and Ending Date of the Previous Month?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Given a specific date, how can I determine the beginning and ending date of the previous month? In other words, given 8/11/2005, I need to get back 7/1/2005 and 7/31/2005.-- PH Hey, PH. You know, this was a tough question for us: after all, as Microsoft employees we’re always looking forward; we never look back. Last month? W...

Scripting Guy!scripting techniquesVBScript