Simple examples of Powershell PSCustomObject
In most of my Powershell scripts I make use of the PSCustomObject to store results. The example I first learned (and use all the time) looks just like this: $item = “” | Select Name, RAM, CPU $item.Name = “blah” $item.Ram = 4096 $item.Cpu = 1 $item In the above…