Quantity Parameters

The following table lists the recommended names and functionality for quantity parameters.

Parameter Functionality
All
Data type: Boolean
Implement this parameter so that true indicates that all resources should be acted upon instead of a default subset of resources. Implement this parameter so that false indicates a subset of the resources.
Allocation
Data type: Int32
Implement this parameter so that the user can specify the number of items to allocate.
BlockCount
Data type: Int64
Implement this parameter so that the user can specify the block count.
Count
Data type: Int64
Implement this parameter so that the user can specify the count.
Scope
Data type: Keyword
Implement this parameter so that the user can specify the scope to operate on.

See Also

Cmdlet Parameters

Writing a Windows PowerShell Cmdlet

Windows PowerShell SDK