Tag Archives: Get-WMIObject

Get Local Administrators with WMI and PowerShell

Earlier this week I was helping someone out on a problem working with the local administrators group. There are a variety of ways to enumerate the members of a local group. The code he was using involved WMI. I hadn’t … Continue reading

Posted in PowerShell v2.0, Scripting, WMI | Tagged , , , , , , , | 12 Comments

Get WMI Namespace

PowerShell and WMI just seem to go together like peanut butter and jelly, beer and pretzels, or salt and pepper. However, discovering things about WMI isn’t always so easy. There are plenty of tools and scripts that will help you … Continue reading

Posted in WMI | Tagged , , , , , | Comments Off

Get IP Data

I was doodling in PowerShell this morning and ended up with what I hope is a useful function to retrieve IP configuration information, sort of like IPCONFIG, but using WMI. The beauty is that I can connect to remote machines … Continue reading

Posted in PowerShell, Scripting, WMI | Tagged , , , , , | 10 Comments

New Event Report Revised

Last year I posted an update to an old Mr. Roboto script that was an update to an even older VBScript. Still with me? My last revision leveraged the new Get-WinEvent cmdlet to create an HTML report of recent error … Continue reading

Posted in Mr. Roboto, PowerShell v2.0, Windows 7, WMI | Tagged , , , , , , | 1 Comment

Get Parent Process

Recently I helping out on a post in the forums at ScriptingAnswers.com. The question centered around identifying processes on a computer and their parent process. There are many ways you could slice and dice this problem using WMI and Get-WmiObject. … Continue reading

Posted in PowerShell v2.0, Scripting, WMI | Tagged , , , , , , | 3 Comments