Start by initialize a new queue object
To add a new item to the queue use Add-QueueItem
To retreive the next item in queue use Get-NextQueueItem
You can also "peek" at the next item in queue by using Show-NextQueueItem, the difference from Get-NextQueueItem is that the next item in queue is retreived but remains in the queue.
You have two methods of emptying the queue, either by retreiving all items (Get-AllQueueItems) or by discarding all items (Clear-AllQueueItems)
You can show performance metrics by using Measure-Queue