Showing tag results for WMI

Jun 27, 2006
Post comments count0
Post likes count0

How Can I Copy a File Numerous Times and Rename Each of Them from a List in Excel?

ScriptingGuy1

Hey, Scripting Guy! How can I copy a file 150 times and then rename each of those copies using a list of names found in an Excel spreadsheet?-- DF Hey, DF. You know, when we first started this column 2 years ago (must be time to mention the 500th Hey, Scripting Guy! celebration again) our biggest concern was this: what are we going to do if no o...

Scripting Guy!VBScriptWMI
Jun 2, 2006
Post comments count0
Post likes count0

How Can I Configure the System Failure Options on a Windows Server 2003 Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I configure the system failure options on a Windows Server 2003 computer? I’d like to configure the machine to do a small memory dump, and disable both the sending of an administrative alert and the automatic reboot.-- JS Hey, JS. You know, the Scripting Guys happen to all be in a good mood today, so we’re going to go...

Scripting Guy!scripting techniquesVBScript
Apr 28, 2006
Post comments count0
Post likes count0

How Can I Use the RunAs Command to Run a Script Under Alternate User Credentials?

ScriptingGuy1

Hey, Scripting Guy! How can I use the RunAs command to run a script under alternate user credentials?-- BE Hey, BE. You know, in the business world one of the hot topics these days is synergy. For example, after The Mighty Ducks became a hit movie the Disney Company went out and bought themselves an NHL hockey team, renaming it the Anaheim Might...

Scripting Guy!scripting techniquesVBScript
Apr 25, 2006
Post comments count0
Post likes count0

How Can I Determine the Name of the Local Computer Using WMI?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the name of the local computer using WMI?-- BM Hey, BM. As you noted in your email we Scripting Guys always tell people that, in WMI, you can simply use a dot (.) to refer to the local computer. For example, the following mini-script connects you to the WMI service on the local computer:strComputer = "." ...

Scripting Guy!scripting techniquesVBScript
Mar 15, 2006
Post comments count0
Post likes count0

How Can I Delete a Folder That Has an Apostrophe in the Name?

ScriptingGuy1

Hey, Scripting Guy! How can I delete a folder that has an apostrophe in the name?-- JH Hey, JH. Ah, yes, the apostrophe: every script writer’s arch-nemesis. The apostrophe seems like such a simple little character, but don’t let its appearance fool you: the apostrophe (or the single quote) is probably the most deadly character to be found on the...

Scripting Guy!scripting techniquesVBScript