Skip to main content

Initialize-Queue

SYNOPSIS

SYNTAX

Initialize-Queue [<CommonParameters>]

DESCRIPTION

This cmdlet initializes a new queue object.

The returned object is a wrapper class for the System.Collection.Queue class. This class (ExtendedQueue) provides additional functionality compared to the standard Queue class. The Queue object is stored as a property of the returned object called "Queue". The object returned also contains properties containing counts of added items, removed items, additions per sec, removes per sec and velocity (delta between add & remove per sec.). The module cmdlet Measure-Queue returns these metrics.

EXAMPLES

EXAMPLE 1

$Queue = Initialize-Queue
This example will create a new instance of the queue object

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

EDIT THIS DOC

This page was auto-generated from the powershell command comment based help. To edit the content of this page, update the script file comment based help on github Github