PSListModifier<T> Class

Definition

A generic version of PSListModifier that exists for the sole purpose of making cmdlets that accept a PSListModifier more usable. Users that look at the syntax of the command will see something like PSListModifier[Mailbox] and know they need to pass in Mailboxes.

public class PSListModifier<T> : System.Management.Automation.PSListModifier
Type Parameters
T

The list element type

Inheritance
PSListModifier<T>

Inherited Members

System.Management.Automation.PSListModifier

Constructors

PSListModifier<T>()

Create a new PSListModifier with empty lists for Add/Remove.

PSListModifier<T>(Hashtable)

Create a new PSListModifier with the specified add and remove lists (in the hash.)

PSListModifier<T>(Object)

Create a new PSListModifier to replace a given list with replaceItems.

PSListModifier<T>(Collection<Object>, Collection<Object>)

Create a new PSListModifier with the specified add and remove lists.