About Me

I am certified Microsoft professional, a Microsoft MVP and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Windows server technologies. I work today as an independent author, trainer and consultant. I've co-authored or authored several books, courseware, and training videos on administrative scripting and automation. My latest book is Managing Active Directory with Windows PowerShel: TFM 2nd Ed.(SAPIEN Press 2011).
-
Please consider a donation if I've been of any help or assistance. Thank you.
Blog Sponsors
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 Administrators, functions, Get-WMIObject, Invoke-Command, Jobs, PowerShell, Scripting, WMI
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 functions, Get-WMIObject, Invoke-Expression, PowerShell, PSCredential, WMI
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 functions, Get-WMIObject, NetworkAdapter, PowerShell, Scripting, WMI
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 ConvertTo-HTML, eventlog, Get-WinEvent, Get-WMIObject, HTML, PowerShell, WMI
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 functions, Get-WMIObject, new-object, outvariable, PowerShell, Win32_process, WMI
3 Comments



