If you ever need to work with all of the properties in some object, you can use GetType and GetProperties to retrieve the object's PropertyInfo objects. After that you can do what you want. Here's an ...
One of the big advantages of using PowerShell as a scripting language is its use of objects. Since everything is an object in PowerShell, we can take advantage of structured data by calling properties ...
I'd like to pass to a method an object, and a REFERENCE (handle?) to one of its properties, so it can refer to the value and operate on it. (For specific reasons, I CANNOT pass the actual value; it ...
PowerShell 3 deploys a new type adapter that will have you seeing hash table output in the order you want them to appear. In PowerShell 2, a common technique for creating a custom object is to create ...