Tag Archives: WMI

  • Making Awesome Dashboards from Windows Performance Counters

    Having an understanding of your systems performance is a crucial part of running IT infrastructure. If a user comes to us and says “why is my application running slowly?”, where do we start? Is it their machine? Is it the database server? Is it the file server? The first thing we usually do is open up perfmon.exe and […]

  • PowerShell Great Debate: "Fixing" Output

    When should a script (or more likely, function) output raw data, and when should it “massage” its output? The classic example is something like disk space. You’re querying WMI, and it’s giving you disk space in bytes. Nobody cares about bytes. Should your function output bytes anyway, or output megabytes or gigabytes? If you output […]

  • Philadelphia Meeting - September 5th, 2013

    Please join us Thursday, September 5th when Mike F. Robbins will be joining us via Lync to present on Using CIM Cmdlets and CIM Sessions. Years ago, needing something as simple as the serial number from a remote server often meant that administrators had to resort to making a trip to the remote location. Even back […]

  • Some Event 3 Notes

    I didn’t see anyone (although I’ll admit I haven’t checked every entry) using my EnhancedHTML module from Creating HTML Reports in PowerShell. I am ensaddened. But man, Event 3 shows that you can really do well by learning a wee bit of HTML. Knowing an H2 and HR tag makes for much pretty results. Take […]

  • CIM vs WMI cmdlets-remote execution speed

    Following on from my previous post we’ll look at how the two types of cmdlets compare for accessing remote machines. I used a similar format to the previous tests but was accessing a remote machine. First off was the WMI … Continue reading

  • Use PowerShell to Modify WMI Data Such as Drive Labels

    Summary: The Scripting Wife learns how to use the CIM cmdlets and Windows PowerShell to assign a new drive label by modifying WMI data.
    Weekend Scripter: Changing WMI information
    Microsoft Scripting Guy, Ed Wilson, is here. Well yesterday, after we got…

  • Advanced Practice Event

    I want to direct your attention to this forums post, which I think is worth anyone’s time to look through. I’ve left a pretty long reply with some comments on the entry that would also be worth a read. I find that a LOT of folks – like the gentleman who posted his script – […]

  • Weekend Scripter: Use PowerShell to Find the Version of Windows

    Summary: The Scripting Wife learns about using Windows PowerShell to find computer hardware information in prep for the 2013 Scripting Games.
    Microsoft Scripting Guy, Ed Wilson, is here. This morning did not start with a nice leisurely cup of tea on th…

  • Get CIMInstance from PowerShell 2.0

    I love the new CIM cmdlets in PowerShell 3.0. Querying WMI is a little faster because the CIM cmdlets query WMI using the WSMAN protocol instead of DCOM. The catch is that remote computers must be running PowerShell 3 which includes the latest version of the WSMAN protocol and the WinRM service. But if your […]