Archive of category "WMI"
Last week I was interviewed on the Mind of Root podcast about what administrators can do to promote PowerShell and automation in their environments. The show is now available for streaming or download. I still think your best approach is to gently let everyone know that it’s not a matter of if you will use [...]
Jan
Promoting PowerShell
This question comes up quite often: “How can I encourage adoption of Windows PowerShell in my organization?” I periodically poll people about their adoption plans and what sort of things are standing in the way. Most of the obstacles in my opinion can be cleared with experience, exposure and education. On Twitter today, @ChuckBoyceJr was [...]
Dec
Think Objectively
A challenge many new comers to PowerShell face, especially those arriving with a VBScript background, and one that I often talk about, is shifting gears from working with text to working with objects. Here’s a good example.
Nov
Get Disk Quota
During a recent class I was teaching, a student asked about a way to get disk quota reports from Windows file servers. I knew there was a WMI class, Win32_DiskQuota, and had some old VBScript files. However, they were pretty basic and not as robust as I would have liked. So I worked up PowerShell [...]
In thinking about some of my recent posts, I realize I should make clear that these scripts and functions are not necessarily good PowerShell examples. They don’t take advantage of objects and the pipeline. They are single purpose and one-dimensional. Not that there’s anything wrong with that. My recent examples, and the one I have [...]
My August Mr. Roboto column was published online with a broken link to the PowerShell script. This has since been fixed. You can download the Get-WMIInfo.ps1 script from here.
Aug
Friendly WMI Dates
Gee..you think you know something only to find out you don’t. Or maybe this falls into the category of teaching an old dog new tricks.
When I first started using PowerShell several years ago, I learned about how to convert a WMI date to a more user friendly format…

Managing Active Directory with Windows PowerShell: TFM
Windows Powershell 2.0: TFM
WSH and VBScript Core: TFM