PSControl PSControl PSControl Class


Defines a control for the formatting types defined by PowerShell

public abstract class PSControl
type PSControl = class
Public MustInherit Class PSControl


PSControl() PSControl() PSControl()


GroupBy GroupBy GroupBy

Each control can group items and specify a header for the group. You can group by same property value, or result of evaluating a script block.

OutOfBand OutOfBand OutOfBand

When the "shape" of formatting has been determined by previous objects, sometimes you want objects of different types to continue using that shape (table, list, or whatever) even if they specify their own views, and sometimes you want your view to take over. When OutOfBand is true, the view will apply regardless of previous objects that may have selected the shape.

Applies to