Showing tag results for Scripting Guy!

Nov 3, 2005
Post comments count0
Post likes count0

How Can I Determine the ADsPath for the Logged-On User?

ScriptingGuy1

Hey, Scripting Guy! In my HTA, how can I determine the ADsPath for the logged-on user?-- AC Hey, AC. You know, when you work at Microsoft people automatically assume that you spend your days in an ivory tower, totally removed from the day-to-day activities and needs of system administrators. To be honest, that isn’t true: our tower is really mor...

Scripting Guy!scripting techniquesVBScript
Nov 2, 2005
Post comments count0
Post likes count0

How Can I Determine the Name of the Local Administrators Group?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the name of the local Administrators group? This can vary depending on the operating system language; for example, in German the name of the group is Administratoren.-- DS Hey, DS. You know, the first thought that popped into our heads when we read your question was this: just call Scripting Guy Peter Cost...

Scripting Guy!VBScriptother Directory Services
Nov 1, 2005
Post comments count0
Post likes count0

How Can I Change a User’s sAMAccountName?

ScriptingGuy1

Hey, Scripting Guy! How can I change the sAMAccountName from KMyer to Ken.Myer?-- CP Hey, CP. You know, William Shakespeare once said, “A rose by any other name would smell as sweet.” What does that have to do with your question abut changing the sAMAccountName for a user? Nothing really; it’s just that every now and then we like people to think...

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

How Can I Start an Application From an HTA?

ScriptingGuy1

Hey, Scripting Guy! Is there an alternative to the Wscript.Shell command for HTAs? I need to run an application and specify the file to open.-- DL Hey, DL. Yes, we do know of an alternative to the Wscript.Shell command that will work in HTAs, and we’ll show you that in a minute. Before we do that, however, we should note that you actually can us...

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

How Can I Determine an Attribute’s Data Type and Whether It is Single- or Multi-Valued?

ScriptingGuy1

Hey, Scripting Guy! How can I query the Active Directory schema for an attribute’s data type and whether it is single-valued or multi-valued?-- MS Hey, MS. You know, this turned out to be one of those questions that drive us crazy: after all, it seemed like it would be so easy to answer. As you’ve probably already figured out, however, it turned...

Scripting Guy!scripting techniquesVBScript