Main | Contact | Blog | Documentation

PowerShell Framework

The project dedicated to empowering your PowerShell scripting.

Utility

Back to PSFramework

Synopsis

Utility is the catch-all category for individual commands that do not fit into any more specific category or would be a category ontu themselves.

Commands

Select-PSFObject

Select-PSFObject completely replaces Select-Object, offering all of its functionality, but offering greater input comfort and more readable code by avoiding hashtables for simple operations. It also adds the ability to extend an object, rather than building a new object, fully replacing Add-Member.

ConvertFrom-PSFArray

ConvertFrom-PSFArray converts properties on objects that are collections into a single string. This helps with exporting as flat data, e.g. when exporting as csv.

Argument Transformation Attributes

Sometimes we need to convert the input we receive into the format we want. Parameter Classes are a way to go about that, but they require quite a bit of effort to implement, if the ones provided by the PSFramework are not enough.

This is where Argument Transformation Attributes can shine:

Notes

Back to PSFramework

Version 1.1
Written on: 2018-10-23
Updated on: 2019-11-07