Showing results for December 2007 - Page 2 of 3 - Scripting Blog [archived]

Dec 8, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group When the User Belongs to Multiple Groups?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In yesterday’s column you showed a sample script that mapped a drive based on membership in an Active Directory group; along the way, you brought up the possibility of a user belonging to more than one group. “Suppose you have two groups,” you said. “What happens if a user is a member of both groups?” You then said, and I quot...

Scripting Guy!VBScriptActive Directory
Dec 7, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I need to map a drive based on a user’s membership in a particular Active Directory group. However, I have a twist as well: I need to map a different drive depending on whether or not the user is a manager. In other words, I need to map a drive based on both group membership and job title. How do I do that?-- SA Hey, SA. You ...

Scripting Guy!VBScriptActive Directory
Dec 6, 2007
Post comments count0
Post likes count0

How Can I Start a Script in a Hidden Window?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I start a script in a hidden window?-- OT Hey, OT. You know, today is kind of a disappointing day for the Scripting Guys, or at least for the Scripting Guy who writes this column. As we noted yesterday, the Seattle area was hit by a freak “Pineapple Express” rainstorm that seemed destined to set all sorts of records f...

Scripting Guy!scripting techniquesVBScript
Dec 5, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Cut a Row From One Office Excel Spreadsheet and Paste That Row Into Another Spreadsheet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I cut a row from an Office Excel spreadsheet and paste it into the first unused row in another Excel spreadsheet?-- NC Hey, NC. We apologize if today’s column feels a little damp; as it turns out, those of us in the Seattle area are experiencing another one of the Puget Sound’s … delightful … shifts in the weather. Sa...

Scripting Guy!VBScriptMicrosoft Excel
Dec 4, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Start an Application From a Windows PowerShell Script, Then Pause the Script Until the Application Has Terminated?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In Windows PowerShell, how can I start another application, then have my script pause until that application has terminated?-- AD Hey, AD. Before we answer today’s question, we’d like to make an announcement: the Scripting Guys need friends! No, not those kind of friends. Well, come to think of it, we could use some regular f...

Scripting Guy!Windows PowerShelloperating system