Showing tag results for WMI

Nov 27, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Pull Server Diagnostic Information and Have It Saved in an Excel Spreadsheet with a Chart?

ScriptingGuy1

Hey, Scripting Guy! Good morning. I would like to use WMI to get diagnostic information for my server. I would like to be able to do this remotely and to write the results to an Excel spreadsheet. When I am done, I would like the spreadsheet to also create a chart of the results. Is this asking too much? I have seen pieces of all this on the Scri...

Scripting Guy!Windows PowerShellscripting techniques
Nov 11, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create a Microsoft Word Document from WMI Information?

ScriptingGuy1

Hey Scripting Guy! I would like to be able to use Windows PowerShell to obtain some information from WMI and then write that same information to a Microsoft Word document. I know that I can use Out-File to create a text file, but text files are boring. I want to get the information into Word where I can later add colors, borders, and pictures if ...

Scripting Guy!Windows PowerShellscripting techniques
Sep 9, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Find Information About the Network Adapter Cards on My Computer?

ScriptingGuy1

Hey, Scripting Guy! When I use WMI to query for network cards on my laptop, it comes back with 32 network cards. 32! I am not lying. My laptop does not even have 32 slots, so how does it have 32 network cards in it? How can I find information about the "real" network cards on my laptop? I figure I should only have two: the wired NIC and the wi...

Scripting Guy!Windows PowerShellscripting techniques
Sep 3, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Use Windows PowerShell to Run the Same WMI Queries Against Multiple Computers?

ScriptingGuy1

Hey, Scripting Guy! I need to run the same WMI queries against multiple computers on our network. Can I do this with Windows PowerShell?- KB Hi KB, Not only can you do this with Windows PowerShell, but you will be surprised at how easy it is to do. If you can create a text file in Notepad, you can run your multiple queries against multiple ser...

Scripting Guy!Windows PowerShellscripting techniques
Mar 21, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Both AND and OR Operators in a Single WMI Query?

ScriptingGuy1

Hey, Scripting Guy! I’ve looked through the entire Script Center but I can’t find an example of what I need to do: find all the .DOC files on drives C and D, but using a single WMI query. In other words, I want to write a WMI query similar to this: Where ( Drive = 'C:' or 'D:' ) and ( Extension = 'doc' ); unfortunately, though, I can’t figure out...

Scripting Guy!scripting techniquesVBScript