News

PowerShell, like other programming languages, has different object types. These types are a way to define a kind of schema for how each object behaves. A few common types you may have heard of are ...
I use Powershell's "custom-object" command to create custom objects with properties I want to save. But custom-object applies only to one variable. Is it possible to create a custom class, like in ...
Powershell. Using Add-member on elements in an array I’m making a new Powershell inventory script. I already have one, but I’m fiddling with the arrays to see if I can make the code a little ...
In the second part of this series, Brien shows how to import a .CSV file into a PowerShell array, including two methods for zooming in on just the specific data you need and filtering out the rest.
An ArrayList behaves nearly identical to the typical PowerShell array but is not a fixed size. For example, to create our color picker array as an ArrayList, we just need to cast the array to a System ...
Posey's Tips & Tricks How To Use .CSV Files with PowerShell, Part 2 In the second part of this series, Brien shows how to import a .CSV file into a PowerShell array, including two methods for ...