Tag Archives: WMI

Compress Files By Extension

I never seem to build my test virtual machines with enough disk space. Which means at some point I start dealing with space issues and resort to all sorts of hacks to buy myself a little time. One thing I … Continue reading

Posted in PowerShell, PowerShell v2.0, WMI | Tagged , , , | 7 Comments

Get Process Owner

I’ve been working on my second training course for Train Signal on managing Windows Server 2008 with Windows PowerShell, specifically the lesson on managing processes. I thought I’d share a little tidbit I worked out. In fact, I hope you’ll … Continue reading

Posted in PowerShell, Train Signal, Training, WMI | Tagged , , | 3 Comments

Get Shared Resource

I was poking around WMI the other day in PowerShell and was intrigued by the Win32_Share class. This is a great way to find out what items are shared on a server such as printers and folders, although it’s not … Continue reading

Posted in PowerShell v2.0, WMI | Tagged , , , , | 1 Comment

Find Non System Service Accounts with PowerShell and WMI

As easy as Get-Service is to use in PowerShell, it has one limitation for IT Pros: it can’t show you what account the service is running under. In old school terms, “What is the service account?” Fortunately you can get … Continue reading

Posted in PowerShell v2.0, WMI | Tagged , , | 5 Comments

Get Properties with Values

One of my nuisance issues when using WMI with Windows PowerShell, is that when looking at all properties I have to wade though many that have no value. I’d prefer to only view properties that have a populated value. Here’s … Continue reading

Posted in PowerShell, PowerShell v2.0, WMI | Tagged , , , , | Comments Off