Browse by Tags

Tagged Content List
  • Blog Post: Look at Schema of WMI Class with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to look at the schema of a WMI class. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about WMI is that it is largely self-describing. This means that I can use WMI and look at WMI. With the CIM...
  • Blog Post: Use PowerShell to Detect if Hypervisor is Present

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to determine if a hypervisor is present Hey, Scripting Guy! I have been trying to use WMI to determine if a server has the hypervisor present. I found the WMI class, and even the properties I need. But alas, the WMI...
  • Blog Post: Get Process Owner and Other Info with WMI and PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to retrieve process owner and other information. Microsoft Scripting Guy, Ed Wilson, is here. We were supposed to receive seven inches of snow the other day. They closed schools and businesses, and the roads...
  • Blog Post: Use WMI and PowerShell to Work with Services

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to work with services. Microsoft Scripting Guy, Ed Wilson, is here. It is that time of the year. I just spent the last couple of hours uninstalling useless software from my laptop. This includes stuff that I...
  • Blog Post: Comparing WMI and Native PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about comparing WMI and using native Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. When Windows PowerShell was still in beta, there was a saying (song?) that said there must be 50 ways to stop a process. Actually, I am not certain...
  • Blog Post: When to Use WMI and PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about when to use WMI. Microsoft Scripting Guy, Ed Wilson, is here. One of the things that Windows PowerShell has done is make WMI very easy to use. Beginning with Windows PowerShell 1.0 and the Get-WmiObject cmdlet, WMI information has become much...
  • Blog Post: Weekend Scripter: Announcing WMI Explorer 2.0

    Summary : Microsoft senior support escalation engineer, Vinay Pamnani, talks about WMI Explorer 2.0. Microsoft Scripting Guy, Ed Wilson, is here. Today I am pleased to invite back Microsoft senior support escalation engineer, Vinay Pamnani, who supports Configuration Manager. He's here to talk...
  • Blog Post: Weekend Scripter: The WMI Explorer Tool

    Summary : Guest blogger, Vinay Pamnani, talks about a cool new WMI tool. Microsoft Scripting Guy, Ed Wilson, is here. One of the absolutely greatest things about working for Microsoft is the chance to meet (even virtually) and interact with really smart people who absolutely love technology. I recently...
  • Blog Post: Why Are All These Services Starting?

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using WMI to find out how services start. Hey, Scripting Guy! I was looking at the processes on my workstation, and I see lots of things running. I suspect many of these are actually services. But I am wondering how I can use Windows PowerShell...
  • Blog Post: Use PowerShell to Find Operating System Version

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find the version of his Windows operating system. Microsoft Scripting Guy, Ed Wilson, is here. It is not a secret that I love Windows PowerShell. It is not a secret that I also love Windows 8.1 especially on my Surface...
  • Blog Post: Use WMI and PowerShell to Create Collection Query Rules

    Summary : Microsoft PFE, Heath Lawson, talks about using Windows PowerShell and WMI to create collection query rules. Microsoft Scripting Guy, Ed Wilson, is here. Heath Lawson is back with us today for Part 3 in his series. You can catch up by reading Part 1 and Part 2: Apply Common PowerShell...
  • Blog Post: Comparing PowerShell PSSessions and CIM Sessions

    Summary : Guest blogger, Trevor Sullivan, compares Windows PowerShell PSSessions and CIM sessions. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the exciting conclusion to Honorary Scripting Guy , Trevor Sullivan’s guest blog series on CIM. To see more of Trevor’s guest posts...
  • Blog Post: Invoking CIM Methods with PowerShell

    Summary : Guest blogger, Trevor Sullivan, talks about invoking CIM methods via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have another guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see...
  • Blog Post: Use PowerShell to Manipulate Information with CIM

    Summary : Guest blogger, Trevor Sullivan, talks about using Windows PowerShell and CIM to manipulate information. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC...
  • Blog Post: Introduction to the CIMCmdlets PowerShell Module

    Summary : Guest blogger, Trevor Sullivan, talks about using the CIM module in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see more...
  • Blog Post: What is CIM and Why Should I Use It in PowerShell?

    Summary : Honorary Scripting Guy and guest blogger, Trevor Sullivan, explores CIM and using it with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy and a recognized Microsoft Community Contributor...
  • Blog Post: Use PowerShell to Find and Uninstall Software

    Summary : Learn how to use Windows PowerShell to get software installation locations, and to uninstall software from remote computers. Hey, Scripting Guy! We have a dumb application that we have to use at work. The company has released a new version of this application, and I am trying to write a...
  • Blog Post: Hey, Scripting Guy! How Do I Use Windows PowerShell to Run the Same WMI Queries Against Multiple Computers?

    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...
  • Blog Post: Hey, Scripting Guy! How Can I Use Both AND and OR Operators in a Single WMI Query?

    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...
  • Blog Post: Modify PowerShell Comment-Based Help to Display Function Use

    Summary: In the final version of my Windows PowerShell WMI helper module, I add aliases and modify comment-based help to find roles of functions. Microsoft Scripting Guy Ed Wilson here. It is the weekend, at least in Charlotte, North Carolina, in the United States. I have had a lot of fun working...
  • Blog Post: How Can I Determine if a WMI Property is Writeable?

    Hey, Scripting Guy! We have an application that installs a WMI class named UIDLightInfo. That class includes a property named UIDLightState. How can I tell whether or not I can change the value of this property? -- JC Hey, JC. You know, we once reviewed a scripting course where the authors continually...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (10/30/09)

    In this post : How Do I Run Scripts? Which WMI Class Works with IDE Controllers? How Can I Randomize and Repeat Sequences? How Can I Run a VBScript I Find on the Script Center? How Can I Enable the Windows Scripting Host on My Computer? How Do I Run Scripts? Hey, Scripting...
  • Blog Post: Learn Four Ways to Kill a Process Using PowerShell and WMI

    Summary : Microsoft Scripting Guy Ed Wilson shows four ways to kill a process by using Windows PowerShell and WMI. Hey, Scripting Guy! I have been playing around with your scripts that explore WMI methods and WMI writable properties, but I am having problems calling the WMI methods. Can you help...
  • Blog Post: Hey, Scripting Guy! How Can I Create a Disk Space Report in a Word Document?

    Hey, Scripting Guy! We are having problems with several of our servers at work. Several of them were upgraded from Windows NT 4, and as a result, we are constantly running into disk space issues on the C:\ drive. I would rather manage the problem than take the servers down and rebuild them because we...
  • Blog Post: Hey, Scripting Guy! Can I Query CPU Information with WMI and Windows PowerShell?

    Hey, Scripting Guy! I am interested in working with WMI and I would like to query for information from the CPU class. Do you have a script that will show me information about my CPU? I am particularly in need of processor speed and memory because we are trying to do an inventory to plan our upgrade....