Showing tag results for WMI

Nov 4, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Format a Portable Drive When It Is Inserted Into a Computer?

ScriptingGuy1

  Hey, Scripting Guy! I work with portable USB drives all the time. These are used for backup purposes, for temporary storage, for Sneakernet, and as a means to work with extremely large files that I do not want cluttering up the small hard disk drive on my corporate standard desktop. The problem is that I now have more than a dozen porta...

Scripting Guy!Windows PowerShellscripting techniques
Nov 3, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Be Informed When a Portable Drive Is Added by My Computer?

ScriptingGuy1

  Hey, Scripting Guy! I would love to be able to write a Windows PowerShell script that will inform me when a portable drive is added to my computer. Do you have ideas you could suggest? -- RC Hello RC, Microsoft Scripting Guy Ed Wilson here. Well it has already been a rather interesting week. I bought a new computer and loaded Window...

Scripting Guy!Windows PowerShellscripting techniques
Oct 20, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Part 2: How Can I Make Sure That a WMI Provider Exists Before Using It in a Script?

ScriptingGuy1

(Editor's note: This is part 2 of a two-part article originally intended for TechNet Magazine. Part 1 was published yesterday.)    To obtain information about the provider for a WMI class, you will need to open the class. Click the Open Class button, and type the name of the WMI class in the box that appears. We are looking for the ...

Scripting Guy!Windows PowerShellscripting techniques
Oct 19, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Part 1: How Can I Make Sure That a WMI Provider Exists Before Using It in a Script?

ScriptingGuy1

(Editor's note: This is part 1 of a two-part article originally intended for TechNet Magazine. Part 2 will be published tomorrow.)  The sun had barely thought about coming up as I stepped aboard the catamaran that would take me from the Circular Quay across Sydney Harbor to Manly Beach. I staggered slightly as I navigated nearly 100 pound...

Scripting Guy!Windows PowerShellscripting techniques
Aug 24, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I List the Program Identifiers That Are on My Computer?

ScriptingGuy1

 Hey, Scripting Guy! I am looking for a script that will list program identifiers on my computer. Have one of those?-- CGHello CG, Microsoft Scripting Guy Ed Wilson here. It is interesting you ask for a script that will list program identifiers on your computer. Program identifiers (PIDs) are the secret word combinations that are used when cre...

Scripting Guy!Windows PowerShellVBScript