Tag Archives: new-object

Objects are the answer

As I usually do, I was helping out in the forums at ScriptingAnswers.com. A member had several variables that he wanted to show as a group. As is almost always the case, the answer in PowerShell is object. I talk … Continue reading

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

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

Join Object

Related to some of the WMI stuff I’ve been working on lately is the idea of melding or joining objects. This comes about because I often see forum posts from administrators looking to collect information from different WMI classes but … Continue reading

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