PowerShell modules allow you to combine multiple scripts to simplify code management. Learn step-by-step instructions for creating and using these modules.
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 ...
pscustomobject is the preferred route - it orders things, and is way faster. You can also set custom types. Only downside is that you need PowerShell v3 or later... but realistically, you should be on ...